/[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 239 by torben, Sun Aug 9 09:09:16 2009 UTC revision 1053 by torben, Tue Sep 14 16:00:57 2010 UTC
# Line 4  Line 4 
4      android:layout_width="fill_parent"      android:layout_width="fill_parent"
5      android:layout_height="fill_parent"      android:layout_height="fill_parent"
6          android:padding="5dp"          android:padding="5dp"
7            android:id="@+id/rootView"
8      >      >
9          <LinearLayout          <LinearLayout
10          android:orientation="vertical"          android:orientation="vertical"
# Line 11  Line 12 
12          android:layout_height="wrap_content"          android:layout_height="wrap_content"
13          android:id="@+id/header"          android:id="@+id/header"
14          android:clickable="true"          android:clickable="true"
15          >              >
16              <TextView android:id="@+id/stationName"          <LinearLayout
17                          android:layout_width="wrap_content"                  android:orientation="horizontal"
18                          android:layout_height="wrap_content"                  android:layout_width="wrap_content"
19                          android:textSize="20sp"                  android:layout_height="wrap_content">    
20                          android:textStyle="bold"                      <TextView android:id="@+id/stationName"
21                          />                                  android:layout_width="wrap_content"
22                                    android:layout_height="wrap_content"
23                                    android:textSize="20sp"
24                                    android:textStyle="bold"/>
25                        <ImageView android:id="@+id/notifIcon"
26                                    android:layout_width="wrap_content"
27                                    android:layout_height="wrap_content"
28                                    android:layout_gravity="center"
29                                    android:layout_marginLeft="2dp"
30                                    android:src="@drawable/info20"
31                                    android:visibility="invisible"
32                                    />
33                    </LinearLayout>                
34              <TextView android:id="@+id/stationAddr"              <TextView android:id="@+id/stationAddr"
35                          android:layout_width="wrap_content"                          android:layout_width="wrap_content"
36                          android:layout_height="wrap_content"                          android:layout_height="wrap_content"
# Line 41  Line 54 
54                 android:layout_width="fill_parent"                 android:layout_width="fill_parent"
55                 android:layout_height="wrap_content"                 android:layout_height="wrap_content"
56                 android:clickable="false"                 android:clickable="false"
57                   android:layout_weight="1"
58                 />                 />
59     <TextView                
60                  android:layout_width="wrap_content"     <LinearLayout android:id="@+id/metroonly"
61                  android:layout_height="wrap_content"                          android:layout_width="fill_parent"
62                  />                          android:layout_height="wrap_content"                    
63                            android:visibility="gone"
64                            android:layout_weight="1"
65                            android:orientation="vertical"
66                            >
67                    <TextView android:id="@+id/operations"
68                            android:layout_width="wrap_content"
69                            android:layout_height="wrap_content"                    
70                            android:paddingBottom="2dp"
71                            />
72    
73                            
74                    <TableLayout
75                            android:id="@+id/metrotable"
76                            android:layout_width="fill_parent"
77                            android:layout_height="wrap_content"
78                            android:layout_weight="1"
79                            android:stretchColumns="0,1,2"                  
80                            >
81                            
82                            
83                            
84                    </TableLayout>
85                            
86    
87                            
88                    <TextView
89                            android:id="@+id/plan"
90                            android:layout_width="wrap_content"
91                            android:layout_height="wrap_content"                    
92                            />
93            </LinearLayout>
94    
95    
96    
97                                    
98            <LinearLayout
99            android:orientation="horizontal"
100            android:layout_width="fill_parent"
101            android:layout_height="wrap_content"
102            >
103            <Button
104                    android:id="@+id/departurebtn"
105                    android:layout_width="0dp"
106                    android:layout_height="wrap_content"
107                    android:layout_weight="1"
108                    android:background="@drawable/custom_button_hilight"
109                            android:text="@string/departurelist_departures"
110                            />
111                    <Button
112                            android:id="@+id/arrivalbtn"
113                    android:layout_width="0dp"
114                    android:layout_height="wrap_content"
115                    android:background="@drawable/custom_button"
116                    android:layout_weight="1"
117                            android:text="@string/departurelist_arrivals"/>
118                    <Button
119                            android:id="@+id/metrobtn"
120                    android:layout_width="0dp"
121                    android:layout_height="wrap_content"
122                    android:background="@drawable/custom_button"
123                    android:layout_weight="1"
124                            android:text="Metro"/>                  
125        </LinearLayout>
126  </LinearLayout>  </LinearLayout>

Legend:
Removed from v.239  
changed lines
  Added in v.1053

  ViewVC Help
Powered by ViewVC 1.1.20