blob: 38f3bde84503c1f9823008eb86cc2c3bc3cf6cb0 [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"
23 android:orientation="vertical"
24 android:paddingStart="10dp"
25 android:paddingEnd="10dp" >
26 <LinearLayout
27 android:layout_width="match_parent"
28 android:layout_height="wrap_content"
maxwen7f73b372017-03-09 03:07:06 +010029 android:orientation="horizontal" >
maxwencbe9ed72017-01-23 02:17:43 +010030 <TextView
31 android:layout_width="wrap_content"
32 android:layout_height="wrap_content"
33 android:layout_gravity="center_vertical"
34 android:text="@string/spinner_type_title"/>
35 <Spinner
36 android:id="@+id/list_type_select"
37 android:layout_width="match_parent"
38 android:layout_height="wrap_content"
39 android:gravity="center_vertical" />
40 </LinearLayout>
41 <LinearLayout
maxwen7f73b372017-03-09 03:07:06 +010042 android:id="@+id/state_time_select_group"
maxwencbe9ed72017-01-23 02:17:43 +010043 android:layout_width="match_parent"
44 android:layout_height="wrap_content"
maxwen7f73b372017-03-09 03:07:06 +010045 android:visibility="gone">
46 <TextView
47 android:layout_width="wrap_content"
maxwencbe9ed72017-01-23 02:17:43 +010048 android:layout_height="wrap_content"
maxwen7f73b372017-03-09 03:07:06 +010049 android:layout_gravity="center_vertical"
50 android:text="@string/spinner_state_time_title"/>
51 <Spinner
52 android:id="@+id/state_time_select"
53 android:layout_width="match_parent"
maxwencbe9ed72017-01-23 02:17:43 +010054 android:layout_height="wrap_content"
maxwen7f73b372017-03-09 03:07:06 +010055 android:gravity="center_vertical" />
maxwencbe9ed72017-01-23 02:17:43 +010056 </LinearLayout>
57 <LinearLayout
58 android:id="@+id/ui_state_time"
59 android:layout_width="match_parent"
60 android:layout_height="wrap_content"
maxwencbe9ed72017-01-23 02:17:43 +010061 android:paddingBottom="10dp"
62 android:paddingTop="10dp" >
63 <TextView
64 android:id="@+id/ui_total_state_time"
maxwen7f73b372017-03-09 03:07:06 +010065 android:layout_width="wrap_content"
maxwencbe9ed72017-01-23 02:17:43 +010066 android:layout_height="wrap_content"
maxwen7f73b372017-03-09 03:07:06 +010067 android:layout_gravity="center_vertical" />
maxwencbe9ed72017-01-23 02:17:43 +010068 <TextView
69 android:id="@+id/ui_total_wakelock_time"
70 android:layout_width="wrap_content"
71 android:layout_height="wrap_content"
72 android:layout_gravity="center_vertical|end" />
73 </LinearLayout>
maxwen7f73b372017-03-09 03:07:06 +010074
maxwencbe9ed72017-01-23 02:17:43 +010075 <ScrollView
76 android:layout_width="match_parent"
maxwen7f73b372017-03-09 03:07:06 +010077 android:layout_height="0dp"
maxwencbe9ed72017-01-23 02:17:43 +010078 android:orientation="vertical"
maxwencbe9ed72017-01-23 02:17:43 +010079 android:paddingTop="10dp"
maxwen7f73b372017-03-09 03:07:06 +010080 android:scrollbarStyle="insideInset"
81 android:layout_weight="1" >
82 <FrameLayout
maxwencbe9ed72017-01-23 02:17:43 +010083 android:layout_width="match_parent"
maxwen7f73b372017-03-09 03:07:06 +010084 android:layout_height="match_parent"
85 android:paddingBottom="10dp" >
maxwencbe9ed72017-01-23 02:17:43 +010086 <LinearLayout
87 android:id="@+id/ui_states_view"
88 android:layout_width="match_parent"
maxwen7f73b372017-03-09 03:07:06 +010089 android:layout_height="match_parent"
90 android:orientation="vertical" />
maxwencbe9ed72017-01-23 02:17:43 +010091 <TextView
92 android:id="@+id/ui_kernel_wakelock_warning"
93 android:layout_width="match_parent"
maxwen7f73b372017-03-09 03:07:06 +010094 android:layout_height="80dp"
95 android:gravity="center"
maxwencbe9ed72017-01-23 02:17:43 +010096 android:text="@string/no_kernel_wakelock_file_found"
maxwen7f73b372017-03-09 03:07:06 +010097 android:visibility="gone"
98 android:textAppearance="?android:attr/textAppearanceSmall" />
maxwencbe9ed72017-01-23 02:17:43 +010099 <LinearLayout
100 android:id="@+id/ui_progress"
101 android:layout_width="match_parent"
maxwen7f73b372017-03-09 03:07:06 +0100102 android:layout_height="80dp"
maxwencbe9ed72017-01-23 02:17:43 +0100103 android:gravity="center"
104 android:orientation="vertical"
105 android:visibility="gone" >
106 <ProgressBar
107 android:layout_width="wrap_content"
108 android:layout_height="wrap_content" />
109 </LinearLayout>
maxwen7f73b372017-03-09 03:07:06 +0100110 </FrameLayout>
maxwencbe9ed72017-01-23 02:17:43 +0100111 </ScrollView>
112</LinearLayout>