From 33787156266b657996be0bf79f969d08ee70c9ba Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Fri, 8 Jan 2010 15:07:10 -0800 Subject: [PATCH] Deprecate fill_parent and introduce match_parent. Bug: #2361749. --- res/layout-land/choose_lock_pattern.xml | 12 ++--- res/layout-land/confirm_lock_pattern.xml | 14 +++--- res/layout/apn_preference_layout.xml | 2 +- res/layout/band_mode.xml | 8 +-- res/layout/battery_history.xml | 46 ++++++++--------- res/layout/bluetooth.xml | 14 +++--- res/layout/bluetooth_device_info.xml | 16 +++--- res/layout/bluetooth_discoverable.xml | 6 +-- res/layout/bluetooth_pin_entry.xml | 12 ++--- res/layout/bookmark_picker_item.xml | 4 +- res/layout/choose_lock_pattern.xml | 14 +++--- res/layout/choose_lock_pattern_example.xml | 18 +++---- res/layout/choose_lock_pattern_tutorial.xml | 14 +++--- res/layout/compute_sizes.xml | 8 +-- res/layout/confirm_lock_pattern.xml | 10 ++-- res/layout/credentials_password_dialog.xml | 22 ++++---- res/layout/credentials_unlock_dialog.xml | 12 ++--- res/layout/date_time_settings_setupwizard.xml | 12 ++--- res/layout/dialog_edittext.xml | 2 +- res/layout/display.xml | 8 +-- res/layout/installed_app_details.xml | 42 ++++++++-------- res/layout/intent_sender.xml | 8 +-- res/layout/list_content_with_empty_view.xml | 12 ++--- res/layout/locale_picker.xml | 8 +-- res/layout/locale_picker_in_setupwizard.xml | 10 ++-- res/layout/locale_picker_item.xml | 2 +- res/layout/manage_applications_item.xml | 4 +- res/layout/pick_item.xml | 2 +- res/layout/power_usage_action_item.xml | 6 +-- res/layout/power_usage_detail_item_text.xml | 2 +- res/layout/power_usage_details.xml | 18 +++---- res/layout/power_usage_package_item.xml | 2 +- res/layout/preference_bluetooth.xml | 2 +- res/layout/preference_dialog_brightness.xml | 12 ++--- res/layout/preference_dialog_ringervolume.xml | 18 +++---- res/layout/preference_icon.xml | 2 +- res/layout/preference_powergauge.xml | 4 +- res/layout/proxy.xml | 12 ++--- res/layout/radio_info.xml | 10 ++-- res/layout/remember_dock_setting.xml | 2 +- res/layout/running_services.xml | 16 +++--- res/layout/running_services_item.xml | 8 +-- res/layout/sdcard_settings_screen.xml | 16 +++--- res/layout/usage_stats.xml | 14 +++--- res/layout/usage_stats_item.xml | 2 +- res/layout/vpn_connect_dialog_view.xml | 16 +++--- res/layout/widget.xml | 42 ++++++++-------- res/layout/wifi_ap_configure.xml | 50 +++++++++---------- res/layout/wifi_ap_info.xml | 14 +++--- res/layout/wifi_ap_info_row.xml | 2 +- res/layout/wifi_ap_retry_password.xml | 12 ++--- res/layout/wifi_config_info.xml | 4 +- res/layout/wifi_status_test.xml | 4 +- res/values/styles.xml | 6 +-- src/com/android/settings/BandMode.java | 2 +- .../bluetooth_request_permission_test.xml | 8 +-- 56 files changed, 324 insertions(+), 324 deletions(-) diff --git a/res/layout-land/choose_lock_pattern.xml b/res/layout-land/choose_lock_pattern.xml index 9d623f6bf06..9af76d10402 100644 --- a/res/layout-land/choose_lock_pattern.xml +++ b/res/layout-land/choose_lock_pattern.xml @@ -18,28 +18,28 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/topLayout" android:orientation="horizontal" - android:layout_width="fill_parent" - android:layout_height="fill_parent" + android:layout_width="match_parent" + android:layout_height="match_parent" android:background="@color/black"> @@ -81,7 +81,7 @@ + android:layout_height="match_parent" /> @@ -40,13 +40,13 @@ @@ -55,7 +55,7 @@ + android:layout_height="match_parent" /> diff --git a/res/layout/band_mode.xml b/res/layout/band_mode.xml index e920af01a78..ddbc7ae8951 100644 --- a/res/layout/band_mode.xml +++ b/res/layout/band_mode.xml @@ -18,12 +18,12 @@ android:orientation="vertical" android:padding="4dip" android:gravity="center_horizontal" - android:layout_width="fill_parent" - android:layout_height="fill_parent"> + android:layout_width="match_parent" + android:layout_height="match_parent"> diff --git a/res/layout/battery_history.xml b/res/layout/battery_history.xml index 5421c408a9b..b46d97b83ba 100644 --- a/res/layout/battery_history.xml +++ b/res/layout/battery_history.xml @@ -2,44 +2,44 @@ + android:layout_width="match_parent" + android:layout_height="match_parent"> + android:layout_width="match_parent" + android:layout_height="match_parent" > + android:layout_width="match_parent" + android:layout_height="match_parent" > + android:layout_width="match_parent" + android:layout_height="match_parent" > diff --git a/res/layout/bluetooth.xml b/res/layout/bluetooth.xml index 530cbbe61e5..a4ac1ca9351 100644 --- a/res/layout/bluetooth.xml +++ b/res/layout/bluetooth.xml @@ -19,32 +19,32 @@ -->