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

Annotation of /android/TrainInfo/res/layout/welcome.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 483 - (hide annotations) (download) (as text)
Thu Oct 29 10:49:14 2009 UTC (14 years, 7 months ago) by torben
File MIME type: text/xml
File size: 2273 byte(s)
AboutBox, fixed title, and show a seperate icon if a train is cancelled
1 torben 481 <?xml version="1.0" encoding="utf-8"?>
2     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     xmlns:admobsdk="http://schemas.android.com/apk/res/dk.thoerup.traininfo"
4    
5     android:orientation="vertical"
6     android:layout_width="fill_parent"
7     android:layout_height="fill_parent"
8     android:padding="5dp"
9     >
10 torben 482 <LinearLayout
11     android:orientation="horizontal"
12     android:layout_width="fill_parent"
13     android:layout_height="wrap_content"
14     android:padding="5dp"
15     >
16     <ImageView
17     android:layout_width="wrap_content"
18     android:layout_height="wrap_content"
19     android:src="@drawable/train"
20     android:paddingBottom="2px"
21     android:paddingRight="20px"
22     />
23     <TextView
24     android:layout_width="wrap_content"
25     android:layout_height="wrap_content"
26 torben 483 android:text="@string/app_name"
27 torben 482 android:textSize="22sp"
28     android:textStyle="bold"
29     android:paddingTop="6px"
30     />
31     </LinearLayout>
32 torben 481
33     <Button android:id="@+id/nearest"
34     android:layout_width="fill_parent"
35     android:layout_height="wrap_content"
36     android:text="Find nearest stations" />
37    
38     <Button android:id="@+id/search"
39     android:layout_width="fill_parent"
40     android:layout_height="wrap_content"
41     android:text="Search stations" />
42    
43     <Button android:id="@+id/favorites"
44     android:layout_width="fill_parent"
45     android:layout_height="wrap_content"
46     android:text="Favorite stations" />
47    
48     <Button android:id="@+id/about"
49     android:layout_width="fill_parent"
50     android:layout_height="wrap_content"
51     android:text="About" />
52    
53     <View android:layout_width="fill_parent"
54     android:layout_height="wrap_content"
55     android:layout_weight="1"
56     />
57    
58    
59     <com.admob.android.ads.AdView
60     android:layout_width="fill_parent"
61     android:layout_height="wrap_content"
62     admobsdk:backgroundColor="#000000"
63     admobsdk:textColor="#FFFFFF"
64     admobsdk:keywords="Android application,train stations, denmark, s-tog, tog, denmark"
65     admobsdk:isGoneWithoutAd="false"
66     admobsdk:testing="true"
67     />
68    
69     </LinearLayout>

  ViewVC Help
Powered by ViewVC 1.1.20