|
3 | 3 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
4 | 4 | style="@style/BusListItem" |
5 | 5 | android:layout_width="fill_parent" |
6 | | - android:layout_height="fill_parent" |
| 6 | + android:layout_height="50dp" |
7 | 7 | android:orientation="horizontal" > |
8 | 8 |
|
9 | 9 | <TextView android:id="@+id/busNumber" |
10 | | - style="@style/BusListText" |
11 | | - android:gravity="left" |
| 10 | + style="@style/BusListText.Number" |
| 11 | + android:gravity="center" |
12 | 12 | android:singleLine="true" |
13 | 13 | android:layout_width="0dip" |
14 | | - android:layout_height="wrap_content" |
15 | | - android:layout_gravity="center_vertical|left" |
| 14 | + android:layout_height="fill_parent" |
| 15 | + android:layout_gravity="center_vertical" |
16 | 16 | android:ellipsize="none" |
17 | 17 | android:layout_weight="2"/> |
18 | 18 | <TextView android:id="@+id/busDestination" |
19 | | - style="@style/BusListText" |
| 19 | + style="@style/BusListText.Destination" |
20 | 20 | android:singleLine="true" |
21 | 21 | android:ellipsize="marquee" |
22 | 22 | android:marqueeRepeatLimit ="marquee_forever" |
23 | 23 | android:layout_width="0dip" |
24 | | - android:layout_height="wrap_content" |
| 24 | + android:layout_height="fill_parent" |
25 | 25 | android:scrollHorizontally="true" |
26 | 26 | android:gravity="center" |
27 | | - android:layout_gravity="center" |
| 27 | + android:layout_gravity="center_vertical" |
28 | 28 | android:layout_weight="5"/> |
29 | 29 | <TextView android:id="@+id/busArrival" |
30 | | - style="@style/BusListText" |
31 | | - android:gravity="right" |
| 30 | + style="@style/BusListText.Arrival" |
| 31 | + android:gravity="center" |
32 | 32 | android:singleLine="true" |
33 | 33 | android:layout_width="0dip" |
34 | | - android:layout_height="wrap_content" |
35 | | - android:layout_gravity="center_vertical|right" |
| 34 | + android:layout_height="fill_parent" |
| 35 | + android:layout_gravity="center_vertical" |
36 | 36 | android:ellipsize="none" |
37 | 37 | android:layout_weight="2" /> |
38 | 38 |
|
|
0 commit comments