/
widget.xml
55 lines (50 loc) · 1.92 KB
/
widget.xml
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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center" >
<ImageView
android:id="@+id/imgLolo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:contentDescription="@string/contentDescription"
android:paddingBottom="5dip"
android:paddingLeft="10dip"
android:paddingRight="10dip"
android:src="@drawable/_null" />
<TextView
android:id="@+id/txtRSS"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignTop="@id/imgLolo"
android:layout_margin="5dip"
android:gravity="right"
android:shadowColor="#000000"
android:shadowDx="1"
android:shadowDy="1"
android:shadowRadius="1"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="#F00" />
<ProgressBar
android:id="@+id/prgBar"
style="@android:style/Widget.ProgressBar.Small"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_alignBottom="@id/imgLolo"
android:layout_alignTop="@id/imgLolo"
android:layout_centerHorizontal="true"
android:visibility="gone" />
<TextView
android:id="@+id/txtSync"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignBottom="@id/imgLolo"
android:gravity="center_horizontal"
android:shadowColor="#000000"
android:shadowDx="1"
android:shadowDy="1"
android:shadowRadius="1"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="#FFFFFF" />
</RelativeLayout>