diff options
Diffstat (limited to 'res/layout/gears_dialog_settings_row.xml')
-rw-r--r-- | res/layout/gears_dialog_settings_row.xml | 127 |
1 files changed, 127 insertions, 0 deletions
diff --git a/res/layout/gears_dialog_settings_row.xml b/res/layout/gears_dialog_settings_row.xml new file mode 100644 index 0000000..11d757a --- /dev/null +++ b/res/layout/gears_dialog_settings_row.xml @@ -0,0 +1,127 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* + * Copyright 2008, The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +--> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:textSize="13dip" + android:background="@color/white" + android:textColor="@color/black"> + + <LinearLayout + android:orientation="horizontal" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:padding="4dip"> + + <TextView + android:id="@+id/origin_name" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="1" + android:textColor="@color/black" + android:textStyle="bold"/> + + <Button + android:id="@+id/origin_remove" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + style="@style/gears_button" + android:text="@string/remove"/> + + </LinearLayout> + + <TableLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:stretchColumns="0" + android:shrinkColumns="0"> + + <TableRow + android:id="@+id/local_storage_choice" + android:visibility="gone"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="fill_parent" + android:textColor="@color/black" + android:gravity="center_vertical" + android:text="@string/local_storage"/> + + <RadioGroup + android:orientation="horizontal" + android:layout_width="wrap_content" + android:layout_height="fill_parent"> + <RadioButton + android:id="@+id/local_storage_allowed" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="@color/black" + android:textSize="13dip" + android:text="@string/allowed"/> + + <RadioButton + android:id="@+id/local_storage_denied" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="@color/black" + android:textSize="13dip" + android:text="@string/denied"/> + </RadioGroup> + + </TableRow> + + <TableRow + android:id="@+id/location_data_choice" + android:visibility="gone"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="fill_parent" + android:textColor="@color/black" + android:layout_gravity="center_vertical" + android:text="@string/location"/> + + <RadioGroup + android:orientation="horizontal" + android:layout_width="wrap_content" + android:layout_height="fill_parent"> + <RadioButton + android:id="@+id/location_data_allowed" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="@color/black" + android:textSize="13dip" + android:text="@string/allowed"/> + + <RadioButton + android:id="@+id/location_data_denied" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="@color/black" + android:textSize="13dip" + android:text="@string/denied"/> + </RadioGroup> + + </TableRow> + + </TableLayout> + +</LinearLayout> |