- Rename LineageSettingsActivity -> PawletSettingsActivity - Rename all LINEAGE_* intent action names to drop the LINEAGE_ prefix (BLUETOOTH_SETUP, WELCOME, LOCALE, SIM_MISSING, NETWORK_SETUP, DATETIME, RESTORE_BACKUP, LOCATION_SETTINGS, RECOVERY_UPDATE, PAWLET_SETTINGS, BIOMETRIC_SETTINGS, LOCKSCREEN_SETTINGS, SETUP_COMPLETE) - Rename lineage_wizard_script* raw resources to pawlet_wizard_script* - Rename setup_lineage_settings layout to setup_pawlet_settings - Update wizard_script.xml and wizard_script_user.xml action names - Fix DeviceSpecificActivity SUW_SETTINGS action to me.pawlet.settings.device - Update user-visible strings: "Lineage Recovery", "LineageOS features" - Update privacy policy URI from lineageos.org to pawletos.oxmc.me
104 lines
4.4 KiB
XML
104 lines
4.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
SPDX-FileCopyrightText: 2015 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"
|
|
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">
|
|
|
|
<!-- Whether or not to enable metrics -->
|
|
<LinearLayout
|
|
android:id="@+id/metrics"
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="@dimen/location_margin_left"
|
|
android:paddingRight="@dimen/content_margin_right"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:clickable="true">
|
|
|
|
|
|
<CheckBox
|
|
android:id="@+id/enable_metrics_checkbox"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:duplicateParentState="true"
|
|
android:clickable="false"
|
|
style="@style/SudCheckBox.Multiline" />
|
|
|
|
<TextView
|
|
android:id="@+id/enable_metrics_summary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/services_metrics_label"
|
|
style="@style/SudCheckBox.Multiline" />
|
|
|
|
</LinearLayout>
|
|
|
|
<!-- Checkbox for using on-screen nav keys -->
|
|
<LinearLayout
|
|
android:id="@+id/nav_keys"
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="@dimen/location_margin_left"
|
|
android:paddingRight="@dimen/content_margin_right"
|
|
android:background="?android:attr/selectableItemBackground"
|
|
android:clickable="true">
|
|
|
|
<CheckBox
|
|
android:id="@+id/nav_keys_checkbox"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="top"
|
|
android:duplicateParentState="true"
|
|
android:clickable="false"
|
|
style="@style/SudCheckBox.Multiline" />
|
|
|
|
<TextView
|
|
android:id="@+id/nav_keys_summary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/services_os_nav_keys_label"
|
|
style="@style/SudCheckBox.Multiline" />
|
|
|
|
</LinearLayout>
|
|
</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>
|