新增守护测试页面
This commit is contained in:
30
live/src/main/res/layout/dialog_live_buy_guard.xml
Normal file
30
live/src/main/res/layout/dialog_live_buy_guard.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout 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"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="509dp">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/bg"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@mipmap/dialog_live_buy_guard_bg"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recycler_view"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="170dp"
|
||||
android:layout_marginTop="70dp"
|
||||
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:itemCount="3"
|
||||
tools:listitem="@layout/view_vp_live_buy_guard" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
15
live/src/main/res/layout/view_vp_live_buy_guard.xml
Normal file
15
live/src/main/res/layout/view_vp_live_buy_guard.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="330dp"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/bg"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="160dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:src="@mipmap/bg_star_guard" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
BIN
live/src/main/res/mipmap-xhdpi/bg_star_guard.png
Normal file
BIN
live/src/main/res/mipmap-xhdpi/bg_star_guard.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 396 KiB |
BIN
live/src/main/res/mipmap-xxxhdpi/dialog_live_buy_guard_bg.png
Normal file
BIN
live/src/main/res/mipmap-xxxhdpi/dialog_live_buy_guard_bg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 107 KiB |
Reference in New Issue
Block a user