1<?xml version="1.0" encoding="utf-8"?> 2 3<!-- Copyright (C) 2016 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17 18<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:background="#CE9191" 22 android:orientation="vertical" 23 android:fillViewport="false"> 24 25 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 26 xmlns:tools="http://schemas.android.com/tools" 27 android:layout_width="match_parent" 28 android:layout_height="match_parent" 29 android:paddingBottom="16dp" 30 android:paddingLeft="16dp" 31 android:paddingRight="16dp" 32 android:paddingTop="16dp"> 33 34 <TextView 35 android:layout_width="wrap_content" 36 android:layout_height="wrap_content" 37 android:textAppearance="?android:attr/textAppearanceLarge" 38 android:text="All Requesting 3Ps" 39 android:id="@+id/textView7" 40 android:layout_below="@+id/textView3" 41 android:layout_alignLeft="@+id/textView8" 42 android:layout_alignStart="@+id/textView8" 43 android:layout_marginTop="24dp" /> 44 45 <TextView 46 android:layout_width="wrap_content" 47 android:layout_height="wrap_content" 48 android:textAppearance="?android:attr/textAppearanceMedium" 49 android:text="pushapi packages: " 50 android:id="@+id/textView8" 51 android:layout_below="@+id/textView7" 52 android:layout_alignParentLeft="true" 53 android:layout_alignParentStart="true" /> 54 55 <TextView 56 android:layout_width="wrap_content" 57 android:layout_height="wrap_content" 58 android:textAppearance="?android:attr/textAppearanceSmall" 59 android:text="-----" 60 android:id="@+id/requestingapps" 61 62 android:layout_alignParentStart="true" 63 android:layout_below="@+id/textView8" 64 android:layout_toRightOf="@+id/authenticatorstatus" /> 65 66 <Button 67 style="?android:attr/buttonStyleSmall" 68 android:layout_width="wrap_content" 69 android:layout_height="wrap_content" 70 android:text="GET!" 71 android:id="@+id/getallrequestingapps" 72 android:layout_alignTop="@+id/textView7" 73 android:layout_toRightOf="@+id/textView7" 74 android:layout_toEndOf="@+id/textView7" /> 75 76 <TextView 77 android:layout_width="wrap_content" 78 android:layout_height="wrap_content" 79 android:textAppearance="?android:attr/textAppearanceLarge" 80 android:text="Choose Account" 81 android:id="@+id/textView10" 82 android:layout_marginTop="57dp" 83 android:layout_below="@+id/requestingapps" 84 android:layout_alignParentLeft="true" 85 android:layout_alignParentStart="true" /> 86 87 <RadioGroup 88 android:layout_width="match_parent" 89 android:layout_height="120dp" 90 android:layout_alignParentStart="true" 91 android:id="@+id/accountGroup" 92 android:layout_below="@+id/textView10" 93 android:layout_alignParentLeft="true"> 94 95 <RadioButton 96 android:layout_width="wrap_content" 97 android:layout_height="wrap_content" 98 android:text="TERRA" 99 android:id="@+id/terrabutton" 100 android:checked="false" /> 101 102 <RadioButton 103 android:layout_width="wrap_content" 104 android:layout_height="wrap_content" 105 android:text="AQUA" 106 android:id="@+id/aquabutton" 107 android:checked="false" /> 108 109 <RadioButton 110 android:layout_width="wrap_content" 111 android:layout_height="wrap_content" 112 android:text="VENTUS" 113 android:id="@+id/ventusbutton" 114 android:checked="false" /> 115 </RadioGroup> 116 117 <TextView 118 android:layout_width="wrap_content" 119 android:layout_height="wrap_content" 120 android:textAppearance="?android:attr/textAppearanceLarge" 121 android:text="Packages" 122 android:id="@+id/textViewPackages" 123 android:layout_below="@+id/accountGroup" 124 android:layout_alignParentLeft="true" /> 125 126 <RadioGroup 127 android:layout_width="match_parent" 128 android:layout_height="120dp" 129 android:layout_alignParentStart="true" 130 android:id="@+id/packagesChooser" 131 android:layout_below="@+id/textViewPackages" 132 android:layout_alignParentLeft="true"> 133 <RadioButton 134 android:layout_width="wrap_content" 135 android:layout_height="wrap_content" 136 android:text="com.example.android.pushapithirdpartyone" 137 android:id="@+id/apponebutton" 138 android:checked="false" /> 139 140 <RadioButton 141 android:layout_width="wrap_content" 142 android:layout_height="wrap_content" 143 android:text="com.example.android.pushapithirdpartytwo" 144 android:id="@+id/apptwobutton" 145 android:checked="false" /> 146 </RadioGroup> 147 148 <TextView 149 android:layout_width="wrap_content" 150 android:layout_height="wrap_content" 151 android:textAppearance="?android:attr/textAppearanceLarge" 152 android:text="Options" 153 android:id="@+id/textView11" 154 android:layout_below="@+id/packagesChooser" 155 android:layout_alignParentLeft="true" /> 156 157 <RadioGroup 158 android:layout_width="match_parent" 159 android:layout_height="wrap_content" 160 android:id="@+id/optionsGroup" 161 android:layout_below="@+id/textView11" 162 android:layout_alignParentLeft="true"> 163 164 <RadioButton 165 android:layout_width="wrap_content" 166 android:layout_height="wrap_content" 167 android:text="SET UM_VISIBLE (2)" 168 android:id="@+id/visibleButton" 169 android:checked="false" /> 170 171 <RadioButton 172 android:layout_width="wrap_content" 173 android:layout_height="wrap_content" 174 android:text="SET UM_NOT_VISIBLE(4)" 175 android:id="@+id/notVisibleButton" 176 android:checked="false" /> 177 178 <RadioButton 179 android:layout_width="wrap_content" 180 android:layout_height="wrap_content" 181 android:text="SET NOT_VISIBLE(3)" 182 android:id="@+id/forcedNotVisibleButton" 183 android:checked="false" /> 184 185 <RadioButton 186 android:layout_width="wrap_content" 187 android:layout_height="wrap_content" 188 android:text="GET VISIBILITY" 189 android:id="@+id/getButton" 190 android:checked="false" /> 191 192 <RadioButton 193 android:layout_width="wrap_content" 194 android:layout_height="wrap_content" 195 android:text="ADD ACCOUNT (Normal)" 196 android:id="@+id/addAccountButton" 197 android:checked="false" /> 198 199 <RadioButton 200 android:layout_width="wrap_content" 201 android:layout_height="wrap_content" 202 android:text="ADD ACCOUNT (With visibility)" 203 android:id="@+id/addAccountButtonWithVisibility" 204 android:checked="false" /> 205 206 <RadioButton 207 android:layout_width="wrap_content" 208 android:layout_height="wrap_content" 209 android:text="RENAME ACCOUNT" 210 android:id="@+id/renameAccount" 211 android:checked="false" /> 212 213 <RadioButton 214 android:layout_width="wrap_content" 215 android:layout_height="wrap_content" 216 android:text="REMOVE ACCOUNT" 217 android:id="@+id/removeAccount" 218 android:checked="false" /> 219 220 <RadioButton 221 android:layout_width="wrap_content" 222 android:layout_height="wrap_content" 223 android:text="ENABLE_COMPONENT" 224 android:id="@+id/enableComponent" 225 android:checked="false" /> 226 227 <RadioButton 228 android:layout_width="wrap_content" 229 android:layout_height="wrap_content" 230 android:text="DISABLE_COMPONENT" 231 android:id="@+id/disableComponent" 232 android:checked="false" /> 233 234 </RadioGroup> 235 236 <Button 237 android:layout_marginTop="100dp" 238 style="?android:attr/buttonStyleSmall" 239 android:layout_width="wrap_content" 240 android:layout_height="wrap_content" 241 android:text="Go!" 242 android:id="@+id/selectoptionbutton" 243 android:layout_below="@+id/optionsGroup" 244 android:layout_alignParentLeft="true" /> 245 246 <TextView 247 android:layout_width="wrap_content" 248 android:layout_height="wrap_content" 249 android:textAppearance="?android:attr/textAppearanceLarge" 250 android:text="STATUS:" 251 android:id="@+id/textView12" 252 android:layout_below="@+id/selectoptionbutton" 253 android:layout_alignParentLeft="true" /> 254 255 <TextView 256 android:layout_width="wrap_content" 257 android:layout_height="wrap_content" 258 android:textAppearance="?android:attr/textAppearanceSmall" 259 android:text="----" 260 android:id="@+id/authenticatorstatus" 261 android:layout_below="@+id/textView12" 262 android:layout_alignParentLeft="true" /> 263 264 </RelativeLayout> 265 266</ScrollView> 267