riku
2020-08-21 0328eab9276e57487eb2cfff31a945a01dd8c73a
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
41
42
43
44
45
46
47
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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="match_parent"
    tools:context="cn.flightfeather.thirdapp.activity.UploadMediaFilesActivity">
    <TextView
       android:layout_alignParentBottom="true"
        android:id="@+id/tv_upload"
        android:gravity="center"
        android:background="@color/lightGreen"
        android:layout_width="match_parent"
        android:layout_height="50dp"
        android:textColor="@color/white"
        android:text="上传"/>
    <android.support.v7.widget.RecyclerView
        android:layout_above="@id/tv_upload"
        android:id="@+id/rv_main"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        ></android.support.v7.widget.RecyclerView>
    <android.support.v7.widget.CardView
        android:id="@+id/cv_wait"
        android:layout_width="70dp"
        android:layout_height="70dp"
        app:cardCornerRadius="4dp"
        android:layout_centerInParent="true">
        <LinearLayout
            android:padding="6dp"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:gravity="center"
            android:orientation="vertical">
            <ProgressBar
                android:layout_width="match_parent"
                android:layout_weight="1"
                android:layout_height="0dp" />
            <TextView
                android:id="@+id/tv_wait_text"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="压缩中"/>
        </LinearLayout>
    </android.support.v7.widget.CardView>
 
</RelativeLayout>