1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2022 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18              android:layout_width="match_parent"
19              android:layout_height="match_parent"
20              android:orientation="vertical">
21    <Button
22        android:id="@+id/get_thread_priority_btn"
23        android:layout_width="wrap_content"
24        android:layout_height="wrap_content"
25        android:text="@string/get_thread_priority"/>
26
27     <LinearLayout
28            android:layout_height="wrap_content"
29            android:layout_width="match_parent"
30            android:orientation="horizontal">
31        <Button
32            android:id="@+id/set_thread_priority_btn"
33            android:layout_width="wrap_content"
34            android:layout_height="wrap_content"
35            android:text="@string/set_thread_priority"/>
36        <Spinner
37            android:id="@+id/policy_input"
38            android:layout_height="wrap_content"
39            android:layout_width="wrap_content"
40            android:hint="@string/policy_input_hint"/>
41        <EditText
42            android:id="@+id/priority_input"
43            android:layout_height="wrap_content"
44            android:layout_width="wrap_content"
45            android:inputType="text"
46            android:hint="@string/priority_input_hint"
47            android:importantForAutofill="no"/>
48    </LinearLayout>
49    <TextView
50        android:id="@+id/thread_priority_textview"
51        android:layout_width="wrap_content"
52        android:layout_height="wrap_content"
53        android:layout_marginTop="20dp"/>
54    <LinearLayout
55        android:layout_height="wrap_content"
56        android:layout_width="match_parent"
57        android:orientation="horizontal">
58        <Button
59            android:id="@+id/pid"
60            android:layout_width="wrap_content"
61            android:layout_height="wrap_content"
62            android:text="PID"/>
63        <TextView
64            android:id="@+id/pid_value"
65            android:layout_width="wrap_content"
66            android:layout_height="wrap_content"
67            android:text=""/>
68        <Button
69            android:id="@+id/uid"
70            android:layout_width="wrap_content"
71            android:layout_height="wrap_content"
72            android:text="UID"/>
73        <TextView
74            android:id="@+id/uid_value"
75            android:layout_width="wrap_content"
76            android:layout_height="wrap_content"
77            android:text=""/>
78        <Button
79            android:id="@+id/process_group"
80            android:layout_width="wrap_content"
81            android:layout_height="wrap_content"
82            android:text="ProcessGrp"/>
83        <TextView
84            android:id="@+id/process_group_value"
85            android:layout_width="wrap_content"
86            android:layout_height="wrap_content"
87            android:text=""/>
88        <Button
89            android:id="@+id/bg_thread_process_group"
90            android:layout_width="wrap_content"
91            android:layout_height="wrap_content"
92            android:text="BgThreadProcessGrp"/>
93        <TextView
94            android:id="@+id/bg_thread_process_group_value"
95            android:layout_width="wrap_content"
96            android:layout_height="wrap_content"
97            android:text=""/>
98    </LinearLayout>
99</LinearLayout>
100