Files
qianyanAndroid/app/src/main/res/layout/fragment_main_recommend2.xml
2026-05-01 03:27:26 +08:00

122 lines
4.7 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white">
<LinearLayout
android:id="@+id/rl_head"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/dp48"
android:orientation="horizontal">
<LinearLayout
android:visibility="gone"
android:id="@+id/ll_select"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:orientation="horizontal">
<TextView
android:textStyle="bold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="筛选"
android:textColor="#ffe472ed"
android:textSize="13sp"
/>
<ImageView
android:layout_marginLeft="5dp"
android:layout_gravity="center_vertical"
android:src="@drawable/ic_main_select_man_and_woman"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
<net.lucode.hackware.magicindicator.MagicIndicator
android:layout_marginLeft="6dp"
android:id="@+id/magic_indicator"
android:layout_width="1000dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:layout_gravity="center_vertical" />
<RelativeLayout
android:id="@+id/rl_home_change"
android:layout_width="@dimen/dp32"
android:layout_height="match_parent">
<ImageView
android:layout_centerInParent="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_home_change" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/rl_home_search"
android:layout_width="@dimen/dp32"
android:layout_height="match_parent">
<ImageView
android:layout_centerInParent="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_home_search" />
</RelativeLayout>
</LinearLayout>
<RelativeLayout
android:visibility="gone"
android:id="@+id/rl_wurao"
android:layout_width="match_parent"
android:layout_height="@dimen/dp40"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:background="@drawable/shape_wurao_bg">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="6dp"
android:drawableStart="@mipmap/ic_wurao_tip"
android:drawablePadding="4dp"
android:gravity="center_vertical"
android:text="您当前没有关闭勿扰模式无法1v1视频"
android:textColor="@color/one_text"
android:textSize="12sp" />
<TextView
android:id="@+id/tv_set_wurao"
android:layout_width="60dp"
android:layout_height="24dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="6dp"
android:background="@drawable/shape_button_enable"
android:gravity="center"
android:text="去设置"
android:textColor="@color/white"
android:textSize="14sp" />
</RelativeLayout>
</LinearLayout>
<androidx.viewpager.widget.ViewPager
android:id="@+id/main_view_pager"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/rl_head" />
</RelativeLayout>