summaryrefslogtreecommitdiffstats
path: root/res/layout/regulatory_info.xml
diff options
context:
space:
mode:
authorBrian Muramatsu <btmura@google.com>2012-09-18 18:39:29 -0700
committerBrian Muramatsu <btmura@google.com>2012-09-18 21:58:05 -0700
commitb585c62811064e29440bf6b50376a9a799da5173 (patch)
tree2e91f87ffd9bcc38ce2e5e387e6b035908982e0c /res/layout/regulatory_info.xml
parent27f155a4012aece82d58f7142960aec6414ade4d (diff)
downloadpackages_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-xres/layout/regulatory_info.xml6
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"/>