<?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" xmlns:tools="http://schemas.android.com/tools"> <data> <variable name="presenter" type="com.dayu.order.presenter.homeorder.HomeOrderPresenter" /> </data> <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_white" android:orientation="vertical"> <RelativeLayout style="@style/title"> <TextView style="@style/text_title" android:text="@string/order_title" /> <TextView android:id="@+id/tv_right_title" style="@style/title_right_text" android:onClick="@{()->presenter.dumpToOrderRecordActivity()}" android:text="@string/history_order" android:textColor="#3faafc" android:textSize="@dimen/dp_13.3" android:visibility="gone" /> </RelativeLayout> <TextView android:id="@+id/notice" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="-12dp" android:ellipsize="marquee" android:focusable="true" android:scrollHorizontally="true" android:focusableInTouchMode="true" android:marqueeRepeatLimit="marquee_forever" android:paddingStart="10dp" android:paddingEnd="10dp" android:paddingBottom="5dp" android:singleLine="true" android:textColor="@color/common_red" android:textSize="15dp" tools:text="瑟吉欧房间爱佛家放假哦案件发哦附加按房间啊of瑟吉欧房间爱佛家放假哦案件发哦附加按房间啊of瑟吉欧房间爱佛家放假哦案件发哦附加按房间啊of瑟吉欧房间爱佛家放假哦案件发哦附加按房间啊of" /> <com.google.android.material.tabs.TabLayout android:id="@+id/tb_home" android:layout_width="match_parent" android:layout_height="78dp" app:tabBackground="@drawable/top_tab_selector" app:tabIndicatorColor="@color/cl_tab_line" app:tabIndicatorHeight="0dp" app:tabMaxWidth="0dp" app:tabMode="fixed" /> <ImageView style="@style/card_line" /> <androidx.viewpager.widget.ViewPager android:id="@+id/vp_home" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" /> </LinearLayout> <ImageView android:id="@+id/create_order" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:layout_alignParentBottom="true" android:layout_marginRight="10dp" android:layout_marginBottom="50dp" android:src="@drawable/icon_create_order" android:visibility="gone" /> </RelativeLayout> </layout>