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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 250 - (hide 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 torben 237 <LinearLayout android:id="@+id/LinearLayout01"
2 torben 247 android:layout_width="fill_parent"
3 torben 237 android:layout_height="wrap_content"
4     android:paddingBottom="4px"
5     android:paddingTop="4px"
6     xmlns:android="http://schemas.android.com/apk/res/android">
7 torben 244
8     <ImageView
9 torben 250 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 torben 244 android:layout_height="wrap_content"
24 torben 250
25 torben 244 android:paddingRight="2px"
26 torben 250 android:paddingLeft="2px"
27     android:layout_gravity="center_vertical"
28     android:gravity="center_vertical"
29 torben 244 />
30 torben 237
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 torben 244
44 torben 237 </LinearLayout>

  ViewVC Help
Powered by ViewVC 1.1.20