summaryrefslogtreecommitdiff
path: root/library/main/res
diff options
context:
space:
mode:
authorMaurice Lam <yukl@google.com>2017-05-09 00:37:39 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-05-09 00:37:39 +0000
commit41b878f67035ddb859785b34ddd921962f8c1131 (patch)
tree25a18f0822e72d3e16adf56104f97ed2ee058935 /library/main/res
parent8d64616b817eaaf3c761969ef19e608f278614a7 (diff)
parenteaea02f2771747f1b709387af7a5c044b17b6227 (diff)
downloadsetupwizard-41b878f67035ddb859785b34ddd921962f8c1131.tar.gz
Add footer stubs to blank template am: af3208e2c3
am: eaea02f277 Change-Id: Idb8d7939dd0af381296ece6329f81ed4142d08e2
Diffstat (limited to 'library/main/res')
-rw-r--r--library/main/res/layout/suw_glif_blank_template_card.xml7
-rw-r--r--library/main/res/layout/suw_glif_blank_template_compact.xml5
-rw-r--r--library/main/res/layout/suw_glif_blank_template_content.xml35
3 files changed, 41 insertions, 6 deletions
diff --git a/library/main/res/layout/suw_glif_blank_template_card.xml b/library/main/res/layout/suw_glif_blank_template_card.xml
index d120ab0..67c4280 100644
--- a/library/main/res/layout/suw_glif_blank_template_card.xml
+++ b/library/main/res/layout/suw_glif_blank_template_card.xml
@@ -31,11 +31,14 @@
android:visibility="invisible" />
<com.android.setupwizardlib.view.IntrinsicSizeFrameLayout
- android:id="@+id/suw_layout_content"
style="@style/SuwGlifCardContainer"
android:layout_width="@dimen/suw_glif_card_width"
android:layout_height="wrap_content"
- android:height="@dimen/suw_glif_card_height" />
+ android:height="@dimen/suw_glif_card_height">
+
+ <include layout="@layout/suw_glif_blank_template_content" />
+
+ </com.android.setupwizardlib.view.IntrinsicSizeFrameLayout>
<View
android:layout_width="0dp"
diff --git a/library/main/res/layout/suw_glif_blank_template_compact.xml b/library/main/res/layout/suw_glif_blank_template_compact.xml
index 7792cd1..fc9cfd4 100644
--- a/library/main/res/layout/suw_glif_blank_template_compact.xml
+++ b/library/main/res/layout/suw_glif_blank_template_compact.xml
@@ -21,9 +21,6 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
- <FrameLayout
- android:id="@+id/suw_layout_content"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
+ <include layout="@layout/suw_glif_blank_template_content" />
</com.android.setupwizardlib.view.StatusBarBackgroundLayout>
diff --git a/library/main/res/layout/suw_glif_blank_template_content.xml b/library/main/res/layout/suw_glif_blank_template_content.xml
new file mode 100644
index 0000000..ed81126
--- /dev/null
+++ b/library/main/res/layout/suw_glif_blank_template_content.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2017 The Android Open Source 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:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
+
+ <FrameLayout
+ android:id="@+id/suw_layout_content"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1" />
+
+ <ViewStub
+ android:id="@+id/suw_layout_footer"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" />
+
+</LinearLayout>