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

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

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

revision 558 by torben, Wed Jan 27 11:12:37 2010 UTC revision 559 by torben, Wed Jan 27 12:39:56 2010 UTC
# Line 2  Line 2 
2   <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"   <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3       android:layout_width="fill_parent"       android:layout_width="fill_parent"
4       android:layout_height="wrap_content"       android:layout_height="wrap_content"
5       android:orientation="vertical">       android:orientation="horizontal">
6    
7          <LinearLayout          <LinearLayout
8              android:layout_width="fill_parent"              android:layout_width="wrap_content"
9          android:layout_height="wrap_content"          android:layout_height="wrap_content"
10          android:orientation="horizontal">          android:orientation="vertical"
11                     android:layout_weight="1"
12            >
13                  <TextView android:id="@+id/stationName"                  <TextView android:id="@+id/stationName"
14                   android:textSize="20sp"                   android:textSize="20sp"
15                   android:textStyle="bold"                   android:textStyle="bold"
# Line 16  Line 17 
17                   android:layout_height="wrap_content"                   android:layout_height="wrap_content"
18                   android:text="Name"                   android:text="Name"
19                           android:layout_marginRight="10dp"                           android:layout_marginRight="10dp"
                          android:layout_weight="1"  
20                   />                   />
21                              <TextView android:id="@+id/stationDistance"
22                  <ImageView                   android:textSize="16sp"
23                          android:id="@+id/isregional"                   android:layout_width="fill_parent"
24                          android:layout_width="wrap_content"                   android:layout_height="wrap_content"
25                          android:layout_height="wrap_content"                   android:text="Distance"/>      
                         android:src="@drawable/station_reg"  
                         android:layout_marginRight="4px"  
                         android:layout_gravity="center"  
                         />  
                 <ImageView  
                         android:id="@+id/isstrain"  
                         android:layout_width="wrap_content"  
                         android:layout_height="wrap_content"  
                         android:src="@drawable/station_strain"  
                         android:layout_marginRight="4px"  
                         android:layout_gravity="center"/>  
                 <ImageView  
                         android:id="@+id/ismetro"  
                         android:layout_width="wrap_content"  
                         android:layout_height="wrap_content"  
                         android:src="@drawable/station_metro"  
                         android:layout_marginRight="2px"  
                         android:layout_gravity="center"/>                        
26                                    
27          </LinearLayout>          </LinearLayout>
28                    
29          <TextView android:id="@+id/stationDistance"          <ImageView
30           android:textSize="16sp"                  android:id="@+id/isregional"
31           android:layout_width="fill_parent"                  android:layout_width="wrap_content"
32           android:layout_height="wrap_content" android:text="Distance"/>                  android:layout_height="wrap_content"
33                    android:src="@drawable/station_reg"
34                    android:layout_marginRight="4px"
35                    android:layout_gravity="center"
36                    />
37            <ImageView
38                    android:id="@+id/isstrain"
39                    android:layout_width="wrap_content"
40                    android:layout_height="wrap_content"
41                    android:src="@drawable/station_strain"
42                    android:layout_marginRight="4px"
43                    android:layout_gravity="center"/>
44            <ImageView
45                    android:id="@+id/ismetro"
46                    android:layout_width="wrap_content"
47                    android:layout_height="wrap_content"
48                    android:src="@drawable/station_metro"
49                    android:layout_marginRight="2px"
50                    android:layout_gravity="center"/>                      
51                              
52   </LinearLayout>   </LinearLayout>
53    

Legend:
Removed from v.558  
changed lines
  Added in v.559

  ViewVC Help
Powered by ViewVC 1.1.20