1<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2011 The Android Open Source Project 2 3 Licensed under the Apache License, Version 2.0 (the "License"); 4 you may not use this file except in compliance with the License. 5 You may obtain a copy of the License at 6 7 http://www.apache.org/licenses/LICENSE-2.0 8 9 Unless required by applicable law or agreed to in writing, software 10 distributed under the License is distributed on an "AS IS" BASIS, 11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 See the License for the specific language governing permissions and 13 limitations under the License. 14--> 15<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 16 android:layout_width="match_parent" 17 android:layout_height="match_parent" 18 android:orientation="vertical"> 19 20 <RadioGroup 21 android:layout_width="match_parent" 22 android:layout_height="wrap_content" 23 android:orientation="horizontal"> 24 25 <RadioButton 26 android:id="@+id/vectorDrawable" 27 android:text="Vector Drawable" 28 android:layout_width="0dp" 29 android:layout_weight="1" 30 android:layout_height="wrap_content" 31 android:checked="true"/> 32 33 <RadioButton 34 android:id="@+id/view" 35 android:text="View" 36 android:layout_width="0dp" 37 android:layout_weight="1" 38 android:layout_height="wrap_content" /> 39 </RadioGroup> 40 41 <RadioGroup 42 android:layout_width="match_parent" 43 android:layout_height="wrap_content" 44 android:orientation="horizontal"> 45 46 <RadioButton 47 android:id="@+id/noPreference" 48 android:text="No Pref" 49 android:layout_width="0dp" 50 android:layout_weight="1" 51 android:layout_height="wrap_content" 52 android:checked="true"/> 53 54 <RadioButton 55 android:id="@+id/low" 56 android:text="Low" 57 android:layout_width="0dp" 58 android:layout_weight="1" 59 android:layout_height="wrap_content" /> 60 61 <RadioButton 62 android:id="@+id/normal" 63 android:text="Normal" 64 android:layout_width="0dp" 65 android:layout_weight="1" 66 android:layout_height="wrap_content" /> 67 68 <RadioButton 69 android:id="@+id/high" 70 android:text="High" 71 android:layout_width="0dp" 72 android:layout_weight="1" 73 android:layout_height="wrap_content" /> 74 </RadioGroup> 75 76 <LinearLayout 77 android:layout_width="match_parent" 78 android:layout_height="wrap_content" 79 android:paddingEnd="5dp" 80 android:orientation="horizontal"> 81 82 <SeekBar 83 android:id="@+id/frameRateSeekBar" 84 android:layout_weight="0.85" 85 android:layout_width="0dp" 86 android:layout_height="wrap_content" 87 android:max="150" 88 android:min="10" /> 89 90 <TextView 91 android:id="@+id/frameRateText" 92 android:layout_weight="0.15" 93 android:layout_width="0dp" 94 android:layout_height="wrap_content" 95 android:gravity="center" 96 android:text="No Pref" /> 97 </LinearLayout> 98 99 <FrameLayout 100 android:layout_width="match_parent" 101 android:layout_height="0dp" 102 android:layout_weight="1"> 103 <ProgressBar 104 android:id="@+id/progressBar" 105 android:layout_width="match_parent" 106 android:layout_height="match_parent" 107 android:indeterminate="true" /> 108 109 <View 110 android:id="@+id/animatedView" 111 android:visibility="gone" 112 android:layout_width="match_parent" 113 android:layout_height="match_parent" 114 android:background="#008"/> 115 116 <TextView 117 android:id="@+id/frameRate" 118 android:visibility="gone" 119 android:layout_width="100sp" 120 android:layout_height="100sp" 121 android:textSize="40sp" 122 android:gravity="center" 123 android:layout_gravity="bottom|end" /> 124 </FrameLayout> 125</LinearLayout> 126