blob: 1b9947f0e5cdba27cb5cf746fe7dfa2bb6c4e1b3 [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"
maxwen4f3e7572017-06-30 00:24:27 +020029 android:orientation="horizontal"
30 android:paddingTop="10dp" >
maxwencbe9ed72017-01-23 02:17:43 +010031 <TextView
32 android:layout_width="wrap_content"
33 android:layout_height="wrap_content"
34 android:layout_gravity="center_vertical"
35 android:text="@string/spinner_type_title"/>
36 <Spinner
37 android:id="@+id/list_type_select"
maxwen4f3e7572017-06-30 00:24:27 +020038 android:layout_width="0dp"
maxwencbe9ed72017-01-23 02:17:43 +010039 android:layout_height="wrap_content"
maxwen4f3e7572017-06-30 00:24:27 +020040 android:layout_weight="1"
maxwencbe9ed72017-01-23 02:17:43 +010041 android:gravity="center_vertical" />
maxwencbe9ed72017-01-23 02:17:43 +010042 <TextView
43 android:id="@+id/ui_total_state_time"
maxwen7f73b372017-03-09 03:07:06 +010044 android:layout_width="wrap_content"
maxwencbe9ed72017-01-23 02:17:43 +010045 android:layout_height="wrap_content"
maxwen4f3e7572017-06-30 00:24:27 +020046 android:paddingStart="10dp"
maxwen9143ac42017-04-04 01:01:48 +020047 android:layout_gravity="center_vertical" />
maxwencbe9ed72017-01-23 02:17:43 +010048 </LinearLayout>
maxwen7f73b372017-03-09 03:07:06 +010049
maxwencbe9ed72017-01-23 02:17:43 +010050 <ScrollView
51 android:layout_width="match_parent"
maxwen7f73b372017-03-09 03:07:06 +010052 android:layout_height="0dp"
maxwencbe9ed72017-01-23 02:17:43 +010053 android:orientation="vertical"
maxwencbe9ed72017-01-23 02:17:43 +010054 android:paddingTop="10dp"
maxwen7f73b372017-03-09 03:07:06 +010055 android:scrollbarStyle="insideInset"
56 android:layout_weight="1" >
57 <FrameLayout
maxwencbe9ed72017-01-23 02:17:43 +010058 android:layout_width="match_parent"
maxwen7f73b372017-03-09 03:07:06 +010059 android:layout_height="match_parent"
60 android:paddingBottom="10dp" >
maxwencbe9ed72017-01-23 02:17:43 +010061 <LinearLayout
62 android:id="@+id/ui_states_view"
63 android:layout_width="match_parent"
maxwen7f73b372017-03-09 03:07:06 +010064 android:layout_height="match_parent"
65 android:orientation="vertical" />
maxwencbe9ed72017-01-23 02:17:43 +010066 <TextView
67 android:id="@+id/ui_kernel_wakelock_warning"
68 android:layout_width="match_parent"
maxwen7f73b372017-03-09 03:07:06 +010069 android:layout_height="80dp"
70 android:gravity="center"
maxwencbe9ed72017-01-23 02:17:43 +010071 android:text="@string/no_kernel_wakelock_file_found"
maxwen7f73b372017-03-09 03:07:06 +010072 android:visibility="gone"
73 android:textAppearance="?android:attr/textAppearanceSmall" />
maxwencbe9ed72017-01-23 02:17:43 +010074 <LinearLayout
75 android:id="@+id/ui_progress"
76 android:layout_width="match_parent"
maxwen7f73b372017-03-09 03:07:06 +010077 android:layout_height="80dp"
maxwencbe9ed72017-01-23 02:17:43 +010078 android:gravity="center"
79 android:orientation="vertical"
80 android:visibility="gone" >
81 <ProgressBar
82 android:layout_width="wrap_content"
83 android:layout_height="wrap_content" />
84 </LinearLayout>
maxwen7f73b372017-03-09 03:07:06 +010085 </FrameLayout>
maxwencbe9ed72017-01-23 02:17:43 +010086 </ScrollView>
87</LinearLayout>