summaryrefslogtreecommitdiff
path: root/android/testData/designer/simple2.xml
blob: 788795306588bc37cdf50b1e4ee9bf7299b4e7cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:orientation="vertical">
  <!-- Using fixed pixel heights to make unit test bounds predictable, avoid font height platform differences -->
  <Button
      android:layout_width="fill_parent"
      android:layout_height="200px"
      android:text="My Button" />

  <TextView
      android:layout_width="400px"
      android:layout_height="220px"
      android:text="My TextView" />
</LinearLayout>