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<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="match_parent" 20 android:fillViewport="true" > 21 22 <view class="com.android.settings.TouchBlockingFrameLayout" 23 android:id="@+id/frame" 24 android:layout_width="match_parent" 25 android:layout_height="wrap_content"> 26 27 <LinearLayout 28 android:layout_width="match_parent" 29 android:layout_height="match_parent" 30 android:paddingTop="16dp" 31 android:paddingStart="16dp" 32 android:paddingEnd="16dp" 33 android:orientation="vertical"> 34 35 <TextView 36 android:layout_width="match_parent" 37 android:layout_height="wrap_content" 38 android:text="@string/font_size_preview_text_headline" 39 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Headline"/> 40 41 <TextView 42 android:layout_width="match_parent" 43 android:layout_height="wrap_content" 44 android:text="@string/font_size_preview_text_title" 45 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Title"/> 46 47 <TextView 48 android:layout_width="match_parent" 49 android:layout_height="wrap_content" 50 android:text="@string/font_size_preview_text_subtitle" 51 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead"/> 52 53 <TextView 54 android:layout_width="match_parent" 55 android:layout_height="wrap_content" 56 android:text="@string/font_size_preview_text_body" 57 android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Body1"/> 58 </LinearLayout> 59 </view> 60</ScrollView> 61