diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
commit | de2d9f5f109265873196f1615e1f3546b114aaa7 (patch) | |
tree | cd79c0fdeba9e5564571422a549b9a84e4ac43bb /res/layout | |
download | packages_apps_settings-de2d9f5f109265873196f1615e1f3546b114aaa7.zip packages_apps_settings-de2d9f5f109265873196f1615e1f3546b114aaa7.tar.gz packages_apps_settings-de2d9f5f109265873196f1615e1f3546b114aaa7.tar.bz2 |
Initial Contribution
Diffstat (limited to 'res/layout')
57 files changed, 3544 insertions, 0 deletions
diff --git a/res/layout/app_launcher.xml b/res/layout/app_launcher.xml new file mode 100644 index 0000000..04d3fce --- /dev/null +++ b/res/layout/app_launcher.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Settings/res/layout/app_launcher.xml +** +** Copyright 2007, 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" style="@style/info_layout"> + <LinearLayout style="@style/entry_layout" + android:orientation="vertical"> + + <CheckBox android:id="@+id/newView" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/app_launcher_newView_text" /> + + </LinearLayout> +</LinearLayout> diff --git a/res/layout/band_mode.xml b/res/layout/band_mode.xml new file mode 100644 index 0000000..e920af0 --- /dev/null +++ b/res/layout/band_mode.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2007 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:padding="4dip" + android:gravity="center_horizontal" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + + <ListView android:id="@+id/band" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:textSize="7sp"> + </ListView> + +</LinearLayout> diff --git a/res/layout/battery_info.xml b/res/layout/battery_info.xml new file mode 100644 index 0000000..3889827 --- /dev/null +++ b/res/layout/battery_info.xml @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Settings/assets/res/any/layout/battery_info.xml +** +** Copyright 2006, 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" style="@style/info_layout"> + + <!-- Battery Status --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/battery_info_status_label" style="@style/info_label" /> + <TextView android:id="@+id/status" style="@style/info_value" /> + </LinearLayout> + + <!-- Battery Level --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/battery_info_level_label" style="@style/info_label" /> + <TextView android:id="@+id/level" style="@style/info_value" /> + </LinearLayout> + + <!-- Battery Scale --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/battery_info_scale_label" style="@style/info_label" /> + <TextView android:id="@+id/scale" style="@style/info_value" /> + </LinearLayout> + + <!-- Battery Health --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/battery_info_health_label" style="@style/info_label" /> + <TextView android:id="@+id/health" style="@style/info_value" /> + </LinearLayout> + + <!-- Battery Voltage --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/battery_info_voltage_label" style="@style/info_label" /> + <TextView android:id="@+id/voltage" style="@style/info_value" /> + </LinearLayout> + + <!-- Battery Temperature --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/battery_info_temperature_label" style="@style/info_label" /> + <TextView android:id="@+id/temperature" style="@style/info_value" /> + </LinearLayout> + + <!-- Battery Technology --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/battery_info_technology_label" style="@style/info_label" /> + <TextView android:id="@+id/technology" style="@style/info_value" /> + </LinearLayout> + + <!-- Uptime --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/battery_info_uptime" style="@style/info_label" /> + <TextView android:id="@+id/uptime" style="@style/info_value" /> + </LinearLayout> + + <!-- Awaketime Battery --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/battery_info_awake_battery" style="@style/info_label" /> + <TextView android:id="@+id/awakeBattery" style="@style/info_value" /> + </LinearLayout> + + <!-- Awaketime Plugged In --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/battery_info_awake_plugged" style="@style/info_label" /> + <TextView android:id="@+id/awakePlugged" style="@style/info_value" /> + </LinearLayout> + + <!-- Screen On Time --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/battery_info_screen_on" style="@style/info_label" /> + <TextView android:id="@+id/screenOn" style="@style/info_value" /> + </LinearLayout> +</LinearLayout> + diff --git a/res/layout/bluetooth.xml b/res/layout/bluetooth.xml new file mode 100644 index 0000000..530cbbe --- /dev/null +++ b/res/layout/bluetooth.xml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Settings/assets/res/layout/bluetooth.xml +** +** Copyright 2006, 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="fill_parent" + android:paddingLeft="2dip" + android:paddingRight="2dip"> + + <Button android:id="@+id/enable" + android:textStyle="bold" + android:text="@string/bluetooth_enable_text" + android:layout_width="fill_parent" + android:layout_height="wrap_content"/> + + <Button android:id="@+id/scan" + android:textStyle="bold" + android:text="@string/bluetooth_scan_text" + android:layout_width="fill_parent" + android:layout_height="wrap_content"/> + + <Button android:id="@+id/settings" + android:textStyle="bold" + android:text="@string/bluetooth_settings_text" + android:layout_width="fill_parent" + android:layout_height="wrap_content"/> + + <ListView android:id="@android:id/list" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:drawSelectorOnTop="false"> + </ListView> + +</LinearLayout> diff --git a/res/layout/bluetooth_data_entry.xml b/res/layout/bluetooth_data_entry.xml new file mode 100644 index 0000000..1900b6e --- /dev/null +++ b/res/layout/bluetooth_data_entry.xml @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Settings/assets/res/layout/bluetooth_pairing_panel.xml +** +** Copyright 2006, 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="fill_parent"> + + <TextView android:id="@+id/dataLabel" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="@string/bluetooth_new_data" /> + + <EditText android:id="@+id/dataEntry" + android:layout_marginTop="2dip" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:scrollHorizontally="true" + android:autoText="false" + android:capitalize="none" + android:singleLine="true" + android:password="true" + android:maxLines="1" /> + <LinearLayout + android:orientation="horizontal" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + + <Button android:id="@+id/confirmButton" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_weight="0.5" + android:text="@string/bluetooth_new_data_confirm" /> + + <Button android:id="@+id/cancelButton" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_weight="0.5" + android:text="@string/bluetooth_new_data_cancel" /> + + </LinearLayout> +</LinearLayout> + diff --git a/res/layout/bluetooth_device_info.xml b/res/layout/bluetooth_device_info.xml new file mode 100644 index 0000000..e589103 --- /dev/null +++ b/res/layout/bluetooth_device_info.xml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2007 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. +--> + +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/scroll_content" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + <LinearLayout + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + + <TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="@string/bluetooth_device_info_alias" /> + + <TextView android:id="@+id/deviceAlias" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="@string/bluetooth_device_info_no_alias" /> + + <Button android:id="@+id/connectButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/bluetooth_device_info_connectButton_text" /> + + <Button android:id="@+id/deleteButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/bluetooth_device_info_delete" /> + + <Button android:id="@+id/querySDP" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/bluetooth_device_info_sdp" /> + + <TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="@string/bluetooth_device_info" /> + + <TextView android:id="@+id/deviceInfo" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="@string/bluetooth_device_info_deviceInfo_text" /> + </LinearLayout> +</ScrollView> + diff --git a/res/layout/bluetooth_device_list_item.xml b/res/layout/bluetooth_device_list_item.xml new file mode 100644 index 0000000..3b80261 --- /dev/null +++ b/res/layout/bluetooth_device_list_item.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Settings/assets/res/any/layout/bluetooth_device_list_item.xml +** +** Copyright 2006, 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. +*/ +--> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingTop="3dip" + android:paddingLeft="6dip" + android:paddingRight="6dip"> + + <ImageView android:id="@+id/icon" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@android:drawable/sym_contact_card"/> + + <TextView android:id="@+id/name" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="6dip" + android:layout_toRightOf="@id/icon" + android:textColor="#FFFFFFFF" + android:textSize="18sp" + android:textStyle="bold"/> + +</RelativeLayout> diff --git a/res/layout/bluetooth_discoverability_panel.xml b/res/layout/bluetooth_discoverability_panel.xml new file mode 100644 index 0000000..ca50aa8 --- /dev/null +++ b/res/layout/bluetooth_discoverability_panel.xml @@ -0,0 +1,53 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Settings/assets/res/layout/bluetooth_pairing_panel.xml +** +** Copyright 2006, 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. +*/ +--> +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingLeft="2dip" + android:paddingRight="2dip"> + + <LinearLayout + android:text="@string/bluetooth_discoverability_panel_title" + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingLeft="20dip" + android:paddingRight="20dip"> + + <Button android:id="@+id/discoverable" + android:visibility="visible" + android:text="@string/bluetooth_discoverable" + android:layout_width="fill_parent" + android:layout_height="wrap_content"/> + + <Button android:id="@+id/connectable" + android:visibility="visible" + android:text="@string/bluetooth_connectable" + android:layout_width="fill_parent" + android:layout_height="wrap_content"/> + + <Button android:id="@+id/neither" + android:visibility="visible" + android:text="@string/bluetooth_neither" + android:layout_width="fill_parent" + android:layout_height="wrap_content"/> + + </LinearLayout> +</FrameLayout> diff --git a/res/layout/bluetooth_discovery_screen.xml b/res/layout/bluetooth_discovery_screen.xml new file mode 100644 index 0000000..d3a7f79 --- /dev/null +++ b/res/layout/bluetooth_discovery_screen.xml @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Settings/res/layout/bluetooth_discovery_screen.xml +** +** Copyright 2007, 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. +*/ +--> + +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:paddingLeft="2dip" + android:paddingRight="2dip"> + + <LinearLayout + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:paddingLeft="3dip" + android:paddingRight="3dip"> + + <TextView android:id="@+id/label" + android:textStyle="bold" + android:text="@string/bluetooth_scan_for_new_devices" + android:layout_width="fill_parent" + android:layout_height="wrap_content"/> + + <ListView android:id="@android:id/list" + android:layout_marginTop="5dip" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:drawSelectorOnTop="false"> + </ListView> + </LinearLayout> +</FrameLayout> diff --git a/res/layout/bluetooth_pairing_panel.xml b/res/layout/bluetooth_pairing_panel.xml new file mode 100644 index 0000000..550bd38 --- /dev/null +++ b/res/layout/bluetooth_pairing_panel.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Settings/assets/res/layout/bluetooth_pairing_panel.xml +** +** Copyright 2006, 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. +*/ +--> +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingLeft="2dip" + android:paddingRight="2dip"> + + <LinearLayout + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingLeft="20dip" + android:paddingRight="20dip"> + + <TextView android:id="@+id/status" + android:visibility="visible" + android:text="@string/bluetooth_pairing_msg" + android:layout_width="fill_parent" + android:layout_height="wrap_content"/> + </LinearLayout> +</FrameLayout> diff --git a/res/layout/bluetooth_pin_entry.xml b/res/layout/bluetooth_pin_entry.xml new file mode 100644 index 0000000..6969cb7 --- /dev/null +++ b/res/layout/bluetooth_pin_entry.xml @@ -0,0 +1,27 @@ +<?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:layout_height="wrap_content" + android:layout_width="fill_parent"> + <EditText android:id="@+id/text" + android:layout_height="wrap_content" + android:layout_width="fill_parent" + android:layout_marginLeft="20dip" + android:layout_marginRight="20dip" /> +</LinearLayout> diff --git a/res/layout/bluetooth_sdp_query.xml b/res/layout/bluetooth_sdp_query.xml new file mode 100644 index 0000000..907de72 --- /dev/null +++ b/res/layout/bluetooth_sdp_query.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2007 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. +--> + +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/scroll_content" android:layout_width="fill_parent" android:layout_height="fill_parent"> + <LinearLayout + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + + <TextView android:id="@+id/services" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="@string/bluetooth_sdp_query_services_text" /> + </LinearLayout> +</ScrollView> + diff --git a/res/layout/bookmark_picker_item.xml b/res/layout/bookmark_picker_item.xml new file mode 100644 index 0000000..fd764ea --- /dev/null +++ b/res/layout/bookmark_picker_item.xml @@ -0,0 +1,38 @@ +<?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:layout_width="fill_parent" + android:layout_height="wrap_content" + android:minHeight="?android:attr/listPreferredItemHeight" + android:paddingLeft="2dip" + android:gravity="center_vertical"> + + <ImageView android:id="@+id/icon" + android:layout_width="@android:dimen/app_icon_size" + android:layout_height="@android:dimen/app_icon_size" + android:scaleType="fitCenter" /> + + <TextView android:id="@+id/title" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceLarge" + android:paddingLeft="6dip" /> + +</LinearLayout> + diff --git a/res/layout/choose_lock_pattern.xml b/res/layout/choose_lock_pattern.xml new file mode 100644 index 0000000..67a5257 --- /dev/null +++ b/res/layout/choose_lock_pattern.xml @@ -0,0 +1,78 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 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. +--> +<com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/topLayout" + android:orientation="vertical" + android:layout_width="wrap_content" + android:layout_height="fill_parent" + android:background="@color/black"> + + <TextView android:id="@+id/headerText" + android:layout_width="fill_parent" + android:layout_height="0dip" + android:layout_weight="1.0" + android:gravity="center" + android:textSize="18sp"/> + + <View + android:background="@*android:drawable/code_lock_top" + android:layout_width="fill_parent" + android:layout_height="2dip" /> + <com.android.internal.widget.LockPatternView android:id="@+id/lockPattern" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> + <View + android:background="@*android:drawable/code_lock_bottom" + android:layout_width="fill_parent" + android:layout_height="8dip" /> + + <!-- footer can show a message, or confirm / restart buttons --> + <RelativeLayout + android:layout_width="fill_parent" + android:layout_height="0dip" + android:layout_weight="1.0"> + + <!-- message --> + <TextView android:id="@+id/footerText" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:layout_centerHorizontal="true" + android:textSize="14sp"/> + + <!-- left button: skip, or retry --> + <Button android:id="@+id/footerLeftButton" + android:layout_width="150dip" + android:layout_height="wrap_content" + android:layout_alignParentLeft="true" + android:layout_alignParentBottom="true" + android:text="@string/lockpattern_restart_button_text"/> + + <!-- right button: confirm or ok --> + <Button android:id="@+id/footerRightButton" + android:layout_width="150dip" + android:layout_height="wrap_content" + android:layout_alignParentRight="true" + android:layout_alignParentBottom="true" + android:drawableRight="@drawable/ic_btn_next" + android:drawablePadding="3dip" + android:text="@string/lockpattern_confirm_button_text"/> + + </RelativeLayout> + +</com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient> + diff --git a/res/layout/choose_lock_pattern_example.xml b/res/layout/choose_lock_pattern_example.xml new file mode 100644 index 0000000..0a58f17 --- /dev/null +++ b/res/layout/choose_lock_pattern_example.xml @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 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_height="fill_parent" + android:layout_width="fill_parent"> + + <ScrollView + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_weight="1"> + + <LinearLayout + android:orientation="vertical" + android:layout_height="fill_parent" + android:layout_width="fill_parent" + android:padding="5dip"> + + <TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="@string/lock_example_title" + android:gravity="center_horizontal" + android:layout_marginTop="5dip" + style="?android:attr/textAppearanceLarge" + /> + + <ImageView android:id="@+id/lock_anim" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="11dip" + android:layout_gravity="center_horizontal" + android:focusable="false" + android:clickable="false" + /> + + <TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginTop="5dip" + android:text="@string/lock_example_message" + android:layout_gravity="left" + style="?android:attr/textAppearanceMedium" + /> + + </LinearLayout> + + </ScrollView> + + <RelativeLayout + android:layout_height="wrap_content" + android:layout_width="fill_parent"> + + <Button android:id="@+id/skip_button" + android:layout_width="150dip" + android:layout_height="wrap_content" + android:layout_margin="5dip" + android:layout_alignParentLeft="true" + android:text="@string/skip_button_label" + /> + + <Button android:id="@+id/next_button" + android:layout_width="150dip" + android:layout_height="wrap_content" + android:layout_margin="5dip" + android:drawableRight="@drawable/ic_btn_next" + android:drawablePadding="3dip" + android:layout_alignParentRight="true" + android:text="@string/next_button_label" + /> + + </RelativeLayout> + +</LinearLayout > diff --git a/res/layout/choose_lock_pattern_tutorial.xml b/res/layout/choose_lock_pattern_tutorial.xml new file mode 100644 index 0000000..1c3e90b --- /dev/null +++ b/res/layout/choose_lock_pattern_tutorial.xml @@ -0,0 +1,81 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 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_height="fill_parent" + android:layout_width="fill_parent"> + + <ScrollView + android:layout_width="fill_parent" + android:layout_height="0dip" + android:layout_weight="1"> + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:padding="5dip"> + + <TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:gravity="center_horizontal" + android:text="@string/lock_title" + android:paddingBottom="10dip" + android:layout_marginTop="3dip" + style="?android:attr/textAppearanceLarge" + /> + + <TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceMedium" + android:layout_marginTop="10dip" + android:text="@string/lock_intro_message" + /> + + </LinearLayout> + + </ScrollView> + + <RelativeLayout + android:layout_height="wrap_content" + android:layout_width="fill_parent"> + + <Button android:id="@+id/skip_button" + android:layout_width="150dip" + android:layout_height="wrap_content" + android:layout_weight="1" + android:layout_margin="5dip" + android:layout_alignParentLeft="true" + android:text="@string/skip_button_label" + /> + + <Button android:id="@+id/next_button" + android:layout_width="150dip" + android:layout_height="wrap_content" + android:layout_weight="1" + android:layout_margin="5dip" + android:layout_alignParentRight="true" + android:drawableRight="@drawable/ic_btn_next" + android:drawablePadding="3dip" + android:text="@string/next_button_label" + /> + + </RelativeLayout> + +</LinearLayout > diff --git a/res/layout/compute_sizes.xml b/res/layout/compute_sizes.xml new file mode 100755 index 0000000..c781227 --- /dev/null +++ b/res/layout/compute_sizes.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 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. +--> + +<RelativeLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + + <TextView + android:id="@+id/center_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerVertical="true" + android:textSize="18sp" + android:textStyle="bold" + android:padding="2dip" + android:text="@string/computing_size"/> + <ListView + android:id="@android:id/list" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + </ListView> +</RelativeLayout> + + diff --git a/res/layout/confirm_lock_pattern.xml b/res/layout/confirm_lock_pattern.xml new file mode 100644 index 0000000..52cf24a --- /dev/null +++ b/res/layout/confirm_lock_pattern.xml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 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. +--> +<com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/topLayout" + android:orientation="vertical" + android:layout_width="wrap_content" + android:layout_height="fill_parent" + android:background="@color/black"> + + <TextView android:id="@+id/headerText" + android:layout_width="fill_parent" + android:layout_height="0dip" + android:layout_weight="1.0" + android:gravity="center" + android:textSize="18sp"/> + + <View + android:background="@*android:drawable/code_lock_top" + android:layout_width="fill_parent" + android:layout_height="2dip" /> + <com.android.internal.widget.LockPatternView android:id="@+id/lockPattern" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> + <View + android:background="@*android:drawable/code_lock_bottom" + android:layout_width="fill_parent" + android:layout_height="8dip" /> + + <TextView android:id="@+id/footerText" + android:layout_width="fill_parent" + android:layout_height="0dip" + android:layout_weight="1.0" + android:gravity="center" + android:textSize="14sp"/> + + +</com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient> diff --git a/res/layout/date_picker_activity.xml b/res/layout/date_picker_activity.xml new file mode 100644 index 0000000..16a4a69 --- /dev/null +++ b/res/layout/date_picker_activity.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +** +** Copyright 2007, 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. +*/ +--> + +<RelativeLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + + <DatePicker + android:id="@+id/datePicker" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerInParent="true" /> + +</RelativeLayout> diff --git a/res/layout/date_time.xml b/res/layout/date_time.xml new file mode 100644 index 0000000..fc7e942 --- /dev/null +++ b/res/layout/date_time.xml @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Settings/assets/res/any/layout/date_time.xml +** +** Copyright 2006, 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" + style="@style/info_layout"> + + <!-- time picker --> + <LinearLayout + android:orientation="horizontal" + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + <TextView android:id="@+id/timeDisplay" + android:maxLines="1" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/date_time_timeDisplay_text"/> + <Button android:id="@+id/changeTime" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/date_time_changeTime_text"/> + </LinearLayout> + + + <!-- date picker --> + <LinearLayout + android:orientation="horizontal" + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + <TextView android:id="@+id/dateDisplay" + android:maxLines="1" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/date_time_dateDisplay_text"/> + <Button android:id="@+id/changeDate" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/date_time_changeDate_text"/> + </LinearLayout> + + <!-- Time Zone --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/date_time_timezone_label" style="@style/info_label" /> + <TextView android:id="@+id/zone" style="@style/info_value" /> + </LinearLayout> + + <Button android:id="@+id/setzone" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/date_time_setzone_text" /> +</LinearLayout> + diff --git a/res/layout/date_time_settings_setupwizard.xml b/res/layout/date_time_settings_setupwizard.xml new file mode 100644 index 0000000..fc6f5e2 --- /dev/null +++ b/res/layout/date_time_settings_setupwizard.xml @@ -0,0 +1,55 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 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:layout_height="fill_parent" + android:layout_width="fill_parent" + android:orientation="vertical"> + + <LinearLayout + android:orientation="vertical" + android:layout_height="0dip" + android:layout_width="fill_parent" + android:layout_weight="1" + android:gravity="left"> + + <ListView android:id="@android:id/list" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:drawSelectorOnTop="false" + android:paddingTop="2dip" + /> + + </LinearLayout> + + <RelativeLayout + android:layout_height="wrap_content" + android:layout_width="fill_parent" + android:background="@android:drawable/bottom_bar"> + + <Button android:id="@+id/next_button" + android:layout_width="150dip" + android:layout_height="wrap_content" + android:layout_margin="5dip" + android:layout_alignParentRight="true" + android:drawableRight="@drawable/ic_btn_next" + android:drawablePadding="10dip" + android:text="@string/next_label" + /> + + </RelativeLayout> + +</LinearLayout> diff --git a/res/layout/device_info_screen.xml b/res/layout/device_info_screen.xml new file mode 100644 index 0000000..7f4af31 --- /dev/null +++ b/res/layout/device_info_screen.xml @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Settings/res/layout/device_info_screen.xml +** +** Copyright 2007, 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. +*/ +--> + +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:paddingLeft="6dip" + android:paddingRight="6dip" + android:paddingBottom="3dip" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + <requestFocus/> + + <LinearLayout android:id="@+id/list" + android:orientation="vertical" + android:paddingLeft="10dip" + android:paddingTop="10dip" + android:paddingRight="10dip" + android:paddingBottom="10dip" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + + <!-- Note: Property values are inserted above these controls. --> + + <TextView android:id="@+id/target_build_label" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:textStyle="bold" + android:text="@string/target_build_field_label" /> + + <EditText android:id="@+id/target_build_field" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingLeft="3dip" + android:paddingBottom="6dip" /> + + <Button android:id="@+id/checkin_button" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="@string/checkin_button_label" /> + + </LinearLayout> +</ScrollView> diff --git a/res/layout/display.xml b/res/layout/display.xml new file mode 100644 index 0000000..0049025 --- /dev/null +++ b/res/layout/display.xml @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Settings/res/layout/display.xml +** +** Copyright 2007, 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" style="@style/info_layout"> + <LinearLayout style="@style/entry_layout" + android:orientation="vertical"> + + <TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="@string/display_font_size_label" /> + + <Spinner android:id="@+id/fontSize" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + </Spinner> + + <TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="@string/display_preview_label" /> + + <TextView android:id="@+id/preview" + android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + + <Button android:id="@+id/save" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> + </LinearLayout> + +</LinearLayout> diff --git a/res/layout/info_screen.xml b/res/layout/info_screen.xml new file mode 100644 index 0000000..adb9ca5 --- /dev/null +++ b/res/layout/info_screen.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Settings/res/layout/device_info_screen.xml +** +** Copyright 2007, 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. +*/ +--> + +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + <requestFocus/> + + <LinearLayout android:id="@+id/list" + android:orientation="vertical" + android:paddingLeft="10dip" + android:paddingTop="5dip" + android:paddingRight="10dip" + android:paddingBottom="5dip" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + </LinearLayout> +</ScrollView> + diff --git a/res/layout/info_screen_item.xml b/res/layout/info_screen_item.xml new file mode 100644 index 0000000..1f71016 --- /dev/null +++ b/res/layout/info_screen_item.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2007 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. +--> + +<!-- List item layout for a setting --> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingBottom="10dip" + android:orientation="vertical"> + + <TextView + android:id="@+id/info_name_text" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:textColor="@color/white" + android:textStyle="bold" /> + + <TextView + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/info_value_text" + android:paddingLeft="20dip" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:textColor="@color/lighter_gray" /> + +</LinearLayout> diff --git a/res/layout/installed_app_details.xml b/res/layout/installed_app_details.xml new file mode 100644 index 0000000..c9c00a7 --- /dev/null +++ b/res/layout/installed_app_details.xml @@ -0,0 +1,279 @@ +<?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. +*/ +--> +<ScrollView + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + <LinearLayout + android:id="@+id/all_details" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical"> + <RelativeLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical"> + <TextView android:id="@+id/app_name" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceMedium" + android:textColor="?android:attr/textColorPrimary" + android:layout_alignParentTop="true" + android:layout_alignParentLeft="true" + android:paddingTop="6dip" + android:paddingRight="6dip" + android:paddingLeft="6dip" /> + + <TextView android:id="@+id/app_description" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceSmall" + android:layout_below="@id/app_name" + android:layout_alignParentLeft="true" + android:paddingTop="6dip" + android:paddingBottom="6dip" + android:paddingRight="6dip" + android:paddingLeft="6dip" /> + <ImageView android:id="@+id/app_icon" + android:layout_width="@android:dimen/app_icon_size" + android:layout_height="@android:dimen/app_icon_size" + android:layout_alignParentRight="true" + android:paddingTop="6dip" + android:paddingBottom="6dip" + android:paddingRight="6dip" + android:scaleType="fitCenter" /> + </RelativeLayout> + + <TextView + style="?android:attr/listSeparatorTextViewStyle" + android:text="@string/storage_label" + android:background="@*android:drawable/settings_header" + android:textSize="18sp" + android:paddingTop="6dip" + android:paddingLeft="6dip" + android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingLeft="6dip" + android:orientation="vertical"> + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:baselineAligned="true" + android:paddingTop="-1dip"> + <TextView + android:id="@+id/total_size_prefix" + android:text="@string/total_size_label" + android:textColor="?android:attr/textColorPrimary" + android:textSize="18sp" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:maxLines="1" + android:paddingTop="6dip" + android:paddingLeft="6dip"/> + + <ImageView + android:id="@+id/info_size_dots" + android:src="@drawable/dotted_line_480px" + android:layout_width="0dip" + android:layout_weight="1" + android:layout_height="1px" + android:layout_gravity="bottom" + android:layout_marginLeft="1dip" + android:layout_marginRight="1dip" + android:layout_marginBottom="4dip" + android:scaleType="center" /> + <TextView + android:id="@+id/total_size_text" + android:textSize="18sp" + android:paddingTop="6dip" + android:paddingRight="6dip" + android:textColor="?android:attr/textColorPrimary" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:maxLines="1" /> + + </LinearLayout> + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:baselineAligned="true" + android:paddingTop="-1dip"> + <TextView + android:id="@+id/application_size_prefix" + android:text="@string/application_size_label" + android:textColor="?android:attr/textColorPrimary" + android:textSize="18sp" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:maxLines="1" + android:paddingTop="6dip" + android:paddingLeft="6dip"/> + <ImageView + android:id="@+id/info_size_dots" + android:src="@drawable/dotted_line_480px" + android:layout_width="0dip" + android:layout_weight="1" + android:layout_height="1px" + android:layout_gravity="bottom" + android:layout_marginLeft="1dip" + android:layout_marginRight="1dip" + android:layout_marginBottom="4dip" + android:scaleType="center" /> + <TextView + android:id="@+id/application_size_text" + android:textSize="18sp" + android:paddingTop="6dip" + android:paddingRight="6dip" + android:textColor="?android:attr/textColorPrimary" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:maxLines="1" /> + + </LinearLayout> + <LinearLayout + android:id="@+id/info_size" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:baselineAligned="true" + android:paddingTop="-1dip"> + <TextView + android:id="@+id/data_size_prefix" + android:text="@string/data_size_label" + android:textColor="?android:attr/textColorPrimary" + android:textSize="18sp" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:maxLines="1" + android:paddingTop="6dip" + android:paddingLeft="6dip"/> + <ImageView + android:id="@+id/info_size_dots" + android:src="@drawable/dotted_line_480px" + android:layout_width="0dip" + android:layout_weight="1" + android:layout_height="1px" + android:layout_gravity="bottom" + android:layout_marginLeft="1dip" + android:layout_marginRight="1dip" + android:layout_marginBottom="4dip" + android:scaleType="center" /> + <TextView + android:id="@+id/data_size_text" + android:textSize="18sp" + android:paddingTop="6dip" + android:paddingRight="6dip" + android:textColor="?android:attr/textColorPrimary" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:maxLines="1" /> + + </LinearLayout> + <!-- Manage space, Clear data/Uninstall buttons --> + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:gravity="bottom" + android:orientation="horizontal"> + <Button + android:id="@+id/manage_space_button" + android:text="@string/manage_space_text" + android:visibility="invisible" + android:layout_width="150dip" + android:paddingLeft="6dip" + android:layout_gravity="left" + android:layout_weight="0.4" + android:layout_height="wrap_content"/> + <!-- Spacer --> + <View + android:id="@+id/buttons_spacer_left" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="0.2" + android:visibility="gone" /> + + <Button + android:id="@+id/uninstall_button" + android:layout_width="150dip" + android:paddingRight="6dip" + android:layout_gravity="right" + android:layout_weight="0.4" + android:layout_height="wrap_content"/> + </LinearLayout> + </LinearLayout> + <TextView + style="?android:attr/listSeparatorTextViewStyle" + android:text="@string/auto_launch_label" + android:background="@*android:drawable/settings_header" + android:paddingTop="6dip" + android:paddingLeft="6dip" + android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + + <RelativeLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical"> + <TextView android:id="@+id/auto_launch" + android:layout_alignParentLeft="true" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingTop="6dip" + android:paddingRight="6dip" + android:paddingLeft="6dip" /> + <Button android:id="@+id/clear_activities_button" + android:layout_alignParentRight="true" + android:layout_below="@id/auto_launch" + android:layout_centerHorizontal="true" + android:layout_width="150dip" + android:text="@string/clear_activities" + android:layout_height="wrap_content" /> + </RelativeLayout> + <!-- Permissions section --> + <TextView + style="?android:attr/listSeparatorTextViewStyle" + android:text="@string/permissions_label" + android:background="@*android:drawable/settings_header" + android:textSize="18sp" + android:paddingTop="6dip" + android:paddingLeft="6dip" + android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + <TextView + android:text="@string/security_settings_desc" + android:textSize="14sp" + android:paddingTop="6dip" + android:paddingLeft="6dip" + android:paddingBottom="6dip" + android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + <LinearLayout + android:id="@+id/security_settings_list" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical"/> + </LinearLayout> +</ScrollView> + diff --git a/res/layout/intent_sender.xml b/res/layout/intent_sender.xml new file mode 100644 index 0000000..07fe67d --- /dev/null +++ b/res/layout/intent_sender.xml @@ -0,0 +1,111 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Preferences/assets/res/any/layout/intent_sender.xml +** +** Copyright 2006, 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. +*/ +--> +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:paddingLeft="6dip" + android:paddingRight="6dip" + android:paddingBottom="3dip" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + + <LinearLayout + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + + <TextView + android:textStyle="bold" + android:maxLines="1" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/intent_sender_action_label" /> + + <EditText android:id="@+id/intent" + android:singleLine="true" + android:layout_marginTop="2dip" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:scrollHorizontally="true" + android:capitalize="none" + android:autoText="false" /> + + <TextView + android:textStyle="bold" + android:maxLines="1" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/intent_sender_data_label" /> + + <EditText android:id="@+id/data" + android:singleLine="true" + android:layout_marginTop="2dip" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:scrollHorizontally="true" + android:capitalize="none" + android:autoText="false" /> + + <TextView + android:textStyle="bold" + android:maxLines="1" + android:layout_marginTop="4dip" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/intent_sender_account_label" /> + + <EditText android:id="@+id/account" + android:singleLine="true" + android:layout_marginTop="2dip" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:scrollHorizontally="true" + android:capitalize="none" + android:autoText="false" /> + + <TextView + android:textStyle="bold" + android:maxLines="1" + android:layout_marginTop="4dip" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/intent_sender_resource_label" /> + + <EditText android:id="@+id/resource" + android:singleLine="true" + android:layout_marginTop="2dip" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:scrollHorizontally="true" + android:capitalize="none" + android:autoText="false" /> + + <Button android:id="@+id/sendbroadcast" + android:layout_marginTop="8dip" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/intent_sender_sendbroadcast_text" /> + + <Button android:id="@+id/startactivity" + android:layout_marginTop="8dip" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/intent_sender_startactivity_text" /> + </LinearLayout> +</ScrollView> + diff --git a/res/layout/keyguard.xml b/res/layout/keyguard.xml new file mode 100644 index 0000000..64a48de --- /dev/null +++ b/res/layout/keyguard.xml @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Settings/res/layout/keyguard.xml +** +** Copyright 2007, 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" style="@style/info_layout"> + <!-- Keyboard Version --> + <LinearLayout style="@style/entry_layout" + android:orientation="vertical"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/keyguard_label" /> + + <Spinner android:id="@+id/kg_options" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginTop="5dip"> + </Spinner> + + <Button android:id="@+id/pw_mod" + android:layout_width="150dip" + android:layout_height="wrap_content" + android:text="@string/keyguard_pw_mod_text" + android:gravity="center_horizontal" /> + + </LinearLayout> + + <LinearLayout style="@style/entry_layout" + android:orientation="vertical" + android:layout_marginTop="20dip" + > + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/keyguard_sim_pin_label" /> + + <Button android:id="@+id/pin_enable" + android:layout_width="150dip" + android:layout_height="wrap_content" + android:gravity="center_horizontal" /> + + <Button android:id="@+id/pin_mod" + android:layout_width="150dip" + android:layout_height="wrap_content" + android:text="@string/keyguard_pin_mod_text" + android:gravity="center_horizontal" /> + + </LinearLayout> +</LinearLayout> diff --git a/res/layout/keyguard_password.xml b/res/layout/keyguard_password.xml new file mode 100644 index 0000000..7bf3b15 --- /dev/null +++ b/res/layout/keyguard_password.xml @@ -0,0 +1,102 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Settings/res/layout/keyguard_password.xml +** +** Copyright 2007, 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. +*/ +--> + +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + > + + <LinearLayout + style="@style/info_layout" + android:orientation="vertical"> + + <TextView + style="@style/info_label" + android:text="@string/keyguard_password_old_label" + /> + + <EditText android:id="@+id/old_password" + android:singleLine="true" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:scrollHorizontally="true" + android:autoText="false" + android:capitalize="none" + android:password="true" + android:maxLength="32" + /> + + <TextView android:id="@+id/old_password_error" + style="@style/info_label" + android:visibility="gone" + android:text="@string/keyguard_password_old_password_error_text" + /> + + + <TextView + style="@style/info_label" + android:text="@string/keyguard_password_new_label" + /> + + <EditText android:id="@+id/new_password_1" + android:singleLine="true" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:scrollHorizontally="true" + android:autoText="false" + android:capitalize="none" + android:password="true" + android:maxLength="32" + /> + + + <TextView + style="@style/info_label" + android:text="@string/keyguard_password_confirm_new_label" + /> + + <EditText android:id="@+id/new_password_2" + android:singleLine="true" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:scrollHorizontally="true" + android:autoText="false" + android:capitalize="none" + android:password="true" + android:maxLength="32" + /> + + + <TextView android:id="@+id/mismatch_error" + style="@style/info_label" + android:visibility="gone" + android:text="@string/keyguard_password_mismatch_error_text" + /> + + + <Button android:id="@+id/button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/keyguard_password_button_text" + /> + </LinearLayout> + +</ScrollView> + diff --git a/res/layout/list_setting_value_spinner.xml b/res/layout/list_setting_value_spinner.xml new file mode 100644 index 0000000..b603cf4 --- /dev/null +++ b/res/layout/list_setting_value_spinner.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2007 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. +--> + +<!-- Template for the generic static text in a setting's value --> +<Spinner + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/setting_value_spinner" + android:layout_width="fill_parent" + android:layout_height="wrap_content" /> diff --git a/res/layout/locale_picker.xml b/res/layout/locale_picker.xml new file mode 100644 index 0000000..476293f --- /dev/null +++ b/res/layout/locale_picker.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 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="fill_parent"> + + <ListView android:id="@android:id/list" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:drawSelectorOnTop="false" + /> + +</LinearLayout> diff --git a/res/layout/locale_picker_in_setupwizard.xml b/res/layout/locale_picker_in_setupwizard.xml new file mode 100644 index 0000000..184250d --- /dev/null +++ b/res/layout/locale_picker_in_setupwizard.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 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="fill_parent"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/select_your_language" + android:layout_gravity="center_horizontal" + android:paddingBottom="10dip" + android:textAppearance="?android:attr/textAppearanceLarge" + /> + + <View + android:layout_width="fill_parent" + android:layout_height="1dip" + android:layout_marginTop="8dip" + android:background="@android:drawable/divider_horizontal_dark" + /> + + <ListView android:id="@android:id/list" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:drawSelectorOnTop="false" + /> + +</LinearLayout> diff --git a/res/layout/locale_picker_item.xml b/res/layout/locale_picker_item.xml new file mode 100644 index 0000000..caa6fb5 --- /dev/null +++ b/res/layout/locale_picker_item.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 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="horizontal" + android:layout_height="wrap_content" + android:layout_width="fill_parent" + android:gravity="center_vertical" + android:minHeight="?android:attr/listPreferredItemHeight" + android:padding="5dip"> +<!-- + <ImageView android:id="@+id/icon" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:focusable="false" + android:clickable="false" + android:src="@drawable/place_holder_for_locale" + /> +--> + <TextView android:id="@+id/locale" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceLarge" + /> +</LinearLayout > diff --git a/res/layout/manage_applications_item.xml b/res/layout/manage_applications_item.xml new file mode 100755 index 0000000..fb77d29 --- /dev/null +++ b/res/layout/manage_applications_item.xml @@ -0,0 +1,62 @@ +<?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. +*/ +--> + +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:minHeight="?android:attr/listPreferredItemHeight"> + + <ImageView android:id="@+id/app_icon" + android:layout_width="@android:dimen/app_icon_size" + android:layout_height="@android:dimen/app_icon_size" + android:layout_alignParentLeft="true" + android:paddingLeft="6dip" + android:paddingTop="6dip" + android:paddingBottom="6dip" + android:scaleType="fitCenter" /> + + <TextView android:id="@+id/app_name" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceLarge" + android:textColor="?android:attr/textColorPrimary" + android:layout_toRightOf="@id/app_icon" + android:paddingLeft="6dip" + android:paddingTop="6dip"/> + + <TextView android:id="@+id/app_description" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceSmall" + android:layout_below="@+id/app_name" + android:layout_toRightOf="@id/app_icon" + android:paddingLeft="6dip" + android:paddingBottom="6dip"/> + <TextView android:id="@+id/app_size" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceSmall" + android:layout_alignParentRight="true" + android:layout_below="@+id/app_name" + android:paddingRight="6dip" + android:maxLines="1" /> + +</RelativeLayout> + diff --git a/res/layout/master_clear_final.xml b/res/layout/master_clear_final.xml new file mode 100644 index 0000000..8de789a --- /dev/null +++ b/res/layout/master_clear_final.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright (C) 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" + style="@style/info_layout"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="20sp" + android:text="@string/master_clear_final_desc" /> + + <Button android:id="@+id/execute_master_clear" + android:layout_gravity="center_horizontal" + android:layout_marginTop="40dip" + android:layout_width="150dip" + android:layout_height="wrap_content" + android:text="@string/master_clear_final_button_text" + android:gravity="center" /> + +</LinearLayout> diff --git a/res/layout/master_clear_primary.xml b/res/layout/master_clear_primary.xml new file mode 100644 index 0000000..ffac171 --- /dev/null +++ b/res/layout/master_clear_primary.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** +** Copyright (C) 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" + style="@style/info_layout"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="18sp" + android:text="@string/master_clear_desc" /> + + <Button android:id="@+id/initiate_master_clear" + android:layout_gravity="center_horizontal" + android:layout_marginTop="40dip" + android:layout_width="150dip" + android:layout_height="wrap_content" + android:text="@string/master_clear_button_text" + android:gravity="center" /> + +</LinearLayout> diff --git a/res/layout/mylocation.xml b/res/layout/mylocation.xml new file mode 100644 index 0000000..97a7b0e --- /dev/null +++ b/res/layout/mylocation.xml @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Settings/res/layout/keyguard.xml +** +** Copyright 2007, 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" style="@style/info_layout"> + <LinearLayout style="@style/entry_layout" + android:orientation="vertical"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/location_label" /> + + <Spinner android:id="@+id/provider_spinner" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginTop="5dip"> + </Spinner> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/location_status" /> + + <Spinner android:id="@+id/enabled_spinner" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginTop="5dip"> + </Spinner> + </LinearLayout> +</LinearLayout> diff --git a/res/layout/power_management.xml b/res/layout/power_management.xml new file mode 100644 index 0000000..e450404 --- /dev/null +++ b/res/layout/power_management.xml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2007, 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" style="@style/info_layout"> + <!-- Keyboard Version --> + <LinearLayout style="@style/entry_layout" android:orientation="vertical"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/screen_off_timeout_label"> + </TextView> + + <Spinner android:id="@+id/screen_off_timeout" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginTop="5dip"> + </Spinner> + + <!-- Stay on while plugged in --> + <CheckBox android:id="@+id/dim_screen" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/dim_screen"> + </CheckBox> + + <!-- Stay on while plugged in --> + <CheckBox android:id="@+id/stay_on" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/stay_on"> + </CheckBox> + + </LinearLayout> +</LinearLayout> diff --git a/res/layout/preference_progress_category.xml b/res/layout/preference_progress_category.xml new file mode 100644 index 0000000..01c7b15 --- /dev/null +++ b/res/layout/preference_progress_category.xml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2006 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. +--> + +<!-- Layout used for ProgressCategory in bluetooth settings. --> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="27dip" + android:background="@*android:drawable/settings_header"> + + <TextView + android:id="@+android:id/title" + style="?android:attr/listSeparatorTextViewStyle" + /> + + <ProgressBar + android:id="@+id/scanning_progress" + android:text="@string/progress_scanning" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentRight="true" + android:layout_centerVertical="true" + android:layout_marginRight="5sp" + style="?android:attr/progressBarStyleSmallTitle" + /> + + <TextView + android:id="@+id/scanning_text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerVertical="true" + android:layout_toLeftOf="@id/scanning_progress" + android:textSize="18sp" + android:textColor="@android:color/primary_text_light" + android:layout_marginRight="5sp" + android:text="@string/progress_scanning" + /> + +</RelativeLayout> diff --git a/res/layout/preference_widget_btdevice_status.xml b/res/layout/preference_widget_btdevice_status.xml new file mode 100644 index 0000000..9882ed9 --- /dev/null +++ b/res/layout/preference_widget_btdevice_status.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 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. +--> + +<ImageView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/device_headset" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginRight="4sp" + android:layout_gravity="center_vertical" + android:visibility="gone" + android:src="@android:drawable/stat_sys_headset" /> diff --git a/res/layout/preference_widget_shortcut.xml b/res/layout/preference_widget_shortcut.xml new file mode 100644 index 0000000..bb66f32 --- /dev/null +++ b/res/layout/preference_widget_shortcut.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 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. +--> + +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/shortcut" + android:layout_width="40dip" + android:layout_height="40dip" + android:layout_marginRight="4sp" + android:layout_gravity="center_vertical" + android:background="#55ffffff" + android:gravity="center" + android:textAppearance="?android:attr/textAppearanceLarge" /> diff --git a/res/layout/preference_widget_wifi_signal.xml b/res/layout/preference_widget_wifi_signal.xml new file mode 100644 index 0000000..55dd587 --- /dev/null +++ b/res/layout/preference_widget_wifi_signal.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 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. +--> + +<ImageView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/signal" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginRight="4sp" + android:layout_gravity="center_vertical" + android:src="@drawable/wifi_signal" /> diff --git a/res/layout/proxy.xml b/res/layout/proxy.xml new file mode 100644 index 0000000..914d0ea --- /dev/null +++ b/res/layout/proxy.xml @@ -0,0 +1,78 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Browser/res/layout/proxy.xml +** +** Copyright 2006, 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:paddingLeft="6dip" + android:paddingRight="6dip" + android:paddingBottom="3dip" + android:layout_width="fill_parent" android:layout_height="wrap_content"> + + <TextView + android:textStyle="bold" + android:maxLines="1" + android:layout_marginTop="8dip" + android:layout_width="wrap_content" android:layout_height="wrap_content" + android:text="@string/proxy_hostname_label" /> + + <EditText android:id="@+id/hostname" + android:maxLines="1" + android:layout_marginTop="2dip" + android:layout_width="fill_parent" android:layout_height="wrap_content" + android:autoText="false" + android:capitalize="none" + android:scrollHorizontally="true" /> + + <TextView + android:textStyle="bold" + android:maxLines="1" + android:layout_marginTop="4dip" + android:layout_width="wrap_content" android:layout_height="wrap_content" + android:text="@string/proxy_port_label" /> + + <EditText android:id="@+id/port" + android:numeric="integer" + android:maxLines="1" + android:layout_marginTop="2dip" + android:layout_width="fill_parent" android:layout_height="wrap_content" + android:scrollHorizontally="true" /> + + <LinearLayout + android:orientation="horizontal" + android:paddingTop="8dip" + android:layout_width="wrap_content" android:layout_height="wrap_content"> + + <Button android:id="@+id/action" + android:layout_width="wrap_content" android:layout_height="fill_parent" + android:layout_weight="1" + android:text="@string/proxy_action_text" /> + + <Button android:id="@+id/clear" + android:layout_width="wrap_content" android:layout_height="fill_parent" + android:layout_weight="1" + android:text="@string/proxy_clear_text" /> + + <Button android:id="@+id/defaultView" + android:layout_width="wrap_content" android:layout_height="fill_parent" + android:layout_weight="1" + android:text="@string/proxy_defaultView_text" /> + + </LinearLayout> +</LinearLayout> + diff --git a/res/layout/radio_info.xml b/res/layout/radio_info.xml new file mode 100644 index 0000000..1b20373 --- /dev/null +++ b/res/layout/radio_info.xml @@ -0,0 +1,259 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Settings/assets/res/any/layout/radio_info.xml +** +** Copyright 2006, 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. +*/ +--> +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" > + + <LinearLayout style="@style/info_layout"> + + <!-- IMEI --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_imei_label" style="@style/info_label" /> + <TextView android:id="@+id/imei" style="@style/info_value" /> + </LinearLayout> + + <!-- IMSI --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_imsi_label" style="@style/info_label" /> + <TextView android:id="@+id/imsi" style="@style/info_value" /> + </LinearLayout> + + <!-- Phone Number --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_phone_number_label" style="@style/info_label" /> + <TextView android:id="@+id/number" style="@style/info_value" /> + </LinearLayout> + + <!-- Network Identifier --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_current_network_label" style="@style/info_label" /> + <TextView android:id="@+id/operator" style="@style/info_value" /> + </LinearLayout> + + <!-- Ping stats --> + <Button android:id="@+id/ping_test" + android:textSize="14sp" + android:layout_marginTop="8dip" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/ping_test_label" + /> + + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_ping_ipaddr" style="@style/info_label" /> + <TextView android:id="@+id/pingIpAddr" style="@style/info_value" /> + </LinearLayout> + + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_ping_hostname" style="@style/info_label" /> + <TextView android:id="@+id/pingHostname" style="@style/info_value" /> + </LinearLayout> + + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_http_client_test" style="@style/info_label" /> + <TextView android:id="@+id/httpClientTest" style="@style/info_value" /> + </LinearLayout> + + <!-- Signal Strength --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_signal_strength_label" style="@style/info_label" /> + <TextView android:id="@+id/dbm" style="@style/info_value" /> + </LinearLayout> + + <!-- Location --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_signal_location_label" style="@style/info_label" /> + <TextView android:id="@+id/location" style="@style/info_value" /> + </LinearLayout> + + <!-- Neighboring Cids --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_neighboring_location_label" + style="@style/info_label" /> + <TextView android:id="@+id/neighboring" style="@style/info_value" /> + </LinearLayout> + + <!-- Roaming --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_roaming_label" style="@style/info_label" /> + <TextView android:id="@+id/roaming" style="@style/info_value" /> + </LinearLayout> + + <!-- GSM Service --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_gsm_service_label" style="@style/info_label" /> + <TextView android:id="@+id/gsm" style="@style/info_value" /> + </LinearLayout> + + <!-- GPRS Service --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_gprs_service_label" style="@style/info_label" /> + <TextView android:id="@+id/gprs" style="@style/info_value" /> + </LinearLayout> + + <!-- Network Type --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_network_type_label" style="@style/info_label" /> + <TextView android:id="@+id/network" style="@style/info_value" /> + </LinearLayout> + + <!-- Message Waiting Indicator --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_message_waiting_label" style="@style/info_label" /> + <TextView android:id="@+id/mwi" style="@style/info_value" /> + </LinearLayout> + + <!-- Call Forwarding Indicator --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_call_redirect_label" style="@style/info_label" /> + <TextView android:id="@+id/cfi" style="@style/info_value" /> + </LinearLayout> + + <!-- Call Status --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_call_status_label" style="@style/info_label" /> + <TextView android:id="@+id/call" style="@style/info_value" /> + </LinearLayout> + + + <!-- Radio Resets --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_radio_resets_label" style="@style/info_label" /> + <TextView android:id="@+id/resets" style="@style/info_value" /> + </LinearLayout> + + <!-- Attempted Data Connections --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_data_attempts_label" + style="@style/info_label" /> + <TextView android:id="@+id/attempts" style="@style/info_value" /> + </LinearLayout> + + <!-- Successful Data Connections --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_data_successes_label" + style="@style/info_label" /> + <TextView android:id="@+id/successes" style="@style/info_value" /> + </LinearLayout> + + <!-- GSM Disconnects --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_gsm_disconnects_label" + style="@style/info_label" /> + <TextView android:id="@+id/disconnects" style="@style/info_value" /> + </LinearLayout> + + <!-- PPP Sent --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_ppp_sent_label" + style="@style/info_label" /> + <TextView android:id="@+id/sent" style="@style/info_value" /> + </LinearLayout> + + <!-- PPP Received --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_ppp_received_label" + style="@style/info_label" /> + <TextView android:id="@+id/received" style="@style/info_value" /> + </LinearLayout> + + <!-- PPP Sent since last received --> + <LinearLayout style="@style/entry_layout"> + <TextView android:text="@string/radio_info_ppp_resets_label" + style="@style/info_label" /> + <TextView android:id="@+id/sentSinceReceived" style="@style/info_value" /> + </LinearLayout> + + <!-- Preferred Network Type --> + <TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="@string/radio_info_set_perferred_label" + style="@style/info_label" + /> + + <Spinner android:id="@+id/preferredNetworkType" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + /> + + <!-- Ciphering --> + <LinearLayout style="@style/entry_layout"> + <Button android:id="@+id/ciph_toggle" + android:textSize="14sp" + android:layout_marginTop="8dip" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/radio_info_toggle_ciph_label" + /> + <TextView android:id="@+id/ciphState" style="@style/info_value" /> + + </LinearLayout> + + <!-- QXDM logging & radio power --> + <LinearLayout style="@style/entry_layout"> + <Button android:id="@+id/qxdm_log" + android:textSize="14sp" + android:layout_marginTop="8dip" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + /> + + <Button android:id="@+id/radio_power" + android:textSize="14sp" + android:layout_marginTop="8dip" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + /> + </LinearLayout> + + <!-- SMSC --> + <RelativeLayout android:layout_width="fill_parent" + android:layout_height="wrap_content"> + <TextView android:id="@+id/smsc_label" + android:text="@string/radio_info_smsc_label" + android:layout_alignBaseline="@+id/update_smsc" + style="@style/info_label" /> + <Button android:id="@+id/refresh_smsc" + android:textSize="14sp" + android:layout_marginTop="8dip" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/radio_info_smsc_refresh_label" + android:layout_alignParentRight="true" + /> + <Button android:id="@+id/update_smsc" + android:textSize="14sp" + android:layout_marginTop="8dip" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/radio_info_smsc_update_label" + android:layout_toLeftOf="@+id/refresh_smsc" + android:layout_alignBaseline="@+id/refresh_smsc" + /> + <EditText android:id="@+id/smsc" + style="@style/form_value" + android:layout_alignBaseline="@+id/refresh_smsc" + android:layout_toLeftOf="@id/update_smsc" + android:layout_toRightOf="@id/smsc_label" /> + </RelativeLayout> + + </LinearLayout> +</ScrollView> diff --git a/res/layout/ringer_volume_screen.xml b/res/layout/ringer_volume_screen.xml new file mode 100644 index 0000000..aa06fa4 --- /dev/null +++ b/res/layout/ringer_volume_screen.xml @@ -0,0 +1,96 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Settings/res/layout/ringer_volume_screen.xml +** +** Copyright 2006, 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. +*/ +--> + +<ScrollView + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:scrollbars="none"> + + <LinearLayout + android:id="@+id/list" + android:orientation="vertical" + android:paddingLeft="10dip" + android:paddingTop="10dip" + android:paddingRight="10dip" + android:paddingBottom="10dip" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/ringer_volume_instructions" /> + + <LinearLayout + style="@style/entry_layout" + android:orientation="vertical" + android:layout_marginTop="20dip"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/ringer_volume_ringer_mode_label" /> + + <Spinner + android:id="@+id/ringer_mode" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + <requestFocus /> + </Spinner> + + </LinearLayout> + + <LinearLayout + style="@style/entry_layout" + android:orientation="vertical" + android:layout_marginTop="20dip"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/ringer_volume_ringtone_label" /> + + <Spinner + android:id="@+id/file" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + </Spinner> + + </LinearLayout> + + <LinearLayout + style="@style/entry_layout" + android:orientation="vertical" + android:layout_marginTop="20dip"> + + <CheckBox + android:id="@+id/increasing" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/ringer_volume_screen_increasing_text" /> + + + + </LinearLayout> + + </LinearLayout> + +</ScrollView> diff --git a/res/layout/sdcard_settings_screen.xml b/res/layout/sdcard_settings_screen.xml new file mode 100644 index 0000000..52ef2fc --- /dev/null +++ b/res/layout/sdcard_settings_screen.xml @@ -0,0 +1,126 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Settings/res/layout/sdcard_settings_screen.xml +** +** Copyright 2007, 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. +*/ +--> +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + + <LinearLayout android:id="@+id/list" + android:orientation="vertical" + android:padding="10dip" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + + <LinearLayout android:id="@+id/usb" + android:orientation="vertical" + android:paddingBottom="10dip" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + + <CheckBox android:id="@+id/mass_storage" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/sdcard_settings_screen_mass_storage_text"> + <requestFocus/> + </CheckBox> + + <TextView android:text="@string/sdcard_changes_instructions" style="@style/info_small" /> + </LinearLayout> + + <!-- divider line --> + <View android:background="#FF000000" + android:layout_width="fill_parent" + android:layout_height="1dip" /> + + <LinearLayout android:id="@+id/mounted" + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingTop="10dip"> + + <TextView android:id="@+id/read_only" + android:text="@string/sdcard_settings_read_only_status" + style="@style/info_label" /> + + <Button android:id="@+id/sdcard_unmount" + android:text="@string/sdcard_unmount" + android:textSize="14sp" + android:layout_marginTop="8dip" + android:layout_width="wrap_content" android:layout_height="wrap_content" /> + + <TableLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingTop="10dip"> + <TableRow> + <TextView android:text="@string/sdcard_settings_total_bytes_label" style="@style/info_label" /> + <TextView android:id="@+id/total" style="@style/info_value" /> + </TableRow> + <TableRow> + <TextView android:text="@string/sdcard_settings_used_bytes_label" style="@style/info_label" /> + <TextView android:id="@+id/used" style="@style/info_value" /> + </TableRow> + <TableRow> + <TextView android:text="@string/sdcard_settings_available_bytes_label" style="@style/info_label" /> + <TextView android:id="@+id/available" style="@style/info_value" /> + </TableRow> + </TableLayout> + + </LinearLayout> + + <LinearLayout style="@style/entry_layout" + android:id="@+id/scanning" + android:paddingTop="10dip"> + <TextView android:text="@string/sdcard_settings_scanning_status" style="@style/info_label" /> + </LinearLayout> + + <LinearLayout style="@style/entry_layout" + android:id="@+id/removed" + android:paddingTop="10dip"> + <TextView android:text="@string/sdcard_settings_not_present_status" style="@style/info_label" /> + </LinearLayout> + + <LinearLayout android:id="@+id/shared" + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingTop="10dip"> + + <LinearLayout style="@style/entry_layout" > + <TextView android:text="@string/sdcard_settings_mass_storage_status" style="@style/info_label" /> + </LinearLayout> + + </LinearLayout> + + <LinearLayout style="@style/entry_layout" + android:id="@+id/unmounted" + android:paddingTop="10dip"> + <TextView android:text="@string/sdcard_settings_unmounted_status" style="@style/info_label" /> + </LinearLayout> + + <LinearLayout style="@style/entry_layout" + android:id="@+id/bad_removal" + android:paddingTop="10dip"> + <TextView android:text="@string/sdcard_settings_bad_removal_status" style="@style/info_label" /> + </LinearLayout> + + </LinearLayout> +</ScrollView> + diff --git a/res/layout/settings_chooser.xml b/res/layout/settings_chooser.xml new file mode 100644 index 0000000..ad79485 --- /dev/null +++ b/res/layout/settings_chooser.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2007 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. +--> + +<!-- TODO: Remove file 881807 --> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> + + <TextView + android:text="@string/settings_chooser_pick_string" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:textColor="@color/white" + android:textStyle="bold" /> + + <Spinner + android:id="@+id/settings_app_spinner" + android:layout_marginLeft="20dip" + android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + +</LinearLayout> diff --git a/res/layout/systemsettings.xml b/res/layout/systemsettings.xml new file mode 100644 index 0000000..54bf896 --- /dev/null +++ b/res/layout/systemsettings.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2007 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. +--> + +<!-- Layout for system settings that require an expandable list --> +<ExpandableListView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/system_settings" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> +</ExpandableListView> diff --git a/res/layout/systemsettings_flat.xml b/res/layout/systemsettings_flat.xml new file mode 100644 index 0000000..0d0126b --- /dev/null +++ b/res/layout/systemsettings_flat.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2007 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. +--> + +<!-- Layout for system settings that require a flat list --> +<ListView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/system_settings" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> +</ListView> diff --git a/res/layout/telephony_editor.xml b/res/layout/telephony_editor.xml new file mode 100644 index 0000000..1721478 --- /dev/null +++ b/res/layout/telephony_editor.xml @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Settings/assets/res/any/layout/radio_info.xml +** +** Copyright 2006, 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. +*/ +--> + +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + + <LinearLayout style="@style/form_layout"> + <TextView android:text="@string/telephony_name_label" style="@style/form_label" /> + <EditText android:id="@+id/name" style="@style/form_value" /> + + <TextView android:text="@string/telephony_apn_label" style="@style/form_label" /> + <EditText android:id="@+id/apn" style="@style/form_value" /> + + <TextView android:text="@string/telephony_proxy_label" style="@style/form_label" /> + <EditText android:id="@+id/proxy" style="@style/form_value" /> + + <TextView android:text="@string/telephony_port_label" style="@style/form_label" /> + <EditText android:id="@+id/port" style="@style/form_value" /> + + <TextView android:text="@string/telephony_user_label" style="@style/form_label" /> + <EditText android:id="@+id/user" style="@style/form_value" /> + + <TextView android:text="@string/telephony_server_label" style="@style/form_label" /> + <EditText android:id="@+id/server" style="@style/form_value" /> + + <TextView android:text="@string/telephony_password_label" style="@style/form_label" /> + <EditText android:id="@+id/password" style="@style/form_value" /> + + <TextView android:text="@string/telephony_mmsproxy_label" style="@style/form_label" /> + <EditText android:id="@+id/mmsproxy" style="@style/form_value" /> + + <TextView android:text="@string/telephony_mmsport_label" style="@style/form_label" /> + <EditText android:id="@+id/mmsport" style="@style/form_value" /> + + <TextView android:text="@string/telephony_mmsc_label" style="@style/form_label" /> + <EditText android:id="@+id/mmsc" style="@style/form_value" /> + + <TextView android:text="@string/telephony_mcc_label" style="@style/form_label" /> + <EditText android:id="@+id/mcc" style="@style/form_value" /> + + <TextView android:text="@string/telephony_mnc_label" style="@style/form_label" /> + <EditText android:id="@+id/mnc" style="@style/form_value" /> + </LinearLayout> +</ScrollView> + + diff --git a/res/layout/time_picker_activity.xml b/res/layout/time_picker_activity.xml new file mode 100644 index 0000000..6e758a1 --- /dev/null +++ b/res/layout/time_picker_activity.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +** +** Copyright 2007, 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. +*/ +--> + +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + <TimePicker android:id="@+id/timePicker" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerInParent="true" /> +</RelativeLayout> diff --git a/res/layout/wallpaper_picker.xml b/res/layout/wallpaper_picker.xml new file mode 100644 index 0000000..f95043f --- /dev/null +++ b/res/layout/wallpaper_picker.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2007 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. +--> + +<GridView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/grid" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:padding="10dip" + android:verticalSpacing="10dp" + android:horizontalSpacing="10dp" + android:numColumns="auto_fit" + android:columnWidth="60dp" + android:stretchMode="columnWidth" + android:gravity="top|center_horizontal" + android:fadingEdge="none"/> diff --git a/res/layout/wifi_ap_configure.xml b/res/layout/wifi_ap_configure.xml new file mode 100644 index 0000000..d786cff --- /dev/null +++ b/res/layout/wifi_ap_configure.xml @@ -0,0 +1,91 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 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. +--> + +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:padding="8dip" + android:orientation="vertical"> + + + + <!-- SSID --> + + <TextView + style="?android:attr/textAppearanceSmallInverse" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="@string/wifi_type_ssid" /> + + <EditText android:id="@+id/ssid_edit" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginTop="2dip" + android:singleLine="true" /> + + + + <!-- Security --> + + <TextView + style="?android:attr/textAppearanceSmallInverse" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginTop="8dip" + android:text="@string/wifi_security" /> + + <!-- The entries will be set programmatically --> + <Spinner android:id="@+id/security_spinner" + android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + + + + <!-- Password --> + + <TextView android:id="@+id/password_text" + style="?android:attr/textAppearanceSmallInverse" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginTop="8dip" + android:text="@string/please_type_passphrase" /> + + <EditText android:id="@+id/password_edit" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginTop="2dip" + android:singleLine="true" + android:password="true" /> + + <CheckBox android:id="@+id/show_password_checkbox" + style="?android:attr/textAppearanceSmallInverse" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginTop="2dip" + android:text="@string/wifi_show_password" /> + + <Spinner android:id="@+id/wep_type_spinner" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:entries="@array/wifi_wep_type" /> + + </LinearLayout> + +</ScrollView> diff --git a/res/layout/wifi_ap_info.xml b/res/layout/wifi_ap_info.xml new file mode 100644 index 0000000..8c430fc --- /dev/null +++ b/res/layout/wifi_ap_info.xml @@ -0,0 +1,61 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 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. +--> + +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:padding="8dip" + android:orientation="vertical"> + + <LinearLayout + android:id="@+id/table" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical"> + + <!-- Info dynamically added here. --> + + </LinearLayout> + + <!-- Password --> + <TextView android:id="@+id/password_text" + style="?android:attr/textAppearanceSmallInverse" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginTop="8dip" + android:text="@string/please_type_passphrase" /> + + <EditText android:id="@+id/password_edit" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginTop="2dip" + android:singleLine="true" + android:password="true" /> + + <CheckBox android:id="@+id/show_password_checkbox" + style="?android:attr/textAppearanceSmallInverse" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginTop="2dip" + android:text="@string/wifi_show_password" /> + + </LinearLayout> + +</ScrollView> diff --git a/res/layout/wifi_ap_info_row.xml b/res/layout/wifi_ap_info_row.xml new file mode 100644 index 0000000..79064b0 --- /dev/null +++ b/res/layout/wifi_ap_info_row.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 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:layout_width="fill_parent" + android:layout_height="wrap_content"> + <TextView + android:id="@+id/name" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginRight="8dip" + android:textAppearance="?android:attr/textAppearanceSmallInverse" /> + <TextView + android:id="@+id/value" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceSmallInverse" + android:textStyle="bold" /> +</LinearLayout> diff --git a/res/layout/wifi_ap_retry_password.xml b/res/layout/wifi_ap_retry_password.xml new file mode 100644 index 0000000..14a4eae --- /dev/null +++ b/res/layout/wifi_ap_retry_password.xml @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 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. +--> + +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + + <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:padding="8dip" + android:orientation="vertical"> + + <TextView + style="?android:attr/textAppearanceSmallInverse" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="@string/wifi_password_incorrect_error" /> + + <!-- Password --> + <TextView android:id="@+id/password_text" + style="?android:attr/textAppearanceSmallInverse" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginTop="8dip" + android:text="@string/please_type_passphrase" /> + + <EditText android:id="@+id/password_edit" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginTop="2dip" + android:singleLine="true" + android:password="true" /> + + <CheckBox android:id="@+id/show_password_checkbox" + style="?android:attr/textAppearanceSmallInverse" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginTop="2dip" + android:text="@string/wifi_show_password" /> + + </LinearLayout> + +</ScrollView> diff --git a/res/layout/wifi_screen.xml b/res/layout/wifi_screen.xml new file mode 100644 index 0000000..a247f85 --- /dev/null +++ b/res/layout/wifi_screen.xml @@ -0,0 +1,228 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* //device/apps/Settings/assets/res/any/layout/wifi_screen.xml +** +** Copyright 2007, 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. +*/ +--> +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:paddingLeft="2dip" + android:paddingRight="2dip"> + + <LinearLayout + android:orientation="vertical" + android:paddingLeft="6dip" + android:paddingRight="6dip" + android:paddingBottom="3dip" + android:layout_width="fill_parent" android:layout_height="wrap_content"> + + <TextView android:id="@+id/status" + android:textSize="13sp" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="@string/wifi_screen_status_text" /> + + <LinearLayout + android:orientation="horizontal" + android:paddingLeft="3dip" + android:paddingRight="3dip" + android:paddingTop="0dip" + android:paddingBottom="0dip" + android:layout_height="wrap_content" android:layout_width="fill_parent"> + + <CheckBox android:id="@+id/dhcp" + android:textSize="13sp" + android:layout_width="100dip" + android:layout_height="wrap_content" + android:text="@string/wifi_screen_dhcp_text" /> + + <CheckBox android:id="@+id/manual" + android:textSize="13sp" + android:layout_width="100dip" + android:layout_height="wrap_content" + android:text="@string/wifi_screen_manual_text" /> + + </LinearLayout> + <LinearLayout + android:orientation="horizontal" + android:paddingLeft="3dip" + android:paddingRight="3dip" + android:paddingTop="0dip" + android:paddingBottom="0dip" + android:layout_height="wrap_content" android:layout_width="fill_parent"> + + <TextView + android:textSize="13sp" + android:textStyle="bold" + android:paddingTop="6dip" + android:maxLines="1" + android:layout_width="60dip" android:layout_height="wrap_content" + android:text="@string/wifi_wlan_id" /> + + <Spinner android:id="@+id/essid" + android:textSize="13sp" + android:maxLines="1" + android:layout_marginLeft="3dip" + android:layout_width="150dip" + android:layout_height="wrap_content"> + <requestFocus/> + </Spinner> + + </LinearLayout> + + <LinearLayout + android:orientation="horizontal" + android:paddingLeft="3dip" + android:paddingRight="3dip" + android:paddingTop="0dip" + android:paddingBottom="0dip" + android:layout_height="wrap_content" android:layout_width="fill_parent"> + + <Button android:id="@+id/activate" + android:textSize="13sp" + android:layout_marginTop="2dip" + android:layout_width="100dip" android:layout_height="wrap_content" + android:text="@string/wifi_screen_activate_text" /> + + <Button android:id="@+id/test" + android:textSize="13sp" + android:layout_marginTop="2dip" + android:layout_width="100dip" android:layout_height="wrap_content" + android:text="@string/wifi_screen_test_text" /> + + </LinearLayout> + + <LinearLayout android:id="@+id/manualconfig" + android:orientation="vertical" + android:paddingLeft="3dip" + android:paddingRight="3dip" + android:paddingBottom="3dip" + android:layout_width="fill_parent" android:layout_height="wrap_content"> + + <LinearLayout + android:orientation="horizontal" + android:paddingLeft="3dip" + android:paddingRight="3dip" + android:paddingTop="0dip" + android:paddingBottom="0dip" + android:layout_height="wrap_content" android:layout_width="fill_parent"> + + <TextView + android:textSize="13sp" + android:textStyle="bold" + android:paddingTop="6dip" + android:maxLines="1" + android:layout_width="60dip" android:layout_height="wrap_content" + android:text="@string/wifi_host_ip" /> + + <EditText android:id="@+id/ip" + android:textSize="13sp" + android:maxLines="1" + android:layout_marginLeft="3dip" + android:autoText="false" + android:capitalize="none" + android:layout_width="150dip" android:layout_height="wrap_content" + android:text="@string/wifi_screen_ip_text" /> + + </LinearLayout> + + <LinearLayout + android:orientation="horizontal" + android:paddingLeft="3dip" + android:paddingRight="3dip" + android:paddingTop="0dip" + android:paddingBottom="0dip" + android:layout_height="wrap_content" android:layout_width="fill_parent"> + + <TextView + android:textSize="13sp" + android:textStyle="bold" + android:paddingTop="6dip" + android:maxLines="1" + android:layout_width="60dip" android:layout_height="wrap_content" + android:text="@string/wifi_netmask_label" /> + + <EditText android:id="@+id/netmask" + android:textSize="13sp" + android:maxLines="1" + android:layout_marginLeft="3dip" + android:layout_width="150dip" android:layout_height="wrap_content" + android:autoText="false" + android:capitalize="none" + android:text="@string/wifi_screen_netmask_text" /> + + </LinearLayout> + + <LinearLayout + android:orientation="horizontal" + android:paddingLeft="3dip" + android:paddingRight="3dip" + android:paddingTop="0dip" + android:paddingBottom="0dip" + android:layout_height="wrap_content" android:layout_width="fill_parent"> + + <TextView + android:textSize="13sp" + android:textStyle="bold" + android:paddingTop="6dip" + android:maxLines="1" + android:layout_width="60dip" android:layout_height="wrap_content" + android:text="@string/wifi_gateway_label" /> + + <EditText android:id="@+id/gateway" + android:textSize="13sp" + android:maxLines="1" + android:layout_marginLeft="3dip" + android:layout_width="150dip" android:layout_height="wrap_content" + android:autoText="false" + android:capitalize="none" + android:text="@string/wifi_screen_gateway_text" /> + + </LinearLayout> + + <LinearLayout + android:orientation="horizontal" + android:paddingLeft="3dip" + android:paddingRight="3dip" + android:paddingTop="0dip" + android:paddingBottom="0dip" + android:layout_height="wrap_content" android:layout_width="fill_parent"> + + <TextView + android:textSize="13sp" + android:textStyle="bold" + android:paddingTop="6dip" + android:maxLines="1" + android:layout_width="60dip" android:layout_height="wrap_content" + android:text="@string/wifi_dns_label" /> + + <EditText android:id="@+id/dns" + android:textSize="13sp" + android:maxLines="1" + android:layout_marginLeft="3dip" + android:layout_width="150dip" android:layout_height="wrap_content" + android:autoText="false" + android:capitalize="none" + android:text="@string/wifi_screen_dns_text" /> + + </LinearLayout> + + </LinearLayout> + + + </LinearLayout> +</FrameLayout> |