summaryrefslogtreecommitdiffstats
path: root/tests/Split/res/layout
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2014-08-21 11:21:42 -0700
committerAdam Lesinski <adamlesinski@google.com>2014-08-21 11:38:49 -0700
commit49e2fa5c5e0389d5a457b99fd785ce33f3977c65 (patch)
tree6a0e9ba5c40dc79747d4278f56fde91901ef99fa /tests/Split/res/layout
parent6a7d2757a936ee79b8dba2055139c8b71130c58e (diff)
downloadframeworks_base-49e2fa5c5e0389d5a457b99fd785ce33f3977c65.zip
frameworks_base-49e2fa5c5e0389d5a457b99fd785ce33f3977c65.tar.gz
frameworks_base-49e2fa5c5e0389d5a457b99fd785ce33f3977c65.tar.bz2
Update the Split example
Caveat: There are two bugs: - Mipmap definitions get placed in all splits. - mdpi drawable doesn't get split properly. Change-Id: I53b8e54cbcb3dfba495ec68e602f98666e8883a7
Diffstat (limited to 'tests/Split/res/layout')
-rw-r--r--tests/Split/res/layout/main.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/Split/res/layout/main.xml b/tests/Split/res/layout/main.xml
index 36992a2..607cdb0 100644
--- a/tests/Split/res/layout/main.xml
+++ b/tests/Split/res/layout/main.xml
@@ -14,6 +14,12 @@
limitations under the License.
-->
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="match_parent"/>
+ android:layout_height="match_parent">
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:src="@drawable/image"/>
+</RelativeLayout>