102 lines
3.7 KiB
XML
102 lines
3.7 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
orientation="vertical"
|
||
|
background="#f5f3f6"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="match_parent">
|
||
|
<include layout="@layout/2131559376"/>
|
||
|
<RelativeLayout
|
||
|
layout_width="match_parent"
|
||
|
layout_height="match_parent">
|
||
|
<LinearLayout
|
||
|
orientation="vertical"
|
||
|
id="@+id/linear_state_normal"
|
||
|
visibility="visible"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="match_parent"
|
||
|
layout_above="@+id/button_reset">
|
||
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
id="@+id/recycler_view"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="0dp"
|
||
|
layout_weight="1"
|
||
|
paddingStart="-2dp"
|
||
|
paddingEnd="-2dp"/>
|
||
|
<Button
|
||
|
enabled="false"
|
||
|
id="@+id/button_add"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="16dp"
|
||
|
text="@string/customization_add"
|
||
|
layout_marginStart="16dp"
|
||
|
layout_marginEnd="16dp"
|
||
|
style="@style/2132017576"/>
|
||
|
</LinearLayout>
|
||
|
<LinearLayout
|
||
|
gravity="center_horizontal"
|
||
|
orientation="vertical"
|
||
|
id="@+id/linear_state_empty"
|
||
|
visibility="gone"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="match_parent"
|
||
|
layout_above="@+id/button_reset">
|
||
|
<ImageView
|
||
|
layout_width="48dp"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="64dp"
|
||
|
src="@drawable/thumb_empty_state"/>
|
||
|
<TextView
|
||
|
gravity="center"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="32dp"
|
||
|
text="@string/customization_empty_title"
|
||
|
style="@style/2132017880"/>
|
||
|
<TextView
|
||
|
gravity="center"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="16dp"
|
||
|
text="@string/customization_empty_body"
|
||
|
style="@style/2132017548"/>
|
||
|
</LinearLayout>
|
||
|
<LinearLayout
|
||
|
gravity="center_horizontal"
|
||
|
orientation="vertical"
|
||
|
id="@+id/linear_state_error"
|
||
|
visibility="gone"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="match_parent"
|
||
|
layout_above="@+id/button_reset">
|
||
|
<ImageView
|
||
|
layout_width="48dp"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="64dp"
|
||
|
src="@drawable/ic_notice"/>
|
||
|
<TextView
|
||
|
gravity="center"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="32dp"
|
||
|
text="@string/customization_error_title"
|
||
|
style="@style/2132017880"/>
|
||
|
<TextView
|
||
|
gravity="center"
|
||
|
layout_width="wrap_content"
|
||
|
layout_height="wrap_content"
|
||
|
layout_marginTop="16dp"
|
||
|
text="@string/customization_error_body"
|
||
|
style="@style/2132017548"/>
|
||
|
</LinearLayout>
|
||
|
<Button
|
||
|
id="@+id/button_reset"
|
||
|
layout_width="match_parent"
|
||
|
layout_height="wrap_content"
|
||
|
layout_margin="16dp"
|
||
|
text="@string/customization_reset"
|
||
|
layout_alignParentBottom="true"
|
||
|
style="@style/2132017536"/>
|
||
|
</RelativeLayout>
|
||
|
</LinearLayout>
|