/[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 1434 - (hide annotations) (download) (as text)
Tue May 3 16:28:56 2011 UTC (13 years ago) by torben
File MIME type: text/xml
File size: 1782 byte(s)
Add detailed DepartureView
1 torben 491 <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 torben 1434 android:orientation="vertical"
7 torben 237 xmlns:android="http://schemas.android.com/apk/res/android">
8 torben 1434
9     <LinearLayout android:id="@+id/departureRow1"
10     android:layout_width="fill_parent"
11     android:layout_height="wrap_content"
12     >
13    
14 torben 244
15 torben 1434 <ImageView
16     android:id="@+id/TypeIcon"
17     android:layout_width="18dp"
18     android:layout_height="18dp"
19     android:scaleType="fitXY"
20     android:layout_gravity="center_vertical"
21     android:gravity="center_vertical"
22     />
23    
24    
25     <ImageView
26     android:id="@+id/InfoIcon"
27     android:layout_width="24dp"
28     android:layout_height="wrap_content"
29    
30     android:paddingRight="2px"
31     android:paddingLeft="2px"
32     android:layout_gravity="center_vertical"
33     android:gravity="center_vertical"
34     />
35 torben 250
36 torben 1434 <TextView
37     android:id="@+id/Time"
38     android:layout_width="70dp"
39     android:layout_height="wrap_content"
40     android:textSize="20sp"
41     />
42     <TextView
43     android:id="@+id/Destination"
44     android:layout_width="fill_parent"
45     android:layout_height="wrap_content"
46     android:textSize="20sp"
47     />
48     </LinearLayout> <!-- end of first row -->
49 torben 237
50 torben 1434 <LinearLayout android:id="@+id/departureRow2"
51     android:layout_width="fill_parent"
52     android:layout_height="wrap_content"
53     android:visibility="gone"
54     >
55     <TextView
56     android:id="@+id/TrainNumber"
57     android:layout_width="112dp"
58     android:layout_height="wrap_content"
59     android:textSize="20sp"
60     />
61     <TextView
62     android:id="@+id/Origin"
63     android:layout_width="fill_parent"
64     android:layout_height="wrap_content"
65     android:textSize="20sp"
66     />
67     </LinearLayout> <!-- end of second row -->
68 torben 244
69 torben 237 </LinearLayout>

  ViewVC Help
Powered by ViewVC 1.1.20