diff options
author | Diogo Ferreira <diogo@underdev.org> | 2016-01-05 15:28:58 +0000 |
---|---|---|
committer | Diogo Ferreira <diogo@underdev.org> | 2016-01-05 15:28:58 +0000 |
commit | f8431ca72a05049d386fc2eba34f8f34ea5dd31d (patch) | |
tree | 54e6f5862ffa9e170f8929522add43fcd307a7c9 /res/layout | |
parent | 8805e250ae89cfa2a644b52793af9affe9d94529 (diff) | |
download | packages_apps_Settings-f8431ca72a05049d386fc2eba34f8f34ea5dd31d.tar.gz packages_apps_Settings-f8431ca72a05049d386fc2eba34f8f34ea5dd31d.tar.bz2 packages_apps_Settings-f8431ca72a05049d386fc2eba34f8f34ea5dd31d.zip |
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-x | res/layout/regulatory_info.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/layout/regulatory_info.xml b/res/layout/regulatory_info.xml index 8cd415710..fd888d9f7 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" /> |