2013-01-20 12:39:09 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
This file is part of BOINC.
|
|
|
|
http://boinc.berkeley.edu
|
|
|
|
Copyright (C) 2012 University of California
|
|
|
|
|
|
|
|
BOINC is free software; you can redistribute it and/or modify it
|
|
|
|
under the terms of the GNU Lesser General Public License
|
|
|
|
as published by the Free Software Foundation,
|
|
|
|
either version 3 of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
BOINC 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 Lesser General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public License
|
|
|
|
along with BOINC. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
-->
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:id="@+id/status_wrapper"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical" >
|
|
|
|
|
2013-04-27 07:59:04 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/center_wrapper"
|
2013-01-20 12:39:09 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-04-27 07:59:04 +00:00
|
|
|
android:layout_centerVertical="true"
|
2013-01-20 12:39:09 +00:00
|
|
|
android:layout_centerHorizontal="true"
|
2013-04-27 07:59:04 +00:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/status_header"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/status_paused"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/status_image"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
2013-05-18 12:20:59 +00:00
|
|
|
android:layout_margin="10dp"
|
2013-04-27 07:59:04 +00:00
|
|
|
android:contentDescription="@string/status_paused"
|
|
|
|
android:src="@drawable/pausew48" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/status_long"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:text="@string/suspend_unknown"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<ViewFlipper
|
|
|
|
android:id="@+id/slideshowFrame"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
2013-01-20 12:39:09 +00:00
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_centerHorizontal="true"
|
2013-04-27 07:59:04 +00:00
|
|
|
android:autoStart="false"
|
|
|
|
android:paddingTop="20dp"
|
|
|
|
android:paddingBottom="50dp"
|
|
|
|
android:background="@android:drawable/screen_background_dark"
|
|
|
|
android:visibility="gone" />
|
2013-01-20 12:39:09 +00:00
|
|
|
|
2013-04-27 07:59:04 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/restarting_wrapper"
|
2013-01-20 12:39:09 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-04-27 07:59:04 +00:00
|
|
|
android:layout_centerVertical="true"
|
2013-01-20 12:39:09 +00:00
|
|
|
android:layout_centerHorizontal="true"
|
2013-04-27 07:59:04 +00:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:visibility="gone" >
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/restarting_progressBar"
|
|
|
|
style="?android:attr/progressBarStyleSmall"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginRight="10dp"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/restarting_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-05-04 10:08:50 +00:00
|
|
|
android:text="@string/suspend_user_req"
|
2013-04-27 07:59:04 +00:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2013-01-20 12:39:09 +00:00
|
|
|
|
|
|
|
</RelativeLayout>
|