Change match_parent to fill_parent in layout to compile with android-4.
[0xbench:0xbench.git] / res / layout / settings.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3   Copyright (C) 2011 0xlab - http://0xlab.org/
4
5   Licensed under the Apache License, Version 2.0 (the "License");
6   you may not use this file except in compliance with the License.
7   You may obtain a copy of the License at
8
9       http://www.apache.org/licenses/LICENSE-2.0
10
11   Unless required by applicable law or agreed to in writing, software
12   distributed under the License is distributed on an "AS IS" BASIS,
13   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   See the License for the specific language governing permissions and
15   limitations under the License.
16
17   Authored by Julian Chu <walkingice@0xlab.org>
18 -->
19
20 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
21     android:layout_width="fill_parent"
22     android:layout_height="fill_parent"
23     >
24     <LinearLayout
25         android:orientation="vertical"
26         android:layout_width="fill_parent"
27         android:layout_height="fill_parent"
28         android:padding="5dp">
29         <TextView
30             android:layout_width="fill_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="fill_parent"
36             android:layout_height="wrap_content"
37             />
38         <RelativeLayout android:id="@+id/result_path_pane"
39             android:layout_width="fill_parent"
40             android:layout_height="wrap_content">
41             <RadioGroup android:id="@+id/radio_group_path"
42                 android:layout_width="fill_parent"
43                 android:layout_height="wrap_content"
44                 android:orientation="vertical">
45                 <RadioButton android:id="@+id/radio_sdcard"
46                     android:layout_width="fill_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="fill_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