张钢
2024-09-12 8aa3165449dd2757e016bdc43cfd5d111cd4c7a6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?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">
 
    <data>
 
    </data>
 
    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="#363636">
        <androidx.viewpager2.widget.ViewPager2
            android:id="@+id/view_pager"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            />
 
        <FrameLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom|center_horizontal"
            android:layout_marginBottom="20dp" >
 
            <androidx.appcompat.widget.AppCompatTextView
                android:id="@+id/tv_image_preview_indicator"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:textColor="#FF757575"
                android:textSize="16sp"
                android:visibility="invisible"
                tools:text="1/10"
                tools:visibility="visible" />
 
        </FrameLayout>
 
    </FrameLayout>
</layout>