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 xmlns:android="http://schemas.android.com/apk/res/android" 17 android:orientation="vertical" android:layout_width="wrap_content" 18 android:layout_height="match_parent" 19 android:minWidth="@dimen/dialogWidth"> 20 21 <ListView 22 android:id="@+id/flag_list" 23 android:layout_width="wrap_content" 24 android:layout_height="wrap_content" 25 android:layout_weight="1" /> 26 27 <LinearLayout 28 android:layout_width="match_parent" 29 android:layout_height="wrap_content" 30 android:gravity="right" 31 android:orientation="horizontal" 32 android:paddingEnd="@dimen/smallMargin"> 33 34 <Button 35 android:id="@+id/copy_flags_button" 36 style="@android:style/Widget.Material.Light.Button.Borderless.Colored" 37 android:layout_width="wrap_content" 38 android:layout_height="wrap_content" 39 android:text="Use flags for next launch" /> 40 41 <Button 42 android:id="@+id/dialog_cancel" 43 style="@android:style/Widget.Material.Light.Button.Borderless.Colored" 44 android:layout_width="wrap_content" 45 android:layout_height="wrap_content" 46 android:layout_marginLeft="@dimen/smallMargin" 47 android:text="@android:string/cancel" /> 48 </LinearLayout> 49 50 <LinearLayout 51 android:id="@+id/move_task_to_front_bar" 52 android:layout_width="match_parent" 53 android:layout_height="wrap_content" 54 android:paddingBottom="4dp" 55 android:paddingStart="@dimen/smallMargin" 56 android:paddingEnd="@dimen/smallMargin" 57 android:gravity="end" 58 android:orientation="horizontal"> 59 60 <Button 61 android:id="@+id/kill_task_button" 62 style="@style/flatButton" 63 android:layout_width="wrap_content" 64 android:layout_height="wrap_content" 65 android:layout_weight="0" 66 android:text="@string/kill_task_button"/> 67 68 <Button 69 android:id="@+id/move_task_to_front_button" 70 style="@style/flatButton" 71 android:layout_width="wrap_content" 72 android:layout_height="wrap_content" 73 android:layout_weight="0" 74 android:text="@string/move_to_front"/> 75 76 </LinearLayout> 77</LinearLayout>