mch_dialog_tip_custom.xml
1.7 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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/parentPanel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/mch_transparent"
>
<LinearLayout
android:id="@+id/bottomPanel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="5dp"
android:paddingTop="5dp"
android:background="@drawable/mch_tip_dialog">
<LinearLayout
android:id="@+id/contentPanel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal" >
<ProgressBar
android:id="@+id/progressBar1"
style="?android:attr/progressBarStyleSmall"
android:layout_width="match_parent"
android:layout_height="32dp"
android:layout_gravity="center"
android:indeterminateDrawable="@drawable/mch_progressbar"
android:padding="5dp" />
<TextView
android:id="@+id/message"
style="?android:attr/textAppearanceMedium"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:padding="5dp"
android:textColor="#ffffff"
android:textSize="15sp" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>