aboutsummaryrefslogtreecommitdiffstats
path: root/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/data/res/layout/nested_weights2.xml
blob: 7002b89ff1c3a6682f8df2d9225256d67dc05289 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
   android:layout_width="fill_parent"
   android:layout_height="fill_parent" >

   <LinearLayout
       android:layout_width="fill_parent"
       android:layout_height="fill_parent"
       android:orientation="vertical" >

       <LinearLayout
           android:layout_width="fill_parent"
           android:layout_height="wrap_content"
           android:orientation="horizontal" >

           <ImageView
               android:layout_width="32dp"
               android:layout_height="32dp"
               android:layout_gravity="center_vertical"
               android:src="@drawable/launcher_icon" />

           <TextView
               android:layout_width="0dp"
               android:layout_height="fill_parent"
               android:layout_gravity="center_vertical"
               android:layout_weight="1"
               android:text="test" />
       </LinearLayout>

       <LinearLayout
           android:layout_width="fill_parent"
           android:layout_weight="1"
           android:layout_height="0dp"
           android:orientation="vertical" >
       </LinearLayout>
   </LinearLayout>

</FrameLayout>