1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2020 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<LinearLayout 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 <Button 24 android:id="@+id/button_with_label_containing_button" 25 android:text="OK" 26 android:contentDescription="OK button" 27 android:layout_width="wrap_content" 28 android:layout_height="48dp" /> 29 30 <TextView 31 android:id="@+id/oath" 32 android:layout_width="match_parent" 33 android:layout_height="wrap_content" 34 android:padding="16dp" 35 android:text="I hereby declare, on oath, that I absolutely and entirely renounce and abjure all allegiance 36 and fidelity to any foreign prince, potentate, state, or sovereignty of whom or which I have 37 heretofore been a subject or citizen; that I will support and defend the Constitution and 38 laws of the United States of America against all enemies, foreign and domestic; that I will 39 bear true faith and allegiance to the same; that I will bear arms on behalf of the United 40 States when required by the law; that I will perform noncombatant service in the 41 Armed Forces of the United States when required by the law; that I will perform work of 42 national importance under civilian direction when required by the law; and that I take this 43 obligation freely without any mental reservation or purpose of evasion; so help me God."/> 44 45 <Button 46 android:text="Good Button" 47 android:id="@+id/bottom_button" 48 android:layout_width="wrap_content" 49 android:layout_height="wrap_content" 50 android:layout_margin="8dp" /> 51 52</LinearLayout> 53