<?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"> <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/sale_title" /> </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:focusableInTouchMode="true" android:paddingBottom="5dp" android:scrollHorizontally="true" android:marqueeRepeatLimit="marquee_forever" android:paddingStart="10dp" android:paddingEnd="10dp" android:singleLine="true" tools:text="瑟吉欧房间爱佛家放假哦案件发哦附加按房间啊of瑟吉欧房间爱佛家放假哦案件发哦附加按房间啊of瑟吉欧房间爱佛家放假哦案件发哦附加按房间啊of瑟吉欧房间爱佛家放假哦案件发哦附加按房间啊of" android:textColor="@color/common_red" android:textSize="15dp" /> <com.google.android.material.tabs.TabLayout android:id="@+id/tb_sale" 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_sale" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" /> </LinearLayout> </layout>