1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2017 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<LinearLayout 17 xmlns:android="http://schemas.android.com/apk/res/android" 18 android:id="@+id/build_intent_view" 19 android:layout_width="match_parent" 20 android:layout_height="wrap_content" 21 android:layout_margin="@dimen/smallMargin" 22 android:background="@drawable/card_background" 23 android:orientation="vertical" 24 android:padding="@dimen/medMargin"> 25 26 <TextView 27 android:id="@+id/build_intent" 28 android:layout_width="wrap_content" 29 android:layout_height="wrap_content" 30 android:text="@string/build_intent" 31 android:textAppearance="@style/title"/> 32 33 <TextView 34 android:id="@+id/flags_hint" 35 android:layout_width="match_parent" 36 android:layout_height="wrap_content" 37 android:text="@string/build_intent_caption"/> 38 39 <LinearLayout 40 android:id="@+id/suggest_list_item" 41 android:layout_width="match_parent" 42 android:layout_height="@dimen/doubleListItem" 43 android:orientation="horizontal" 44 android:paddingTop="@dimen/smallMargin" 45 android:gravity="center_vertical"> 46 47 <LinearLayout 48 android:layout_width="0dp" 49 android:layout_height="wrap_content" 50 android:orientation="vertical" 51 android:layout_weight="1"> 52 53 <TextView 54 android:layout_width="wrap_content" 55 android:layout_height="wrap_content" 56 android:text="@string/suggest_enable_text" 57 android:textAppearance="@style/normal"/> 58 59 <TextView 60 android:layout_width="wrap_content" 61 android:layout_height="wrap_content" 62 android:text="@string/suggest_description_text" 63 android:textAppearance="@style/caption"/> 64 </LinearLayout> 65 66 <Switch 67 android:layout_width="wrap_content" 68 android:layout_height="match_parent" 69 android:id="@+id/suggestion_switch"/> 70 </LinearLayout> 71 72 <LinearLayout 73 android:id="@+id/build_intent_flags" 74 android:layout_width="match_parent" 75 android:layout_height="wrap_content" 76 android:orientation="vertical" 77 android:paddingBottom="@dimen/smallMargin"/> 78 79 <View 80 android:layout_width="match_parent" 81 android:layout_height="@dimen/dividerHeight" 82 android:layout_marginVertical="@dimen/smallMargin" 83 android:background="@drawable/divider"/> 84 85 <TextView 86 android:id="@+id/textView" 87 android:layout_width="match_parent" 88 android:layout_height="wrap_content" 89 android:layout_marginVertical="@dimen/smallMargin" 90 android:text="@string/target_activity"/> 91 92 <RadioGroup 93 android:id="@+id/radioGroup_launchMode" 94 android:layout_width="match_parent" 95 android:layout_height="wrap_content" 96 android:checkedButton="@+id/radio_launchMode_standard" 97 android:orientation="vertical"/> 98 99 <View 100 android:layout_width="match_parent" 101 android:layout_height="@dimen/dividerHeight" 102 android:layout_marginVertical="@dimen/smallMargin" 103 android:background="@drawable/divider"/> 104 105 <TextView 106 android:layout_width="match_parent" 107 android:layout_height="wrap_content" 108 android:layout_marginVertical="@dimen/smallMargin" 109 android:text="@string/start_mode"/> 110 111 <RadioGroup 112 android:id="@+id/radioGroup_startMode" 113 android:layout_width="match_parent" 114 android:layout_height="wrap_content" 115 android:checkedButton="@+id/radio_launchMode_standard" 116 android:orientation="vertical"> 117 118 <RadioButton 119 android:layout_width="wrap_content" 120 android:layout_height="wrap_content" 121 android:paddingStart="@dimen/fullMargin" 122 android:id="@+id/start_normal" 123 android:text="@string/start_normal" 124 android:checked="true"/> 125 126 <RadioButton 127 android:layout_width="wrap_content" 128 android:layout_height="wrap_content" 129 android:paddingStart="@dimen/fullMargin" 130 android:id="@+id/start_for_result" 131 android:text="@string/start_for_result"/> 132 </RadioGroup> 133</LinearLayout>