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

Legend:
Removed from v.490  
changed lines
  Added in v.834

  ViewVC Help
Powered by ViewVC 1.1.20