layout_list_screen.xml (2407B)
1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:orientation="horizontal" android:layout_width="match_parent" 4 android:layout_height="match_parent"> 5 6 <LinearLayout 7 android:orientation="vertical" 8 android:layout_width="wrap_content" 9 android:layout_height="match_parent" 10 android:layout_weight="0.45"> 11 <TextView 12 android:layout_width="match_parent" 13 android:layout_height="wrap_content" 14 android:text="Shared Items" 15 android:id="@+id/sharedItemsTV" 16 android:textAppearance="?android:attr/textAppearanceLarge" 17 android:background="@color/black" 18 android:textColor="@color/white" 19 android:paddingTop="10dp" 20 android:paddingBottom="10dp" 21 android:paddingLeft="5dp" 22 android:textSize="15sp"/> 23 24 <ListView 25 android:id="@+id/sharedItems" 26 android:layout_width="fill_parent" 27 android:layout_height="wrap_content" 28 android:layout_weight="0.4" 29 android:paddingRight="5dp" /> 30 31 </LinearLayout> 32 33 <TextView 34 android:layout_width="1dp" 35 android:layout_height="fill_parent" 36 android:textAppearance="?android:attr/textAppearanceLarge" 37 android:id="@+id/textView4" 38 android:background="#ffc0c0c0" /> 39 40 <LinearLayout 41 android:orientation="vertical" 42 android:layout_width="wrap_content" 43 android:layout_height="match_parent" 44 android:layout_weight="0.45"> 45 <TextView 46 android:layout_width="match_parent" 47 android:layout_height="wrap_content" 48 android:text="Available Lists" 49 android:id="@+id/privateItemsTV" 50 android:background="@color/black" 51 android:textColor="@color/white" 52 android:textAppearance="?android:attr/textAppearanceLarge" 53 android:paddingTop="10dp" 54 android:paddingBottom="10dp" 55 android:paddingLeft="5dp" 56 android:textSize="15sp"/> 57 58 <ListView 59 android:id="@+id/privateItems" 60 android:layout_width="fill_parent" 61 android:layout_height="wrap_content" 62 android:layout_weight="0.4" 63 android:paddingLeft="2dp" /> 64 </LinearLayout> 65 66 </LinearLayout>