summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorDiogo Ferreira <diogo@underdev.org>2016-01-05 15:28:58 +0000
committerDiogo Ferreira <diogo@underdev.org>2016-01-05 15:28:58 +0000
commitf8431ca72a05049d386fc2eba34f8f34ea5dd31d (patch)
tree54e6f5862ffa9e170f8929522add43fcd307a7c9 /res/layout
parent8805e250ae89cfa2a644b52793af9affe9d94529 (diff)
downloadpackages_apps_Settings-f8431ca72a05049d386fc2eba34f8f34ea5dd31d.zip
packages_apps_Settings-f8431ca72a05049d386fc2eba34f8f34ea5dd31d.tar.gz
packages_apps_Settings-f8431ca72a05049d386fc2eba34f8f34ea5dd31d.tar.bz2
regulatory: Make the image fill the whole parent
Since the scale type is centerCrop, the container must fill the parent so that the image is properly centered in the screen in both landscape and portrait. Change-Id: Ieb664271eb37903ee0e043c6bfdf8f65c95025b9
Diffstat (limited to 'res/layout')
-rwxr-xr-xres/layout/regulatory_info.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/layout/regulatory_info.xml b/res/layout/regulatory_info.xml
index 8cd4157..fd888d9 100755
--- a/res/layout/regulatory_info.xml
+++ b/res/layout/regulatory_info.xml
@@ -19,7 +19,7 @@
<ImageView
android:id="@+id/regulatoryInfo"
android:adjustViewBounds="true"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="centerCrop"
android:src="@drawable/regulatory_info" />