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
107 lines
4.5 KiB
XML
107 lines
4.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
SPDX-FileCopyrightText: 2013 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:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
style="@style/SudContentFrame">
|
|
|
|
<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="wrap_content">
|
|
|
|
<Spinner
|
|
android:id="@+id/timezone_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="24dp"
|
|
android:saveEnabled="false" />
|
|
|
|
<TwoLineListItem
|
|
android:id="@+id/date_item"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
|
android:mode="twoLine"
|
|
android:clickable="true"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:gravity="center_vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/date_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/setup_current_date"
|
|
style="@style/SpinnerItem" />
|
|
|
|
<TextView
|
|
android:id="@+id/date_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/date_title"
|
|
android:layout_alignStart="@id/date_title"
|
|
android:fontFamily="sans-serif-medium"
|
|
style="@style/SpinnerItem" />
|
|
</TwoLineListItem>
|
|
|
|
<TwoLineListItem
|
|
android:id="@+id/time_item"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
|
android:mode="twoLine"
|
|
android:clickable="true"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:gravity="center_vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/time_title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/setup_current_time"
|
|
style="@style/SpinnerItem" />
|
|
|
|
<TextView
|
|
android:id="@+id/time_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/time_title"
|
|
android:layout_alignStart="@id/time_title"
|
|
android:fontFamily="sans-serif-medium"
|
|
style="@style/SpinnerItem" />
|
|
</TwoLineListItem>
|
|
|
|
</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>
|