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

Diff of /android/TrainInfo/res/layout/departurelist.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 237 by torben, Sat Aug 8 19:02:20 2009 UTC revision 982 by torben, Sun Jul 11 14:58:13 2010 UTC
# Line 5  Line 5 
5      android:layout_height="fill_parent"      android:layout_height="fill_parent"
6          android:padding="5dp"          android:padding="5dp"
7      >      >
8                <LinearLayout
9      <TextView android:id="@+id/stationName"          android:orientation="vertical"
10            android:layout_width="wrap_content"
11            android:layout_height="wrap_content"
12            android:id="@+id/header"
13            android:clickable="true"
14            >
15            <LinearLayout
16                    android:orientation="horizontal"
17                  android:layout_width="wrap_content"                  android:layout_width="wrap_content"
18                  android:layout_height="wrap_content"                  android:layout_height="wrap_content">    
19                  android:textSize="20sp"                      <TextView android:id="@+id/stationName"
20                  android:textStyle="bold"                                  android:layout_width="wrap_content"
21                  />                                  android:layout_height="wrap_content"
22      <TextView android:id="@+id/stationAddr"                                  android:textSize="20sp"
23                  android:layout_width="wrap_content"                                  android:textStyle="bold"/>
24                  android:layout_height="wrap_content"                      <ImageView android:id="@+id/notifIcon"
25                  android:textSize="20sp"                                  android:layout_width="wrap_content"
26                  />                                  android:layout_height="wrap_content"
27       <TextView android:id="@+id/stationDistance"                                  android:layout_gravity="center"
28                  android:layout_width="wrap_content"                                  android:layout_marginLeft="2dp"
29                  android:layout_height="wrap_content"                                  android:src="@drawable/info20"
30                  android:textSize="18sp"                                  android:visibility="invisible"
31                  />                                                />
32                    </LinearLayout>                
33                <TextView android:id="@+id/stationAddr"
34                            android:layout_width="wrap_content"
35                            android:layout_height="wrap_content"
36                            android:textSize="20sp"
37                            />
38                 <TextView android:id="@+id/stationDistance"
39                            android:layout_width="wrap_content"
40                            android:layout_height="wrap_content"
41                            android:textSize="18sp"
42                            />      
43            </LinearLayout>
44                                    
45          <View          <View
46                  android:layout_width="fill_parent"                  android:layout_width="fill_parent"
# Line 34  Line 53 
53                 android:layout_width="fill_parent"                 android:layout_width="fill_parent"
54                 android:layout_height="wrap_content"                 android:layout_height="wrap_content"
55                 android:clickable="false"                 android:clickable="false"
56                   android:layout_weight="1"
57                 />                 />
58     <TextView     <TextView android:id="@+id/metroonly"
59                  android:layout_width="wrap_content"                  android:layout_width="wrap_content"
60                  android:layout_height="wrap_content"                  android:layout_height="wrap_content"
61                    android:visibility="gone"
62                    android:text="@string/no_metro"
63                    
64                  />                  />
65                                    
66            <LinearLayout
67            android:orientation="horizontal"
68            android:layout_width="fill_parent"
69            android:layout_height="wrap_content"
70            >
71            <Button
72                    android:id="@+id/departurebtn"
73                    android:layout_width="0dp"
74                    android:layout_height="wrap_content"
75                    android:layout_weight="1"
76                    android:background="@drawable/custom_button_hilight"
77                            android:text="@string/departurelist_departures"
78                            />
79                    <Button
80                            android:id="@+id/arrivalbtn"
81                    android:layout_width="0dp"
82                    android:layout_height="wrap_content"
83                    android:background="@drawable/custom_button"
84                    android:layout_weight="1"
85                            android:text="@string/departurelist_arrivals"/>
86        </LinearLayout>
87  </LinearLayout>  </LinearLayout>

Legend:
Removed from v.237  
changed lines
  Added in v.982

  ViewVC Help
Powered by ViewVC 1.1.20