Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /**
      4  * Copyright (C) 2015 The Android Open Source Project
      5  *
      6  * Licensed under the Apache License, Version 2.0 (the "License");
      7  * you may not use this file except in compliance with the License.
      8  * You may obtain a copy of the License at
      9  *
     10  *     http://www.apache.org/licenses/LICENSE-2.0
     11  *
     12  * Unless required by applicable law or agreed to in writing, software
     13  * distributed under the License is distributed on an "AS IS" BASIS,
     14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     15  * See the License for the specific language governing permissions and
     16  * limitations under the License.
     17  */
     18 -->
     19 <LinearLayout
     20     xmlns:android="http://schemas.android.com/apk/res/android"
     21     style="@style/DialogFragmentTextContainer">
     22 
     23     <ScrollView
     24         android:layout_weight="1"
     25         android:layout_height="0dp"
     26         style="@style/DialogFragmentScrollView">
     27 
     28         <LinearLayout
     29             android:layout_height="wrap_content"
     30             android:layout_width="match_parent"
     31             android:orientation="vertical">
     32 
     33             <TextView
     34                 android:id="@+id/delete_managed_profile_opening_paragraph"
     35                 android:text="@string/opening_paragraph_delete_profile_unknown_company"
     36                 style="@style/MainText"
     37                 android:paddingTop="@dimen/row_padding_top"/>
     38 
     39             <include layout="@layout/device_manager_icon_label" />
     40 
     41             <TextView
     42                 android:id="@+id/delete_managed_profile_read_more_link"
     43                 android:text="@string/read_more_delete_profile"
     44                 android:visibility="gone"
     45                 style="@style/MainText"/>
     46 
     47             <TextView
     48                 android:id="@+id/delete_managed_profile_closing_paragraph"
     49                 android:text="@string/sure_you_want_to_delete_profile"
     50                 style="@style/MainText"/>
     51 
     52         </LinearLayout>
     53 
     54     </ScrollView>
     55 
     56     <RelativeLayout
     57         android:layout_width="match_parent"
     58         android:layout_height="@dimen/row_height">
     59 
     60         <Button
     61             android:id="@+id/delete_managed_profile_positive_button"
     62             android:layout_alignParentEnd="true"
     63             android:layout_alignParentBottom="true"
     64             android:text="@string/delete_profile"
     65             style="@style/TransparentButton" />
     66 
     67         <Button
     68             android:id="@+id/delete_managed_profile_negative_button"
     69             android:layout_alignParentBottom="true"
     70             android:layout_toStartOf="@id/delete_managed_profile_positive_button"
     71             android:text="@string/cancel_delete_profile"
     72             style="@style/TransparentButton" />
     73 
     74     </RelativeLayout>
     75 
     76 </LinearLayout>
     77