hh_av_upload_photo_layout.xml
2.27 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/cover"
android:scaleType="centerCrop"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:contentDescription="@string/hh_sdk_image_name" />
<TextView
android:id="@+id/count"
android:paddingBottom="1dp"
android:paddingTop="1dp"
android:paddingStart="@dimen/normal_margin"
android:paddingEnd="@dimen/normal_margin"
android:background="@color/hp_sdk_alpha_black"
android:layout_alignParentEnd="true"
android:textColor="@android:color/white"
android:textSize="10.0sp"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<ProgressBar
android:max="100"
android:id="@+id/progress"
android:layout_margin="@dimen/normal_margin"
android:layout_centerVertical="true"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="4dp" />
<RelativeLayout
android:visibility="gone"
android:id="@+id/error_tips_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:src="@drawable/hh_sdk_error_red_icon"
android:layout_centerInParent="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/hh_sdk_image_name" />
<TextView
android:paddingBottom="1dp"
android:paddingTop="1dp"
android:background="@color/hp_sdk_alpha_black"
android:textColor="@android:color/white"
android:textSize="9.0sp"
android:gravity="center_horizontal"
android:text="@string/hh_video_upload_error"
android:layout_alignParentBottom="true"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</RelativeLayout>
</RelativeLayout>