blob: ff4d29d6358564d4423efa07f412ae165690ccf9 [file] [log] [blame]
maxwencbe9ed72017-01-23 02:17:43 +01001<?xml version="1.0" encoding="utf-8"?>
2<!--
3Performance Control - An Android CPU Control application
4Copyright (C) Brandon Valosek, 2011 <bvalosek@gmail.com>
5Copyright (C) 2012 James Roberts
6
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>.
19-->
20<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
21 android:layout_width="match_parent"
22 android:layout_height="match_parent"
maxwen0e3bc7b2017-08-18 01:47:41 +020023 android:orientation="vertical" >
maxwencbe9ed72017-01-23 02:17:43 +010024 <LinearLayout
25 android:layout_width="match_parent"
26 android:layout_height="wrap_content"
maxwen4f3e7572017-06-30 00:24:27 +020027 android:orientation="horizontal"
maxwen0e3bc7b2017-08-18 01:47:41 +020028 android:paddingTop="10dp"
29 android:paddingBottom="10dp"
30 android:paddingStart="20dp"
31 android:paddingEnd="10dp"
32 android:background="?android:attr/colorPrimary" >
maxwencbe9ed72017-01-23 02:17:43 +010033 <TextView
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
36 android:layout_gravity="center_vertical"
maxwen0e3bc7b2017-08-18 01:47:41 +020037 android:text="@string/spinner_type_title"
38 android:textColor="@color/system_activity_header_text"
39 android:textSize="16sp" />
maxwencbe9ed72017-01-23 02:17:43 +010040 <Spinner
41 android:id="@+id/list_type_select"
maxwen4f3e7572017-06-30 00:24:27 +020042 android:layout_width="0dp"
maxwencbe9ed72017-01-23 02:17:43 +010043 android:layout_height="wrap_content"
maxwen4f3e7572017-06-30 00:24:27 +020044 android:layout_weight="1"
maxwen0e3bc7b2017-08-18 01:47:41 +020045 android:gravity="center_vertical"
46 android:backgroundTint="@color/system_activity_header_text" />
maxwencbe9ed72017-01-23 02:17:43 +010047 <TextView
48 android:id="@+id/ui_total_state_time"
maxwen7f73b372017-03-09 03:07:06 +010049 android:layout_width="wrap_content"
maxwencbe9ed72017-01-23 02:17:43 +010050 android:layout_height="wrap_content"
maxwen4f3e7572017-06-30 00:24:27 +020051 android:paddingStart="10dp"
maxwen0e3bc7b2017-08-18 01:47:41 +020052 android:layout_gravity="center_vertical"
53 android:textColor="@color/system_activity_header_text"
54 android:textSize="16sp" />
maxwencbe9ed72017-01-23 02:17:43 +010055 </LinearLayout>
maxwen7f73b372017-03-09 03:07:06 +010056
maxwencbe9ed72017-01-23 02:17:43 +010057 <ScrollView
58 android:layout_width="match_parent"
maxwen7f73b372017-03-09 03:07:06 +010059 android:layout_height="0dp"
maxwencbe9ed72017-01-23 02:17:43 +010060 android:orientation="vertical"
maxwen0e3bc7b2017-08-18 01:47:41 +020061 android:paddingStart="20dp"
62 android:paddingEnd="10dp"
maxwen7f73b372017-03-09 03:07:06 +010063 android:scrollbarStyle="insideInset"
64 android:layout_weight="1" >
65 <FrameLayout
maxwencbe9ed72017-01-23 02:17:43 +010066 android:layout_width="match_parent"
maxwen7f73b372017-03-09 03:07:06 +010067 android:layout_height="match_parent"
maxwen0e3bc7b2017-08-18 01:47:41 +020068 android:paddingBottom="10dp"
69 android:paddingTop="10dp" >
maxwencbe9ed72017-01-23 02:17:43 +010070 <LinearLayout
71 android:id="@+id/ui_states_view"
72 android:layout_width="match_parent"
maxwen7f73b372017-03-09 03:07:06 +010073 android:layout_height="match_parent"
74 android:orientation="vertical" />
maxwencbe9ed72017-01-23 02:17:43 +010075 <TextView
76 android:id="@+id/ui_kernel_wakelock_warning"
77 android:layout_width="match_parent"
maxwen7f73b372017-03-09 03:07:06 +010078 android:layout_height="80dp"
79 android:gravity="center"
maxwencbe9ed72017-01-23 02:17:43 +010080 android:text="@string/no_kernel_wakelock_file_found"
maxwen7f73b372017-03-09 03:07:06 +010081 android:visibility="gone"
maxwen0e3bc7b2017-08-18 01:47:41 +020082 android:textColor="?android:attr/textColorPrimary" />
maxwencbe9ed72017-01-23 02:17:43 +010083 <LinearLayout
84 android:id="@+id/ui_progress"
85 android:layout_width="match_parent"
maxwen7f73b372017-03-09 03:07:06 +010086 android:layout_height="80dp"
maxwencbe9ed72017-01-23 02:17:43 +010087 android:gravity="center"
88 android:orientation="vertical"
89 android:visibility="gone" >
90 <ProgressBar
91 android:layout_width="wrap_content"
92 android:layout_height="wrap_content" />
93 </LinearLayout>
maxwen7f73b372017-03-09 03:07:06 +010094 </FrameLayout>
maxwencbe9ed72017-01-23 02:17:43 +010095 </ScrollView>
96</LinearLayout>