summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorcretin45 <cretin45@gmail.com>2015-01-23 14:04:04 -0800
committercretin45 <cretin45@gmail.com>2015-01-23 14:04:04 -0800
commit1fcde3985e9d62eb22eff0b8eacf1d4832234867 (patch)
treea7b3076149cf0709a0c6df8b0555de8bfbda7e7a /res/layout
parent501a25032dc1783c57a094485f0b7b94c26c9421 (diff)
downloadpackages_apps_SetupWizard-1fcde3985e9d62eb22eff0b8eacf1d4832234867.zip
packages_apps_SetupWizard-1fcde3985e9d62eb22eff0b8eacf1d4832234867.tar.gz
packages_apps_SetupWizard-1fcde3985e9d62eb22eff0b8eacf1d4832234867.tar.bz2
SetupWizard: Add loading fragment if launching into another activity
Also always show the Wi-Fi page Change-Id: I3be39f793403131ea07d071c3d107b1800771e65
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/setup_loading_page.xml47
1 files changed, 47 insertions, 0 deletions
diff --git a/res/layout/setup_loading_page.xml b/res/layout/setup_loading_page.xml
new file mode 100644
index 0000000..9959095
--- /dev/null
+++ b/res/layout/setup_loading_page.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2015 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <include layout="@layout/header" />
+
+ <ProgressBar
+ android:id="@+id/progressBar1"
+ style="?android:attr/progressBarStyleHorizontal"
+ android:indeterminateOnly="true"
+ android:layout_width="match_parent"
+ android:layout_height="8dp" />
+
+ <FrameLayout android:id="@+id/page"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1"
+ style="@style/PageContent">
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:src="@drawable/timer"/>
+ </FrameLayout>
+</LinearLayout>
+
+
+
+