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
84 lines
3.2 KiB
XML
84 lines
3.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
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"
|
|
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">
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
style="@style/SudContentFrame"
|
|
android:layout_marginTop="@dimen/base_margin_top">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/page"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1">
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fillViewport="true">
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.airbnb.lottie.LottieAnimationView
|
|
android:id="@+id/navigation_illustration"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:lottie_rawRes="@raw/lottie_system_nav_fully_gestural"
|
|
app:lottie_autoPlay="true"
|
|
app:lottie_loop="true" />
|
|
|
|
<RadioGroup
|
|
android:id="@+id/navigation_radio_group"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<RadioButton
|
|
android:id="@+id/radio_gesture"
|
|
android:text="@string/gesture_navigation"
|
|
android:checked="true"
|
|
style="@style/SudRadioButton" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/radio_sw_keys"
|
|
android:text="@string/navbar_navigation"
|
|
style="@style/SudRadioButton" />
|
|
|
|
</RadioGroup>
|
|
|
|
<CheckBox
|
|
android:id="@+id/hide_navigation_hint"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/hide_gesture_hint"
|
|
android:layout_marginTop="0dp"
|
|
android:layout_marginBottom="6dp"
|
|
android:layout_marginLeft="-6dp"
|
|
android:paddingLeft="18dp"
|
|
style="@style/SudCheckBox" />
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
</FrameLayout>
|
|
|
|
<me.pawlet.setupwizard.NavigationLayout
|
|
android:id="@+id/navigation_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
</LinearLayout>
|
|
</com.google.android.setupdesign.GlifLayout>
|
|
|