<?xml version="1.0" encoding="utf-8"?> <layout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/cl_home_listview_bg" android:orientation="vertical"> <RelativeLayout style="@style/title"> <TextView android:id="@+id/title_left" style="@style/title_left" android:text="@string/login_out" android:visibility="gone" /> <TextView android:id="@+id/title" style="@style/text_title" android:ellipsize="middle" android:maxEms="9" android:drawableRight="@drawable/icon_arrow_down" android:singleLine="true" android:text="@string/send_order" /> <TextView android:id="@+id/tv_right_title" style="@style/title_right_text" android:text="@string/all_order" android:textColor="#3faafc" android:textSize="@dimen/dp_13.3" /> </RelativeLayout> <com.google.android.material.tabs.TabLayout android:id="@+id/tab" android:layout_width="match_parent" android:layout_height="@dimen/dp_40" android:background="@color/cl_white" android:textSize="15sp" app:tabIndicatorColor="@color/cl_receiving_order_item_data" app:tabMaxWidth="0dp" app:tabSelectedTextColor="@color/cl_receiving_order_item_data" app:tabTextAppearance="@style/TabLayoutTextStyle" app:tabTextColor="@color/cl_tab_line" /> <ImageView style="@style/line" /> <androidx.viewpager.widget.ViewPager android:id="@+id/viewpager" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginTop="@dimen/dp_10" /> </LinearLayout> <ImageView android:id="@+id/create_order" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_alignParentRight="true" android:layout_marginBottom="50dp" android:layout_marginRight="10dp" android:src="@drawable/icon_create_order" /> </RelativeLayout> </layout>