Add Activity Settings
[0xbench:0xbench.git] / res / layout / settings.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3   Authored By Julian Chu <walkingice@0xlab.org>
4
5   Copyright (C) 2011 0xlab - http://0xlab.org/
6
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10
11       http://www.apache.org/licenses/LICENSE-2.0
12
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18 -->
19
20 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
21     android:layout_width="match_parent"
22     android:layout_height="match_parent"
23     >
24     <LinearLayout
25         android:orientation="vertical"
26         android:layout_width="match_parent"
27         android:layout_height="match_parent"
28         android:padding="5dp">
29         <TextView
30             android:layout_width="match_parent"
31             android:layout_height="wrap_content"
32             android:text="@string/settings_path_hint"
33             />
34         <TextView android:id="@+id/path_selection"
35             android:layout_width="match_parent"
36             android:layout_height="wrap_content"
37             />
38         <RelativeLayout android:id="@+id/result_path_pane"
39             android:layout_width="match_parent"
40             android:layout_height="wrap_content">
41             <RadioGroup android:id="@+id/radio_group_path"
42                 android:layout_width="match_parent"
43                 android:layout_height="wrap_content"
44                 android:orientation="vertical">
45                 <RadioButton android:id="@+id/radio_sdcard"
46                     android:layout_width="match_parent"
47                     android:layout_height="wrap_content"
48                     />
49                 <RadioButton android:id="@+id/radio_custom"
50                     android:text="@string/settings_custom_path"
51                     android:layout_width="match_parent"
52                     android:layout_height="wrap_content"
53                     />
54             </RadioGroup>
55             <Button android:id="@+id/edit_dir"
56                 android:layout_alignParentRight="true"
57                 android:layout_alignBottom="@id/radio_group_path"
58                 android:layout_width="wrap_content"
59                 android:layout_height="wrap_content"
60                 android:text="@string/settings_edit_path"
61                 />
62         </RelativeLayout>
63     </LinearLayout>
64 </ScrollView>
65
66