blob: ff4d29d6358564d4423efa07f412ae165690ccf9 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
Performance Control - An Android CPU Control application
Copyright (C) Brandon Valosek, 2011 <bvalosek@gmail.com>
Copyright (C) 2012 James Roberts
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:paddingStart="20dp"
android:paddingEnd="10dp"
android:background="?android:attr/colorPrimary" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="@string/spinner_type_title"
android:textColor="@color/system_activity_header_text"
android:textSize="16sp" />
<Spinner
android:id="@+id/list_type_select"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:backgroundTint="@color/system_activity_header_text" />
<TextView
android:id="@+id/ui_total_state_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="10dp"
android:layout_gravity="center_vertical"
android:textColor="@color/system_activity_header_text"
android:textSize="16sp" />
</LinearLayout>
<ScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
android:orientation="vertical"
android:paddingStart="20dp"
android:paddingEnd="10dp"
android:scrollbarStyle="insideInset"
android:layout_weight="1" >
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="10dp"
android:paddingTop="10dp" >
<LinearLayout
android:id="@+id/ui_states_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" />
<TextView
android:id="@+id/ui_kernel_wakelock_warning"
android:layout_width="match_parent"
android:layout_height="80dp"
android:gravity="center"
android:text="@string/no_kernel_wakelock_file_found"
android:visibility="gone"
android:textColor="?android:attr/textColorPrimary" />
<LinearLayout
android:id="@+id/ui_progress"
android:layout_width="match_parent"
android:layout_height="80dp"
android:gravity="center"
android:orientation="vertical"
android:visibility="gone" >
<ProgressBar
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
</FrameLayout>
</ScrollView>
</LinearLayout>