1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2015 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 <LinearLayout 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:orientation="vertical"> 22 23 <ScrollView 24 android:layout_width="match_parent" 25 android:layout_height="0dp" 26 android:layout_weight="1"> 27 <TextView 28 android:id="@+id/body" 29 android:layout_width="match_parent" 30 android:layout_height="wrap_content" 31 android:paddingTop="@dimen/suw_description_margin_top" 32 android:paddingBottom="@dimen/suw_description_margin_bottom" 33 android:paddingStart="@dimen/suw_layout_margin_sides" 34 android:paddingEnd="@dimen/suw_layout_margin_sides" 35 android:lineSpacingExtra="@dimen/suw_description_line_spacing_extra" 36 android:textAppearance="@android:style/TextAppearance.Material.Body1" 37 android:textColor="?android:attr/textColorPrimary" /> 38 </ScrollView> 39 40 <FrameLayout 41 android:layout_width="match_parent" 42 android:layout_height="wrap_content" 43 android:padding="4dp"> 44 <Button 45 android:id="@+id/confirm" 46 android:layout_width="match_parent" 47 android:layout_height="wrap_content" 48 android:text="@string/storage_menu_format" 49 android:textColor="@android:color/white" 50 android:backgroundTint="@color/storage_wizard_button_red" /> 51 </FrameLayout> 52 53 </LinearLayout> 54