1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2015 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="horizontal" 18 android:layout_width="match_parent" 19 android:layout_height="match_parent"> 20 21 <LinearLayout 22 android:layout_width="0dp" 23 android:layout_height="match_parent" 24 android:layout_weight="1" 25 android:orientation="vertical"> 26 <LinearLayout 27 android:layout_width="wrap_content" 28 android:layout_height="wrap_content"> 29 <Button 30 android:id="@+id/refresh_button" 31 android:layout_width="wrap_content" 32 android:layout_height="wrap_content" 33 android:text="@string/refresh_button" /> 34 <Button 35 android:id="@+id/cancel_button" 36 android:layout_width="wrap_content" 37 android:layout_height="wrap_content" 38 android:text="@string/cancel_button" /> 39 </LinearLayout> 40 <TextView 41 android:layout_width="wrap_content" 42 android:layout_height="wrap_content" 43 android:text="@string/job_info" 44 android:textColor="@android:color/holo_red_dark" /> 45 <TextView 46 android:id="@+id/current_jobs" 47 android:layout_width="100dp" 48 android:layout_height="wrap_content" /> 49 </LinearLayout> 50 51 <LinearLayout 52 android:layout_width="0dp" 53 android:layout_height="match_parent" 54 android:layout_weight="1" 55 android:orientation="vertical"> 56 <Button 57 android:id="@+id/schedule_button" 58 android:layout_width="wrap_content" 59 android:layout_height="wrap_content" 60 android:text="@string/schedule_button"/> 61 <CheckBox 62 android:id="@+id/require_idle" 63 android:layout_width="wrap_content" 64 android:layout_height="wrap_content" 65 android:text="@string/require_idle"/> 66 <CheckBox 67 android:id="@+id/require_charging" 68 android:layout_width="wrap_content" 69 android:layout_height="wrap_content" 70 android:text="@string/require_charging"/> 71 <CheckBox 72 android:id="@+id/require_persisted" 73 android:layout_width="wrap_content" 74 android:layout_height="wrap_content" 75 android:text="@string/require_persisted"/> 76 <TextView 77 android:layout_width="wrap_content" 78 android:layout_height="wrap_content" 79 android:text="@string/require_network"/> 80 <RadioGroup 81 android:id="@+id/network_group" 82 android:layout_width="wrap_content" 83 android:layout_height="wrap_content"> 84 85 <RadioButton android:id="@+id/network_any" 86 android:layout_width="wrap_content" 87 android:layout_height="wrap_content" 88 android:text="@string/network_any"/> 89 90 <RadioButton android:id="@+id/network_none" 91 android:layout_width="wrap_content" 92 android:layout_height="wrap_content" 93 android:text="@string/network_none"/> 94 95 <RadioButton android:id="@+id/network_unmetered" 96 android:layout_width="wrap_content" 97 android:layout_height="wrap_content" 98 android:text="@string/network_unmetered"/> 99 </RadioGroup> 100 101 <LinearLayout 102 android:layout_width="wrap_content" 103 android:layout_height="wrap_content"> 104 <TextView 105 android:layout_width="wrap_content" 106 android:layout_height="wrap_content" 107 android:text="@string/dish_num"/> 108 109 <android.support.car.input.CarRestrictedEditText 110 android:id="@+id/dish_num" 111 android:layout_width="100dp" 112 android:layout_height="40dp" 113 android:inputType="number" 114 android:text="@string/default_dish_num" /> 115 </LinearLayout> 116 117 </LinearLayout> 118 119 </LinearLayout>