summaryrefslogtreecommitdiff
path: root/library/full-support/res/layout/suw_glif_recycler_template_card.xml
diff options
context:
space:
mode:
Diffstat (limited to 'library/full-support/res/layout/suw_glif_recycler_template_card.xml')
-rw-r--r--library/full-support/res/layout/suw_glif_recycler_template_card.xml28
1 files changed, 21 insertions, 7 deletions
diff --git a/library/full-support/res/layout/suw_glif_recycler_template_card.xml b/library/full-support/res/layout/suw_glif_recycler_template_card.xml
index cf67bd9..7b5c6b0 100644
--- a/library/full-support/res/layout/suw_glif_recycler_template_card.xml
+++ b/library/full-support/res/layout/suw_glif_recycler_template_card.xml
@@ -15,21 +15,35 @@
limitations under the License.
-->
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/suw_pattern_bg"
style="@style/SuwGlifCardBackground"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:fitsSystemWindows="true">
+ android:fitsSystemWindows="true"
+ android:gravity="center_horizontal"
+ android:orientation="vertical">
- <FrameLayout
+ <View
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ android:layout_weight="1"
+ android:visibility="invisible" />
+
+ <com.android.setupwizardlib.view.IntrinsicSizeFrameLayout
style="@style/SuwGlifCardContainer"
android:layout_width="@dimen/suw_glif_card_width"
- android:layout_height="@dimen/suw_glif_card_height"
- android:layout_centerInParent="true">
+ android:layout_height="wrap_content"
+ android:height="@dimen/suw_glif_card_height">
<include layout="@layout/suw_glif_recycler_template_content" />
- </FrameLayout>
+ </com.android.setupwizardlib.view.IntrinsicSizeFrameLayout>
+
+ <View
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ android:layout_weight="1"
+ android:visibility="invisible" />
-</RelativeLayout>
+</LinearLayout>