Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2016 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 
     17 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
     18     android:layout_width="match_parent"
     19     android:layout_height="match_parent"
     20     style="@style/RootLayoutPadding">
     21   <LinearLayout
     22       android:layout_width="match_parent"
     23       android:layout_height="match_parent"
     24       android:orientation="vertical">
     25     <TextView
     26       android:layout_width="match_parent"
     27       android:layout_height="wrap_content"
     28       android:text="@string/voicemail_broadcast_instructions"/>
     29 
     30     <TextView
     31         android:id="@+id/no_carrier_support"
     32         android:layout_width="match_parent"
     33         android:layout_height="wrap_content"
     34         android:text="@string/voicemail_broadcast_no_carrier_support"
     35         android:visibility="gone"/>
     36 
     37     <LinearLayout
     38       android:layout_width="wrap_content"
     39       android:layout_height="wrap_content"
     40       android:layout_marginTop="@dimen/js_padding"
     41       android:layout_marginBottom="@dimen/js_padding">
     42       <ImageView
     43         android:id="@+id/set_default_dialer_image"
     44         android:layout_width="wrap_content"
     45         android:layout_height="wrap_content"
     46         android:src="@drawable/fs_indeterminate"
     47         android:layout_marginRight="@dimen/js_padding"/>
     48       <TextView
     49         android:layout_width="wrap_content"
     50         android:layout_height="wrap_content"
     51         android:text="@string/voicemail_set_default_dialer_description"
     52         android:textSize="16dp"/>
     53     </LinearLayout>
     54 
     55     <Button
     56       android:id="@+id/set_default_dialer"
     57       android:layout_width="wrap_content"
     58       android:layout_height="wrap_content"
     59       android:text="@string/voicemail_set_default_dialer_button"/>
     60 
     61     <LinearLayout
     62       android:layout_width="wrap_content"
     63       android:layout_height="wrap_content"
     64       android:layout_marginTop="@dimen/js_padding"
     65       android:layout_marginBottom="@dimen/js_padding">
     66       <ImageView
     67         android:id="@+id/leave_voicemail_image"
     68         android:layout_width="wrap_content"
     69         android:layout_height="wrap_content"
     70         android:src="@drawable/fs_indeterminate"
     71         android:layout_marginRight="@dimen/js_padding"/>
     72       <TextView
     73         android:id="@+id/leave_voicemail_text"
     74         android:layout_width="wrap_content"
     75         android:layout_height="wrap_content"
     76         android:text="@string/voicemail_leave_voicemail"
     77         android:textSize="16dp"/>
     78     </LinearLayout>
     79 
     80     <LinearLayout
     81       android:layout_width="wrap_content"
     82       android:layout_height="wrap_content"
     83       android:layout_marginTop="@dimen/js_padding"
     84       android:layout_marginBottom="@dimen/js_padding">
     85       <ImageView
     86         android:id="@+id/restore_default_dialer_image"
     87         android:layout_width="wrap_content"
     88         android:layout_height="wrap_content"
     89         android:src="@drawable/fs_indeterminate"
     90         android:layout_marginRight="@dimen/js_padding"/>
     91       <TextView
     92         android:id="@+id/restore_default_dialer_text"
     93         android:layout_width="wrap_content"
     94         android:layout_height="wrap_content"
     95         android:text="@string/voicemail_restore_default_dialer_description"
     96         android:textSize="16dp"/>
     97     </LinearLayout>
     98 
     99     <Button
    100       android:id="@+id/restore_default_dialer"
    101       android:layout_width="wrap_content"
    102       android:layout_height="wrap_content"
    103       android:text="@string/voicemail_restore_default_dialer_button"/>
    104 
    105     <include layout="@layout/pass_fail_buttons" />
    106   </LinearLayout>
    107 </ScrollView>
    108