SUW: use setupdesign layout & theming

Change-Id: I4841b701a8952035bd633d73368e80075d17e42a
This commit is contained in:
Timi Rautamäki
2021-08-21 08:58:14 +00:00
parent d186af21f8
commit 5e2f7f2dfe
30 changed files with 828 additions and 935 deletions

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The CyanogenMod Project
Copyright (C) 2017-2021 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -14,44 +15,47 @@
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">
<com.google.android.setupdesign.GlifLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/setup_wizard_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/header_condensed" />
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout android:id="@+id/page"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<LinearLayout
android:orientation="horizontal"
<FrameLayout
android:id="@+id/page"
android:layout_width="match_parent"
android:layout_height="match_parent"
style="@style/PageContent">
android:layout_height="0dp"
android:layout_weight="1">
<TextView
android:layout_width="0px"
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:id="@+id/sim_missing"
style="@style/PageSummaryText"
android:textSize="15sp"
android:layout_marginBottom="@dimen/summary_margin_bottom"
android:paddingLeft="@dimen/content_margin_left"
android:paddingRight="@dimen/content_margin_right"
android:text="@string/sim_missing_summary" />
style="@style/SudContentFrame">
<ImageView
android:id="@+id/sim_slot_image"
android:layout_width="0px"
android:layout_height="match_parent"
android:layout_weight="1"
android:scaleType="fitEnd"
android:src="@drawable/sim"/>
<TextView
android:layout_width="0px"
android:layout_height="match_parent"
android:layout_weight="1"
android:id="@+id/sim_missing"
android:text="@string/sim_missing_summary"
style="@style/SudItemTitle.GlifDescription" />
</LinearLayout>
</FrameLayout>
</LinearLayout>
<ImageView
android:id="@+id/sim_slot_image"
android:layout_width="0px"
android:layout_height="match_parent"
android:layout_weight="1"
android:scaleType="fitEnd"
android:src="@drawable/sim" />
</LinearLayout>
</FrameLayout>
</LinearLayout>
</com.google.android.setupdesign.GlifLayout>