1 <?xml version="1.0" encoding="utf-8"?> 2 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_width="match_parent" 4 android:layout_height="match_parent"> 5 6 <LinearLayout 7 android:layout_width="match_parent" 8 android:layout_height="match_parent" 9 android:orientation="vertical"> 10 11 <TextView 12 android:layout_width="wrap_content" 13 android:layout_height="wrap_content" 14 android:text="@string/accessibility_roledescription_instructions"/> 15 16 <LinearLayout 17 android:layout_width="match_parent" 18 android:layout_height="wrap_content" 19 android:orientation="horizontal" 20 android:padding="24dp"> 21 22 <TextView 23 android:id="@+id/text_view_1" 24 android:layout_width="wrap_content" 25 android:layout_height="wrap_content" 26 android:padding="24dp" 27 android:background="#ffffff" 28 android:textColor="#000000" 29 android:text="@string/accessibility_roledescription_item"/> 30 31 <TextView 32 android:layout_width="wrap_content" 33 android:layout_height="wrap_content" 34 android:layout_marginStart="24dp" 35 android:padding="24dp" 36 android:background="#ffffff" 37 android:textColor="#000000" 38 android:text="@string/accessibility_roledescription_item"/> 39 40 </LinearLayout> 41 42 <TextView 43 android:layout_width="wrap_content" 44 android:layout_height="wrap_content" 45 android:text="@string/accessibility_roledescription_example"/> 46 47 <LinearLayout 48 android:layout_width="match_parent" 49 android:layout_height="wrap_content" 50 android:orientation="vertical" 51 android:padding="24dp"> 52 53 <TextView 54 android:id="@+id/text_heading_1" 55 android:layout_width="wrap_content" 56 android:layout_height="wrap_content" 57 android:layout_marginStart="0dp" 58 android:textSize="24sp" 59 android:text="@string/accessibility_roledescription_h1_item"/> 60 61 <TextView 62 android:id="@+id/text_heading_2" 63 android:layout_width="wrap_content" 64 android:layout_height="wrap_content" 65 android:layout_marginStart="24dp" 66 android:textSize="20sp" 67 android:text="@string/accessibility_roledescription_h2_item"/> 68 69 <TextView 70 android:id="@+id/text_heading_3" 71 android:layout_width="wrap_content" 72 android:layout_height="wrap_content" 73 android:layout_marginStart="48dp" 74 android:textSize="16sp" 75 android:text="@string/accessibility_roledescription_h3_item"/> 76 77 </LinearLayout> 78 79 <TextView 80 android:layout_width="wrap_content" 81 android:layout_height="wrap_content" 82 android:text="@string/accessibility_roledescription_counterexample"/> 83 84 <LinearLayout 85 android:layout_width="match_parent" 86 android:layout_height="wrap_content" 87 android:orientation="vertical" 88 android:padding="24dp"> 89 90 <Button 91 android:id="@+id/button" 92 android:layout_width="wrap_content" 93 android:layout_height="wrap_content" 94 android:text="@string/accessibility_roledescription_button_item"/> 95 96 </LinearLayout> 97 98 </LinearLayout> 99 100 </ScrollView> 101