Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3   ~ Copyright (C) 2017 The Android Open Source Project
      4   ~
      5   ~ Licensed under the Apache License, Version 2.0 (the "License");
      6   ~ you may not use this file except in compliance with the License.
      7   ~ You may obtain a copy of the License at
      8   ~
      9   ~      http://www.apache.org/licenses/LICENSE-2.0
     10   ~
     11   ~ Unless required by applicable law or agreed to in writing, software
     12   ~ distributed under the License is distributed on an "AS IS" BASIS,
     13   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14   ~ See the License for the specific language governing permissions and
     15   ~ limitations under the License
     16   -->
     17 
     18 <ScrollView
     19     xmlns:android="http://schemas.android.com/apk/res/android"
     20     android:layout_width="match_parent"
     21     android:layout_height="wrap_content">
     22     <LinearLayout
     23         xmlns:android="http://schemas.android.com/apk/res/android"
     24         android:orientation="vertical"
     25         android:layout_width="match_parent"
     26         android:layout_height="wrap_content">
     27 
     28         <TextView
     29             android:layout_width="match_parent"
     30             android:layout_height="wrap_content"
     31             android:text="@string/telecom_incoming_self_mgd_info"/>
     32 
     33         <RelativeLayout
     34             android:layout_width="match_parent"
     35             android:layout_height="wrap_content"
     36             android:layout_marginTop="@dimen/js_padding"
     37             android:layout_marginBottom="@dimen/js_padding">
     38 
     39             <ImageView
     40                 android:id="@+id/step_1_status"
     41                 android:layout_width="wrap_content"
     42                 android:layout_height="wrap_content"
     43                 android:src="@drawable/fs_indeterminate"
     44                 android:layout_marginRight="@dimen/js_padding"
     45                 android:layout_alignParentStart="true"
     46                 android:layout_alignParentTop="true" />
     47             <TextView
     48                 android:id="@+id/step_1_instructions"
     49                 android:layout_width="wrap_content"
     50                 android:layout_height="wrap_content"
     51                 android:text="@string/telecom_incoming_self_mgd_step_1"
     52                 android:textSize="16dp"
     53                 android:layout_alignParentRight="true"
     54                 android:layout_alignParentTop="true"
     55                 android:layout_toRightOf="@id/step_1_status" />
     56             <Button
     57                 android:layout_width="wrap_content"
     58                 android:layout_height="wrap_content"
     59                 android:layout_alignParentRight="true"
     60                 android:layout_below="@id/step_1_instructions"
     61                 android:layout_marginLeft="20dip"
     62                 android:layout_marginRight="20dip"
     63                 android:layout_toRightOf="@id/step_1_status"
     64                 android:id="@+id/telecom_incoming_self_mgd_register_button"
     65                 android:text="@string/telecom_incoming_self_mgd_register_button"/>
     66         </RelativeLayout>
     67 
     68         <RelativeLayout
     69             android:layout_width="match_parent"
     70             android:layout_height="wrap_content"
     71             android:layout_marginTop="@dimen/js_padding"
     72             android:layout_marginBottom="@dimen/js_padding">
     73 
     74             <ImageView
     75                 android:id="@+id/step_2_status"
     76                 android:layout_width="wrap_content"
     77                 android:layout_height="wrap_content"
     78                 android:src="@drawable/fs_indeterminate"
     79                 android:layout_marginRight="@dimen/js_padding"
     80                 android:layout_alignParentStart="true"
     81                 android:layout_alignParentTop="true" />
     82             <TextView
     83                 android:id="@+id/step_2_instructions"
     84                 android:layout_width="wrap_content"
     85                 android:layout_height="wrap_content"
     86                 android:text="@string/telecom_incoming_self_mgd_step_2"
     87                 android:textSize="16dp"
     88                 android:layout_alignParentRight="true"
     89                 android:layout_alignParentTop="true"
     90                 android:layout_toRightOf="@id/step_2_status" />
     91             <Button
     92                 android:layout_width="wrap_content"
     93                 android:layout_height="wrap_content"
     94                 android:layout_alignParentRight="true"
     95                 android:layout_below="@id/step_2_instructions"
     96                 android:layout_marginLeft="20dip"
     97                 android:layout_marginRight="20dip"
     98                 android:layout_toRightOf="@id/step_2_status"
     99                 android:id="@+id/telecom_incoming_self_mgd_show_ui_button"
    100                 android:text="@string/telecom_incoming_self_mgd_show_ui_button"/>
    101         </RelativeLayout>
    102 
    103         <RelativeLayout
    104             android:layout_width="match_parent"
    105             android:layout_height="wrap_content"
    106             android:layout_marginTop="@dimen/js_padding"
    107             android:layout_marginBottom="@dimen/js_padding">
    108 
    109             <ImageView
    110                 android:id="@+id/step_3_status"
    111                 android:layout_width="wrap_content"
    112                 android:layout_height="wrap_content"
    113                 android:src="@drawable/fs_indeterminate"
    114                 android:layout_marginRight="@dimen/js_padding"
    115                 android:layout_alignParentStart="true"
    116                 android:layout_alignParentTop="true" />
    117             <TextView
    118                 android:id="@+id/step_3_instructions"
    119                 android:layout_width="wrap_content"
    120                 android:layout_height="wrap_content"
    121                 android:text="@string/telecom_incoming_self_mgd_step_3"
    122                 android:textSize="16dp"
    123                 android:layout_alignParentRight="true"
    124                 android:layout_alignParentTop="true"
    125                 android:layout_toRightOf="@id/step_3_status" />
    126             <Button
    127                 android:layout_width="wrap_content"
    128                 android:layout_height="wrap_content"
    129                 android:layout_alignParentRight="true"
    130                 android:layout_below="@id/step_3_instructions"
    131                 android:layout_marginLeft="20dip"
    132                 android:layout_marginRight="20dip"
    133                 android:layout_toRightOf="@id/step_3_status"
    134                 android:id="@+id/telecom_incoming_self_mgd_confirm_answer_button"
    135                 android:text="@string/telecom_incoming_self_mgd_confirm_answer_button"/>
    136         </RelativeLayout>
    137 
    138         <include layout="@layout/pass_fail_buttons" />
    139     </LinearLayout>
    140 </ScrollView>