Forked from LineageOS android_packages_apps_SetupWizard. Changes from upstream: - Package renamed from org.lineageos.setupwizard to me.pawlet.setupwizard - Module renamed from LineageSetupWizard to PawletSetupWizard - Source tree moved from src/org/lineageos/ to src/me/pawlet/ - WelcomeActivity and FinishActivity migrated to Kotlin/Compose - PawletTheme: Material3 lavender color scheme with Ubuntu font family - WelcomeScreen and FinishScreen Compose composables - Added Ubuntu font assets (regular/medium/bold) - Added missing strings: setup_welcome_description, setup_complete_title, setup_complete_description; os_name set to PawletOS - Android.bp: added Compose deps, pawlet-system framework API - Privapp-permissions file renamed to me.pawlet.setupwizard.xml - Helper scripts renamed from start_lineage_wizard to start_pawlet_wizard - Removed unused org.lineageos.platform.internal dependency
133 lines
5.2 KiB
XML
133 lines
5.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
SPDX-FileCopyrightText: 2016 The CyanogenMod Project
|
|
SPDX-FileCopyrightText: The LineageOS Project
|
|
SPDX-License-Identifier: Apache-2.0
|
|
-->
|
|
<com.google.android.setupdesign.GlifLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/setup_wizard_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical"
|
|
android:gravity="center_vertical">
|
|
|
|
<Space
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="2" />
|
|
|
|
<ImageView
|
|
android:id="@+id/brand_logo"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:adjustViewBounds="true"
|
|
android:scaleType="centerCrop"
|
|
android:src="@drawable/logo" />
|
|
|
|
<Space
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="0.5" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
style="@style/SudContentFrame"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:orientation="vertical"
|
|
android:paddingStart="@dimen/welcome_content_container_padding_start"
|
|
android:paddingEnd="@dimen/welcome_content_container_padding_end"
|
|
android:paddingBottom="@dimen/welcome_content_container_padding_bottom">
|
|
|
|
<TextView
|
|
style="@style/WelcomeTitle"
|
|
android:id="@+id/welcome_title"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hyphenationFrequency="none"
|
|
android:paddingBottom="@dimen/welcome_content_container_padding_bottom" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:animateLayoutChanges="true"
|
|
android:focusableInTouchMode="true"
|
|
android:importantForAccessibility="no"
|
|
android:orientation="vertical">
|
|
|
|
<Button
|
|
android:id="@+id/launch_accessibility"
|
|
style="@style/SudGlifButton.Secondary"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="fill_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:drawableStart="@drawable/ic_eye"
|
|
android:gravity="start|center"
|
|
android:drawablePadding="@dimen/welcome_content_container_padding_end"
|
|
android:textSize="@dimen/welcome_accessibility_text_size"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:text="@string/accessibility_settings" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
style="@style/SudGlifButtonBar.Stackable"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom">
|
|
|
|
<Button
|
|
android:id="@+id/emerg_dialer"
|
|
style="@style/SudGlifButton.Secondary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/emergency_call" />
|
|
|
|
<Space
|
|
android:layout_width="0.0dip"
|
|
android:layout_height="0.0dip"
|
|
android:layout_weight="1.0" />
|
|
|
|
<Button
|
|
android:id="@+id/skip"
|
|
style="@style/SudGlifButton.Secondary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/skip"
|
|
android:visibility="gone" />
|
|
|
|
<Space
|
|
android:layout_width="0.0dip"
|
|
android:layout_height="0.0dip"
|
|
android:layout_weight="1.0" />
|
|
|
|
<Button
|
|
android:id="@id/start"
|
|
style="@style/SudGlifButton.Primary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/start" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</com.google.android.setupdesign.GlifLayout>
|