Home | History | Annotate | Download | only in layout
      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                 android:layout_marginLeft="24dp"/>
     40 
     41         </LinearLayout>
     42 
     43         <TextView
     44             android:layout_width="wrap_content"
     45             android:layout_height="wrap_content"
     46             android:text="@string/accessibility_roledescription_example"/>
     47 
     48         <LinearLayout
     49             android:layout_width="match_parent"
     50             android:layout_height="wrap_content"
     51             android:orientation="vertical"
     52             android:padding="24dp">
     53 
     54             <TextView
     55                 android:id="@+id/text_heading_1"
     56                 android:layout_width="wrap_content"
     57                 android:layout_height="wrap_content"
     58                 android:layout_marginStart="0dp"
     59                 android:textSize="24sp"
     60                 android:text="@string/accessibility_roledescription_h1_item"
     61                 android:layout_marginLeft="0dp"/>
     62 
     63             <TextView
     64                 android:id="@+id/text_heading_2"
     65                 android:layout_width="wrap_content"
     66                 android:layout_height="wrap_content"
     67                 android:layout_marginStart="24dp"
     68                 android:textSize="20sp"
     69                 android:text="@string/accessibility_roledescription_h2_item"
     70                 android:layout_marginLeft="24dp"/>
     71 
     72             <TextView
     73                 android:id="@+id/text_heading_3"
     74                 android:layout_width="wrap_content"
     75                 android:layout_height="wrap_content"
     76                 android:layout_marginStart="48dp"
     77                 android:textSize="16sp"
     78                 android:text="@string/accessibility_roledescription_h3_item"
     79                 android:layout_marginLeft="48dp"/>
     80 
     81         </LinearLayout>
     82 
     83         <TextView
     84             android:layout_width="wrap_content"
     85             android:layout_height="wrap_content"
     86             android:text="@string/accessibility_roledescription_counterexample"/>
     87 
     88         <LinearLayout
     89             android:layout_width="match_parent"
     90             android:layout_height="wrap_content"
     91             android:orientation="vertical"
     92             android:padding="24dp">
     93 
     94             <Button
     95                 android:id="@+id/button"
     96                 android:layout_width="wrap_content"
     97                 android:layout_height="wrap_content"
     98                 android:text="@string/accessibility_roledescription_button_item"/>
     99 
    100         </LinearLayout>
    101 
    102     </LinearLayout>
    103 
    104 </ScrollView>
    105