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

46 lines
1.6 KiB
XML
Raw Normal View History

2022-10-27 10:05:32 +08:00
<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
app:cardCornerRadius="12dp"
app:cardElevation="16dp">
<LinearLayout
2022-10-27 10:19:50 +08:00
android:id="@+id/bg_layout"
2022-10-27 10:05:32 +08:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
2022-10-27 10:19:50 +08:00
2022-10-27 10:05:32 +08:00
<com.google.android.material.tabs.TabLayout
android:id="@+id/tabLayout"
android:layout_width="match_parent"
android:layout_height="40dp"
2022-10-28 11:14:02 +08:00
app:tabGravity="center"
2022-10-27 10:19:50 +08:00
android:layout_marginBottom="10dp"
2022-10-27 10:05:32 +08:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2022-10-27 10:19:50 +08:00
app:layout_constraintTop_toTopOf="parent"
app:tabIndicatorFullWidth="false"
2022-10-28 11:14:02 +08:00
app:tabIndicator="@drawable/shape_tab_indicator"
2022-10-27 10:19:50 +08:00
app:tabMaxWidth="100dp"
app:tabMode="scrollable">
2022-10-27 10:05:32 +08:00
</com.google.android.material.tabs.TabLayout>
<WebView
android:id="@+id/rlWebview"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tabLayout" />
</LinearLayout>
</androidx.cardview.widget.CardView>