]> gitweb.fperrin.net Git - Dictionary.git/blob - res/layout/dictionary_manager_activity.xml
DictionaryManager can launch dictionaries again.
[Dictionary.git] / res / layout / dictionary_manager_activity.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     xmlns:tools="http://schemas.android.com/tools"
4     android:layout_width="fill_parent"
5     android:layout_height="fill_parent"
6     android:orientation="vertical" >
7
8     <ScrollView
9         android:id="@+id/scrollView"
10         android:layout_width="match_parent"
11         android:layout_height="match_parent" >
12
13         <LinearLayout
14             android:layout_width="match_parent"
15             android:layout_height="wrap_content"
16             android:orientation="vertical" >
17
18             <!-- Dictionaries on device -->
19
20             <LinearLayout
21                 android:id="@+id/onDeviceHeaderLayout"
22                 android:layout_width="match_parent"
23                 android:layout_height="wrap_content"
24                 android:background="@color/gray"
25                 android:orientation="horizontal"
26                 android:padding="10dip" >
27
28                 <TextView
29                     android:id="@+id/onDeviceTextId"
30                     android:layout_width="0dip"
31                     android:layout_height="wrap_content"
32                     android:layout_weight="1"
33                     android:text="@string/dictionariesOnDevice"
34                     android:textAppearance="?android:attr/textAppearanceLarge" />
35             </LinearLayout>
36
37             <LinearLayout
38                 android:id="@+id/dictionariesOnDeviceGoHere"
39                 android:layout_width="match_parent"
40                 android:layout_height="wrap_content"
41                 android:orientation="vertical"
42                 android:paddingBottom="10dip" >
43             </LinearLayout>
44
45             <!-- Downloadable dictionaries -->
46
47             <LinearLayout
48                 android:id="@+id/downloadableHeaderLayout"
49                 android:layout_width="match_parent"
50                 android:layout_height="wrap_content"
51                 android:background="@color/gray"
52                 android:orientation="horizontal"
53                 android:padding="10dip" >
54
55                 <TextView
56                     android:id="@+id/downloadableTextId"
57                     android:layout_width="0dip"
58                     android:layout_height="wrap_content"
59                     android:layout_weight="1"
60                     android:text="@string/downloadableDictionaries"
61                     android:textAppearance="?android:attr/textAppearanceLarge" />
62
63                 <ToggleButton
64                     android:id="@+id/hideDownloadable"
65                     android:layout_width="wrap_content"
66                     android:layout_height="wrap_content"
67                     android:layout_weight="0"
68                     android:textOff="@string/managerShow"
69                     android:textOn="@string/managerHide" />
70             </LinearLayout>
71
72             <LinearLayout
73                 android:id="@+id/downloadableDictionariesGoHere"
74                 android:layout_width="match_parent"
75                 android:layout_height="wrap_content"
76                 android:orientation="vertical" >
77             </LinearLayout>
78         </LinearLayout>
79     </ScrollView>
80
81 </LinearLayout>