diff options
author | Brian Muramatsu <btmura@google.com> | 2012-09-18 18:39:29 -0700 |
---|---|---|
committer | Brian Muramatsu <btmura@google.com> | 2012-09-18 21:58:05 -0700 |
commit | b585c62811064e29440bf6b50376a9a799da5173 (patch) | |
tree | 2e91f87ffd9bcc38ce2e5e387e6b035908982e0c /res/layout/regulatory_info.xml | |
parent | 27f155a4012aece82d58f7142960aec6414ade4d (diff) | |
download | packages_apps_Settings-b585c62811064e29440bf6b50376a9a799da5173.zip packages_apps_Settings-b585c62811064e29440bf6b50376a9a799da5173.tar.gz packages_apps_Settings-b585c62811064e29440bf6b50376a9a799da5173.tar.bz2 |
Fix regulatory information dialog appearance
Bug 7081675
Replace RegulatoryInfoFragment with a custom preference so that the info
shows up properly in a dialog. DialogFragments do not appear
as dialogs when instantiated from preference XML files.
Change-Id: Icbdf73bd5b1d14f28a01d7b9cb0f37d90340eb46
Diffstat (limited to 'res/layout/regulatory_info.xml')
-rwxr-xr-x | res/layout/regulatory_info.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/res/layout/regulatory_info.xml b/res/layout/regulatory_info.xml index e4999a4..dc1efe8 100755 --- a/res/layout/regulatory_info.xml +++ b/res/layout/regulatory_info.xml @@ -14,6 +14,8 @@ limitations under the License. --> <ImageView xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" + android:adjustViewBounds="true" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:scaleType="centerCrop" android:src="@drawable/regulatory_info"/> |