android13/packages/services/Car/tests/EmbeddedKitchenSinkApp/res/layout/profile_user.xml

149 lines
7.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2020 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:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/profile_textView_state"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text=""/>
<TextView
android:id="@+id/profile_textView_zoneinfo"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text=""/>
<TextView
android:id="@+id/profile_textView_userstate"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text=""/>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical" >
<TextView
android:id="@+id/profile_textView_users"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="Users"/>
<Spinner
android:id="@+id/profile_spinner_users"
android:layout_width="wrap_content" android:layout_height="wrap_content"/>
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical" >
<TextView
android:id="@+id/profile_textView_zones"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="Zones"/>
<Spinner
android:id="@+id/profile_spinner_zones"
android:layout_width="wrap_content" android:layout_height="wrap_content"/>
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical" >
<TextView
android:id="@+id/profile_textView_displays"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="Displays"/>
<Spinner
android:id="@+id/profile_spinner_displays"
android:layout_width="wrap_content" android:layout_height="wrap_content"/>
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical" >
<TextView
android:id="@+id/profile_textView_apps"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="Apps"/>
<Spinner
android:id="@+id/profile_spinner_apps"
android:layout_width="wrap_content" android:layout_height="wrap_content"/>
</LinearLayout>
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<Button
android:id="@+id/profile_button_create_managed_user"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="Create Managed User"/>
<Button
android:id="@+id/profile_button_create_restricted_user"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="Create Restricted User"/>
<Button
android:id="@+id/profile_button_remove_user"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="Remove User"/>
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<Button
android:id="@+id/profile_button_start_user"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="Start User"/>
<Button
android:id="@+id/profile_button_stop_user"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="Stop User"/>
<Button
android:id="@+id/profile_button_assign_user_to_zone"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="Assign User To Zone"/>
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<Button
android:id="@+id/profile_button_launch_app_for_zone"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="Start App For Zone"/>
<Button
android:id="@+id/profile_button_launch_app_for_display"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="Start App For Display And User"/>
</LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/status_message_title"/>
<TextView
android:id="@+id/status_message_text_view"
android:paddingLeft="10dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=""/>
</LinearLayout>
</LinearLayout>