<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_marginTop="90dp"
android:layout_marginLeft="90dp">
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<Button
android:id="@+id/refresh_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/refresh_button" />
<Button
android:id="@+id/cancel_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/cancel_button" />
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/job_info"
android:textColor="@android:color/holo_red_dark" />
<TextView
android:id="@+id/current_jobs"
android:layout_width="100dp"
android:layout_height="wrap_content" />
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<Button
android:id="@+id/schedule_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/schedule_button"/>
<CheckBox
android:id="@+id/require_idle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/require_idle"/>
<CheckBox
android:id="@+id/require_charging"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/require_charging"/>
<CheckBox
android:id="@+id/require_persisted"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/require_persisted"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/require_network"/>
<RadioGroup
android:id="@+id/network_group"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<RadioButton android:id="@+id/network_any"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/network_any"/>
<RadioButton android:id="@+id/network_none"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/network_none"/>
<RadioButton android:id="@+id/network_unmetered"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/network_unmetered"/>
</RadioGroup>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/dish_num"/>
<android.support.car.input.CarRestrictedEditText
android:id="@+id/dish_num"
android:layout_width="100dp"
android:layout_height="40dp"
android:inputType="number"
android:text="@string/default_dish_num" />
</LinearLayout>
</LinearLayout>
</LinearLayout>