pandorapan/live/src/main/res/layout/activity_live_audience.xml

116 lines
4.0 KiB
XML
Raw Normal View History

2022-07-18 15:31:45 +08:00
<?xml version="1.0" encoding="utf-8"?>
2022-08-17 09:29:24 +08:00
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/drawer_layout"
2022-07-18 15:31:45 +08:00
android:layout_width="match_parent"
2022-08-17 09:29:24 +08:00
android:layout_height="match_parent">
2022-07-18 15:31:45 +08:00
<FrameLayout
android:layout_width="match_parent"
2022-08-17 09:29:24 +08:00
android:layout_height="match_parent">
<ImageView
android:id="@+id/live_back"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@mipmap/live_bg" />
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#60000000" />
<FrameLayout
android:id="@+id/play_container"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<com.yunbao.common.custom.MyViewPager
android:id="@+id/viewPager"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:overScrollMode="never" />
<FrameLayout
android:id="@+id/page_container"
android:layout_width="match_parent"
android:layout_height="match_parent" />
2022-07-18 15:31:45 +08:00
2022-08-17 09:29:24 +08:00
<ImageView
android:id="@+id/btn_small_screen"
android:layout_width="35dp"
android:layout_height="35dp"
android:layout_gravity="right"
android:layout_marginTop="30dp"
android:layout_marginRight="20dp"
android:padding="5dp"
android:src="@mipmap/icon_live_close"
android:visibility="gone" />
</FrameLayout>
2022-07-18 15:31:45 +08:00
<FrameLayout
2022-08-17 09:29:24 +08:00
android:id="@+id/left_drawer"
2022-08-18 16:23:49 +08:00
android:layout_width="260dp"
2022-08-17 09:29:24 +08:00
android:layout_height="match_parent"
android:layout_gravity="end"
android:background="@mipmap/live_bg"
android:choiceMode="singleChoice"
android:dividerHeight="0dp"
android:orientation="vertical"
android:scrollbars="none">
<ImageView
android:id="@+id/sidebar_back"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop" />
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
2022-08-19 10:04:50 +08:00
android:background="#90000000" />
2022-08-17 09:29:24 +08:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingStart="8dp"
2022-08-19 10:04:50 +08:00
android:paddingEnd="8dp"
android:paddingTop="56dp"
>
2022-08-17 09:29:24 +08:00
<com.ms.banner.Banner
android:id="@+id/banner"
android:layout_width="match_parent"
2022-08-19 10:04:50 +08:00
android:layout_height="77dp"
2022-08-17 09:29:24 +08:00
android:layout_marginBottom="5dp"
app:delay_time="3000"
app:indicator_drawable_selected="@drawable/bg_home_indicator_selected"
app:indicator_drawable_unselected="@drawable/bg_home_indicator_unselected"
app:indicator_height="8dp"
app:indicator_margin="6dp"
app:indicator_width="8dp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:text="@string/recommended_for_you"
android:textColor="#FFF6F7FB"
android:textSize="14sp" />
2022-07-18 15:31:45 +08:00
2022-08-17 09:29:24 +08:00
<com.yunbao.common.custom.CommonRefreshView
android:id="@+id/sidebarList"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="10dp" />
</LinearLayout>
2022-07-18 15:31:45 +08:00
2022-08-17 09:29:24 +08:00
</FrameLayout>
2022-07-18 15:31:45 +08:00
2022-08-17 09:29:24 +08:00
</androidx.drawerlayout.widget.DrawerLayout>