1 |
<?xml version="1.0" encoding="utf-8"?> |
2 |
<LinearLayout |
3 |
xmlns:android="http://schemas.android.com/apk/res/android" |
4 |
android:id="@+id/widget" |
5 |
android:layout_width="fill_parent" |
6 |
android:layout_height="fill_parent" |
7 |
android:background="@drawable/widgetframe" |
8 |
android:padding="18px" |
9 |
android:orientation="vertical"> |
10 |
|
11 |
|
12 |
<TextView android:id="@+id/widgetlabel" |
13 |
android:layout_width="wrap_content" |
14 |
android:layout_height="wrap_content" |
15 |
android:text="@string/app_name" |
16 |
android:textSize="16sp" |
17 |
android:layout_gravity="center_horizontal"/> |
18 |
|
19 |
<!-- seperator --> |
20 |
<TextView |
21 |
android:layout_width="fill_parent" |
22 |
android:layout_height="1dp" |
23 |
android:background="#bbbbbb" |
24 |
/> |
25 |
<TextView |
26 |
android:id="@+id/widgetstation" |
27 |
android:layout_width="wrap_content" |
28 |
android:layout_height="wrap_content" |
29 |
android:text="StationName" |
30 |
android:textSize="20sp" |
31 |
android:layout_gravity="center_horizontal" |
32 |
/> |
33 |
|
34 |
</LinearLayout> |