/[projects]/android/TrainInfo/res/layout/departurerow.xml
ViewVC logotype

Contents of /android/TrainInfo/res/layout/departurerow.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 250 - (show annotations) (download) (as text)
Mon Aug 10 10:46:07 2009 UTC (14 years, 9 months ago) by torben
File MIME type: text/xml
File size: 1054 byte(s)
Add a icon to the departures to show the train type
1 <LinearLayout android:id="@+id/LinearLayout01"
2 android:layout_width="fill_parent"
3 android:layout_height="wrap_content"
4 android:paddingBottom="4px"
5 android:paddingTop="4px"
6 xmlns:android="http://schemas.android.com/apk/res/android">
7
8 <ImageView
9 android:id="@+id/TypeIcon"
10 android:layout_width="18px"
11 android:layout_height="18px"
12 android:background="#ffffffff"
13 android:scaleType="fitXY"
14 android:layout_gravity="center_vertical"
15 android:gravity="center_vertical"
16
17 />
18
19
20 <ImageView
21 android:id="@+id/InfoIcon"
22 android:layout_width="24px"
23 android:layout_height="wrap_content"
24
25 android:paddingRight="2px"
26 android:paddingLeft="2px"
27 android:layout_gravity="center_vertical"
28 android:gravity="center_vertical"
29 />
30
31 <TextView
32 android:id="@+id/Time"
33 android:layout_width="70px"
34 android:layout_height="wrap_content"
35 android:textSize="20sp"
36 />
37 <TextView
38 android:id="@+id/Destination"
39 android:layout_width="fill_parent"
40 android:layout_height="wrap_content"
41 android:textSize="20sp"
42 />
43
44 </LinearLayout>

  ViewVC Help
Powered by ViewVC 1.1.20