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 |
android:orientation="vertical" |
7 |
xmlns:android="http://schemas.android.com/apk/res/android"> |
8 |
|
9 |
<LinearLayout android:id="@+id/departureRow1" |
10 |
android:layout_width="fill_parent" |
11 |
android:layout_height="wrap_content" |
12 |
> |
13 |
|
14 |
|
15 |
<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 |
|
36 |
<TextView |
37 |
android:id="@+id/Time" |
38 |
android:layout_width="70dp" |
39 |
android:layout_height="wrap_content" |
40 |
android:textSize="20sp" |
41 |
android:layout_gravity="center_vertical" |
42 |
/> |
43 |
<TextView |
44 |
android:id="@+id/Destination" |
45 |
android:layout_width="0dp" |
46 |
android:layout_height="wrap_content" |
47 |
android:textSize="20sp" |
48 |
android:layout_weight="1" |
49 |
/> |
50 |
<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 |
</LinearLayout> <!-- end of first row --> |
63 |
|
64 |
<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 |
android:textSize="16sp" |
74 |
android:layout_gravity="center_vertical" |
75 |
/> |
76 |
<TextView |
77 |
android:id="@+id/Origin" |
78 |
android:layout_width="fill_parent" |
79 |
android:layout_height="wrap_content" |
80 |
android:textSize="16sp" |
81 |
/> |
82 |
</LinearLayout> <!-- end of second row --> |
83 |
|
84 |
</LinearLayout> |