1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2016 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:orientation="vertical" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:gravity="center" 22 android:layout_marginTop="40dp" 23 android:layout_marginStart="40dp" 24 android:layout_marginEnd="40dp"> 25 26 <LinearLayout 27 android:orientation="vertical" 28 android:layout_width="wrap_content" 29 android:layout_height="wrap_content"> 30 <Button 31 android:layout_width="match_parent" 32 android:layout_height="wrap_content" 33 android:layout_margin="10dp" 34 android:padding="20dp" 35 android:text="@string/cluster_start" 36 android:id="@+id/cluster_start_button"/> 37 <Button 38 android:layout_width="match_parent" 39 android:layout_height="wrap_content" 40 android:layout_margin="10dp" 41 android:padding="20dp" 42 android:text="@string/cluster_start_guidance" 43 android:id="@+id/cluster_turn_left_button"/> 44 <Button 45 android:layout_width="match_parent" 46 android:layout_height="wrap_content" 47 android:layout_margin="10dp" 48 android:padding="20dp" 49 android:text="@string/cluster_stop" 50 android:id="@+id/cluster_stop_button"/> 51 <LinearLayout 52 android:layout_width="wrap_content" 53 android:layout_height="wrap_content" 54 android:layout_margin="10dp" 55 android:padding="20dp"> 56 <TextView 57 android:layout_width="match_parent" 58 android:layout_height="wrap_content" 59 android:gravity="center" 60 android:layout_margin="5dp" 61 android:text="@string/cluster_activity_state"/> 62 <RadioGroup 63 android:layout_width="match_parent" 64 android:layout_height="wrap_content" 65 android:orientation="horizontal"> 66 <RadioButton 67 android:layout_width="wrap_content" 68 android:layout_height="wrap_content" 69 android:layout_margin="5dp" 70 android:id="@+id/cluster_activity_state_default" 71 android:text="@string/cluster_activity_state_default"/> 72 <RadioButton 73 android:layout_width="wrap_content" 74 android:layout_height="wrap_content" 75 android:layout_margin="5dp" 76 android:id="@+id/cluster_activity_state_enabled" 77 android:text="@string/cluster_activity_state_enabled"/> 78 <RadioButton 79 android:layout_width="wrap_content" 80 android:layout_height="wrap_content" 81 android:layout_margin="5dp" 82 android:id="@+id/cluster_activity_state_disabled" 83 android:text="@string/cluster_activity_state_disabled"/> 84 </RadioGroup> 85 </LinearLayout> 86 </LinearLayout> 87</LinearLayout> 88