Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="end"
- android:gravity="end"
- android:layout_marginTop="@dimen/spacing_normal_16">
- <ImageView
- android:id="@+id/main_search_iv"
- android:layout_width="@dimen/spacing_normal_24"
- android:layout_height="@dimen/spacing_normal_24"
- android:layout_gravity="end"
- android:layout_marginEnd="@dimen/spacing_normal_16"
- android:src="@drawable/ic_search_black_24dp" />
- </LinearLayout>
- <com.google.android.material.appbar.AppBarLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@android:color/transparent"
- app:liftOnScroll="true">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/spacing_normal_24">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/spacing_normal_16"
- android:fontFamily="@font/avenir_medium"
- android:text="MixCart"
- android:textColor="@android:color/black"
- android:textSize="@dimen/text_32_sp" />
- </LinearLayout>
- <LinearLayout
- android:id="@+id/main_templates"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/spacing_normal_24"
- android:background="@color/color_field_gray"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/spacing_normal_24"
- android:paddingStart="@dimen/spacing_normal_16"
- android:paddingEnd="@dimen/spacing_normal_16"
- android:orientation="horizontal">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:fontFamily="@font/avenir_demi"
- android:text="@string/templates"
- android:textColor="@android:color/black"
- android:textSize="@dimen/text_24_sp" />
- <TextView
- android:id="@+id/main_more_templates_button"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_weight="1"
- android:fontFamily="@font/avenir_medium"
- android:gravity="end"
- android:text="@string/All"
- android:textColor="@color/textColorGray"
- android:textSize="@dimen/text_18_sp" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/spacing_small_8"
- android:paddingStart="@dimen/spacing_normal_16"
- android:paddingEnd="@dimen/spacing_normal_16"
- android:orientation="vertical">
- <TextView
- android:id="@+id/main_templates_tv"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:fontFamily="@font/avenir_medium"
- android:textSize="@dimen/text_14_sp"
- tools:text="100 шаблонов" />
- <ProgressBar
- android:id="@+id/main_progress_bar_templates"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center" />
- </LinearLayout>
- </com.google.android.material.appbar.AppBarLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingStart="@dimen/spacing_normal_16">
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/main_templates_rv"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/spacing_normal_24"
- android:layout_marginBottom="@dimen/spacing_normal_24"
- android:background="@android:color/transparent"
- android:clipToPadding="false"
- android:visibility="gone"
- tools:listitem="@layout/item_template_vertical" />
- <TextView
- android:id="@+id/main_template_empty_tv"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/spacing_normal_32"
- android:layout_marginBottom="@dimen/spacing_normal_16"
- android:gravity="center"
- android:text="@string/text_template_empty"
- android:textColor="@android:color/darker_gray"
- android:textSize="@dimen/text_14_sp"
- android:visibility="gone" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/spacing_normal_16"
- android:layout_marginEnd="@dimen/spacing_normal_16"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/spacing_normal_24"
- android:orientation="horizontal">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:fontFamily="@font/avenir_demi"
- android:text="@string/myOrders"
- android:textColor="@android:color/black"
- android:textSize="@dimen/text_24_sp" />
- <TextView
- android:id="@+id/main_more_history_button"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_weight="1"
- android:fontFamily="@font/avenir_medium"
- android:gravity="end"
- android:text="@string/All"
- android:textColor="@color/textColorGray"
- android:textSize="@dimen/text_18_sp" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <ProgressBar
- android:id="@+id/main_progress_bar_history"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center" />
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/main_history_list_rv"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/spacing_normal_16"
- android:layout_marginEnd="@dimen/spacing_small_8"
- android:visibility="visible"
- tools:listitem="@layout/item_history" />
- <TextView
- android:id="@+id/main_history_empty_tv"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/spacing_normal_32"
- android:gravity="center"
- android:text="@string/text_history_empty"
- android:textColor="@android:color/darker_gray"
- android:textSize="@dimen/text_14_sp"
- android:visibility="gone" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement