/[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 1835 - (hide annotations) (download) (as text)
Tue Aug 21 19:48:03 2012 UTC (11 years, 9 months ago) by torben
File MIME type: text/xml
File size: 2105 byte(s)
Added platform to departure view
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 torben 1435 android:layout_gravity="center_vertical"
42 torben 1434 />
43     <TextView
44     android:id="@+id/Destination"
45 torben 1835 android:layout_width="0dp"
46 torben 1434 android:layout_height="wrap_content"
47     android:textSize="20sp"
48 torben 1835 android:layout_weight="1"
49 torben 1434 />
50 torben 1835 <TextView
51     android:id="@+id/Platform"
52     android:layout_width="24dp"
53     android:layout_height="wrap_content"
54    
55     android:paddingRight="2dp"
56     android:paddingLeft="2dp"
57     android:textSize="20sp"
58    
59    
60     />
61    
62 torben 1434 </LinearLayout> <!-- end of first row -->
63 torben 237
64 torben 1434 <LinearLayout android:id="@+id/departureRow2"
65     android:layout_width="fill_parent"
66     android:layout_height="wrap_content"
67     android:visibility="gone"
68     >
69     <TextView
70     android:id="@+id/TrainNumber"
71     android:layout_width="112dp"
72     android:layout_height="wrap_content"
73 torben 1440 android:textSize="16sp"
74 torben 1436 android:layout_gravity="center_vertical"
75 torben 1434 />
76     <TextView
77     android:id="@+id/Origin"
78     android:layout_width="fill_parent"
79     android:layout_height="wrap_content"
80 torben 1440 android:textSize="16sp"
81 torben 1434 />
82     </LinearLayout> <!-- end of second row -->
83 torben 244
84 torben 237 </LinearLayout>

  ViewVC Help
Powered by ViewVC 1.1.20