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

Contents of /android/TrainInfo/res/layout/shortcut.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 731 - (show annotations) (download) (as text)
Tue May 18 14:02:13 2010 UTC (14 years ago) by torben
File MIME type: text/xml
File size: 2617 byte(s)
Add support for home/desktop shortcuts

Bump version to 0.7.0 (23)
1 <?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
11
12 <TextView
13 android:layout_width="fill_parent"
14 android:layout_height="wrap_content"
15 android:text="@string/shortcut_select"
16 android:textSize="18sp"/>
17
18 <Button android:id="@+id/nearest"
19 android:layout_width="fill_parent"
20 android:layout_height="wrap_content"
21 android:text="@string/welcome_nearest" />
22
23 <Button android:id="@+id/search"
24 android:layout_width="fill_parent"
25 android:layout_height="wrap_content"
26 android:text="@string/welcome_search" />
27
28 <Button android:id="@+id/favorites"
29 android:layout_width="fill_parent"
30 android:layout_height="wrap_content"
31 android:text="@string/welcome_favorites" />
32
33 <View android:layout_width="fill_parent"
34 android:layout_height="10px"
35 />
36
37 <LinearLayout
38 android:orientation="horizontal"
39 android:layout_width="fill_parent"
40 android:layout_height="wrap_content">
41
42 <TextView
43 android:layout_width="wrap_content"
44 android:layout_height="wrap_content"
45 android:textSize="18sp"
46 android:text="@string/shortcut_selection"
47 android:textColor="#FFF"
48 android:layout_marginRight="2dp"
49 />
50 <TextView
51 android:id="@+id/current_selection"
52 android:layout_width="wrap_content"
53 android:layout_height="wrap_content"
54 android:textSize="18sp"
55 android:text="-"
56 android:textColor="#FFF"
57 />
58 </LinearLayout>
59
60
61 <View android:layout_width="fill_parent"
62 android:layout_height="10px"
63 android:layout_weight="1"
64 />
65
66 <LinearLayout
67 android:orientation="horizontal"
68 android:layout_width="fill_parent"
69 android:layout_height="wrap_content">
70
71 <Button android:id="@+id/shortcut_ok"
72 android:layout_width="wrap_content"
73 android:layout_height="wrap_content"
74 android:layout_weight="1"
75 android:text="Ok"/>
76
77 <Button android:id="@+id/shortcut_cancel"
78 android:layout_width="wrap_content"
79 android:layout_height="wrap_content"
80 android:layout_weight="1"
81 android:text="@string/generic_cancel"
82 />
83
84 </LinearLayout>
85
86 </LinearLayout>

  ViewVC Help
Powered by ViewVC 1.1.20