Compare commits
	
		
			384 Commits
		
	
	
		
			stable/cm-
			...
			lineage-18
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | a965cffe53 | ||
|  | 3074bf4cac | ||
|  | 0129a533c1 | ||
|  | 3b3bee079d | ||
|  | 259f992ad6 | ||
|  | e751607823 | ||
|  | 29bd5a6891 | ||
|  | 3dc978412b | ||
|  | 9bb9c3f686 | ||
|  | ed8c2c0e61 | ||
|  | 945eaa56c3 | ||
|  | d8caecf898 | ||
|  | 62b331d258 | ||
|  | 9cfc52286c | ||
|  | c2d3b09baa | ||
|  | 2487cf8cc7 | ||
|  | a4f7f8e610 | ||
|  | 7955e86842 | ||
|  | b975189fcc | ||
|  | 4a4a3ca828 | ||
|  | 795d0b9489 | ||
|  | 782f58d2d7 | ||
|  | d6850d2558 | ||
|  | 841512bf66 | ||
|  | 367f321410 | ||
|  | 4ce5316a37 | ||
|  | b3789b806f | ||
|  | b7b34b96a9 | ||
|  | ade1361e3b | ||
|  | 8723edec03 | ||
|  | f6dbf84363 | ||
|  | ab4f1231ae | ||
|  | fbf886e808 | ||
|  | 44fb45c421 | ||
|  | ab4d6d383f | ||
|  | 885e3b363a | ||
|  | 5e2f7f2dfe | ||
|  | d186af21f8 | ||
|  | 7e04f9c361 | ||
|  | 1167c047be | ||
|  | c5232fcebd | ||
|  | 8dc3cf8f47 | ||
|  | d23252fbc2 | ||
|  | c84c112f8b | ||
|  | e278fd6c1a | ||
|  | bee667cfd3 | ||
|  | 6b9de1c6ee | ||
|  | c102a32744 | ||
|  | 29e77749c5 | ||
|  | bc224d5750 | ||
|  | f1b90986a8 | ||
|  | 2b90a7f7d8 | ||
|  | da735e0ab3 | ||
|  | 21ae606b71 | ||
|  | e90cf31f27 | ||
|  | 459dec482c | ||
|  | d93e0e1bbd | ||
|  | 7423d88cd0 | ||
|  | c61ad50de9 | ||
|  | e372bc0542 | ||
|  | da1355a5c5 | ||
|  | 35eda3a50b | ||
|  | cff638652a | ||
|  | b05350b920 | ||
|  | 48f460889b | ||
|  | 64dd898409 | ||
|  | 4027defd55 | ||
|  | c2b6a18b9b | ||
|  | f1bfe7e2de | ||
|  | fc026fcadc | ||
|  | a96ccce7b3 | ||
|  | d63ae5e692 | ||
|  | 5d1780f595 | ||
|  | 0523274cc8 | ||
|  | 297b16f4bc | ||
|  | dd5da5e0e2 | ||
|  | 7e295e98ed | ||
|  | 222d58e56e | ||
|  | 92f16dc6ad | ||
|  | 011b5e951a | ||
|  | 999d40eb5e | ||
|  | 231bcbde0c | ||
|  | ec3e5ccaaa | ||
|  | b0f5aa9540 | ||
|  | d463bce3c5 | ||
|  | 0ebdabef3c | ||
|  | dc49637898 | ||
|  | 30b301f1fe | ||
|  | 8b4804d822 | ||
|  | 3a90e81eb2 | ||
|  | 9a75b2bd0a | ||
|  | 97b6bc3efe | ||
|  | a3c24ddbbc | ||
|  | 1383018b2c | ||
|  | 03f1ab4f94 | ||
|  | 2f9034668b | ||
|  | c7f0c5496f | ||
|  | a63e7dc9f7 | ||
|  | 85465bc433 | ||
|  | 6c2dd2f452 | ||
|  | 3872830620 | ||
|  | 0277e73429 | ||
|  | e159adc164 | ||
|  | a8e278d031 | ||
|  | 33636d146a | ||
|  | 9da385fc3d | ||
|  | 4b465ba426 | ||
|  | cd247e92b8 | ||
|  | 059ca6c729 | ||
|  | 42c4cc3d5b | ||
|  | beb04a1051 | ||
|  | 6ef80d996b | ||
|  | 7249cb548d | ||
|  | 2236d29199 | ||
|  | e5741b0e76 | ||
|  | 9d0b647909 | ||
|  | 822928f090 | ||
|  | e30af770bd | ||
|  | d3b0cbf211 | ||
|  | 9466d4ee8c | ||
|  | 5364cce5ff | ||
|  | e7ec39571e | ||
|  | 3e80db1c16 | ||
|  | 4d3774d807 | ||
|  | 7a315e894f | ||
|  | 5d66190658 | ||
|  | 422e8d5158 | ||
|  | 9ca7cf45f1 | ||
|  | 709054b0dd | ||
|  | c83309e963 | ||
|  | fbae0863a6 | ||
|  | adfbcbdeac | ||
|  | cdff407f88 | ||
|  | fe68605330 | ||
|  | aadbc730e4 | ||
|  | cc839c9d87 | ||
|  | e0605c03f4 | ||
|  | 5e6b2a571f | ||
|  | 9a86ff6a7b | ||
|  | c347cee0d3 | ||
|  | aba4f6f13e | ||
|  | 356dcde83f | ||
|  | e7dce25fe8 | ||
|  | 74191b026e | ||
|  | c3b2008d56 | ||
|  | 712fb3a25e | ||
|  | 2266ca7cff | ||
|  | f7d9926b91 | ||
|  | 77ef7901a4 | ||
|  | f79f8cfcff | ||
|  | 3deda346f1 | ||
|  | d261c7a60e | ||
|  | 6971663571 | ||
|  | b1dd4299c4 | ||
|  | fe4f010710 | ||
|  | 32892fdb40 | ||
|  | 50da943b90 | ||
|  | 3ff607b91a | ||
|  | 092d0fa892 | ||
|  | 33b449123d | ||
|  | d82d392226 | ||
|  | 0f1683789a | ||
|  | 4972a32e04 | ||
|  | 8518aa375c | ||
|  | e8e7a5475b | ||
|  | cd33504245 | ||
|  | f834d213ea | ||
|  | 27662e2ff4 | ||
|  | 281d2655be | ||
|  | be35cfc91b | ||
|  | 50cb6ac113 | ||
|  | 0c7b92ad7a | ||
|  | 66ac309842 | ||
|  | 9365fb1c53 | ||
|  | ec3dcce5a6 | ||
|  | 63aaa30ba1 | ||
|  | 3ecb352c17 | ||
|  | 765f0e6249 | ||
|  | fc2ca45177 | ||
|  | 4161a57ccc | ||
|  | d4cea55dd7 | ||
|  | 3593f035fc | ||
|  | 167ac2cad8 | ||
|  | 3d3519ea7c | ||
|  | 42a4e5530c | ||
|  | 54311c0f1e | ||
|  | fdf1c879cd | ||
|  | cd34a5865f | ||
|  | 4e218b65f0 | ||
|  | a0cd24724e | ||
|  | 70bfefd2f4 | ||
|  | d86ccbe678 | ||
|  | 52a78fd21c | ||
|  | b1933751ba | ||
|  | a6daa27003 | ||
|  | 2e1593cfe6 | ||
|  | e89bc04ad7 | ||
|  | 4ec9f97c34 | ||
|  | dad38709ca | ||
|  | 3408466848 | ||
|  | 58443a8620 | ||
|  | 83f8afa3a1 | ||
|  | 615f709c03 | ||
|  | 8331602e94 | ||
|  | 3dce293b18 | ||
|  | aafff03d75 | ||
|  | 739026aa87 | ||
|  | af36bfb798 | ||
|  | ad287f7167 | ||
|  | 653d79c7d4 | ||
|  | 7158d4de8b | ||
|  | 8bc74d5aeb | ||
|  | b31e14b835 | ||
|  | 7c1cf5a232 | ||
|  | 3ebea2fb6d | ||
|  | 07c44c4467 | ||
|  | 10a58d25fd | ||
|  | 20037b7ae9 | ||
|  | b62056b354 | ||
|  | 73d56b4d76 | ||
|  | 6476f1bc9d | ||
|  | 4981bc9888 | ||
|  | 334c00f437 | ||
|  | df3662581a | ||
|  | 36f15ef169 | ||
|  | 44026d9007 | ||
|  | d35618baef | ||
|  | f06305a9eb | ||
|  | 635504813a | ||
|  | 8109277755 | ||
|  | 941aa1e1e2 | ||
|  | 2e75c4ee04 | ||
|  | af828584ae | ||
|  | fccccda787 | ||
|  | e5c2b92590 | ||
|  | 4082d3a7ab | ||
|  | fe7ac15220 | ||
|  | c8c765c2b5 | ||
|  | 763af1265c | ||
|  | ac93a6765d | ||
|  | f9fe68cdfa | ||
|  | 4da02b0881 | ||
|  | 0410f846bb | ||
|  | d114a09647 | ||
|  | 7de4615eeb | ||
|  | 6baab03bd8 | ||
|  | 57080c360c | ||
|  | 744827989c | ||
|  | 0d83f7c062 | ||
|  | 2009ae2ec4 | ||
|  | 8104310592 | ||
|  | ca63326151 | ||
|  | 01e57cdf28 | ||
|  | 56bf4365cf | ||
|  | 6bce9d5e1d | ||
|  | 4e1c4f5eba | ||
|  | d6b937a567 | ||
|  | 228ffe700a | ||
|  | a11d93627a | ||
|  | 13539517cf | ||
|  | 1b1b991da5 | ||
|  | 5b276ea335 | ||
|  | d40d8b83c3 | ||
|  | 962f9a89d4 | ||
|  | 95246f2063 | ||
|  | 06aa3eb165 | ||
|  | 578df09d02 | ||
|  | 00ad2213ff | ||
|  | d59304c730 | ||
|  | f8e4ab690f | ||
|  | f5ec6ac071 | ||
|  | 1141611f91 | ||
|  | 3e68503d9e | ||
|  | f4f43c6edd | ||
|  | 62f145793a | ||
|  | 8c472fc564 | ||
|  | 7ab7f3c6d9 | ||
|  | 68d2ba7728 | ||
|  | a2f4c5812e | ||
|  | 070fbeaf5d | ||
|  | ea2d42d654 | ||
|  | b64d5e7676 | ||
|  | 41801b0ca2 | ||
|  | 307e587a3a | ||
|  | f29f92dcac | ||
|  | 56ccf8676f | ||
|  | 5780dade7e | ||
|  | 14bb4e512f | ||
|  | edaab88f13 | ||
|  | fa1be773ce | ||
|  | aa2af7154c | ||
|  | 4fb57dc022 | ||
|  | 6c1d791534 | ||
|  | 97af685bbd | ||
|  | 97c37bef11 | ||
|  | 9ce4c4f0d6 | ||
|  | 837f27e6c2 | ||
|  | c407a527cc | ||
|  | 7e1a0aaffa | ||
|  | 4ef509ac48 | ||
|  | c924af3b33 | ||
|  | 62db452188 | ||
|  | ca721f949c | ||
|  | 11225341d4 | ||
|  | 91d0a935a6 | ||
|  | 76840ea9fe | ||
|  | 4ea986255f | ||
|  | 649a5ec162 | ||
|  | d587f56e2e | ||
|  | 48115dde4c | ||
|  | 1d26db14eb | ||
|  | c7a58bcc60 | ||
|  | c92c4b6a3a | ||
|  | c10e45a55c | ||
|  | c78801e2e7 | ||
|  | 6d93813829 | ||
|  | eff742708f | ||
|  | 79f63d23c1 | ||
|  | 1125b8dd34 | ||
|  | b28f9c0a76 | ||
|  | a1c8217e77 | ||
|  | ee89d29fb4 | ||
|  | e8ae2d7cdf | ||
|  | b31cb54361 | ||
|  | b72e820a96 | ||
|  | ffc0dbd2fb | ||
|  | c5e926d67f | ||
|  | 1fc47a0a79 | ||
|  | 761381fd01 | ||
|  | b7c51828ed | ||
|  | 82bbed9d9c | ||
|  | b94d4434d5 | ||
|  | a9d0039761 | ||
|  | b2ceb1f8bb | ||
|  | 3d884cef0e | ||
|  | bfd3abd0c7 | ||
|  | 7710855b72 | ||
|  | 4d08b90df3 | ||
|  | b076a55991 | ||
|  | ac84dc0fce | ||
|  | 676081a4ad | ||
|  | 9dd952e3f6 | ||
|  | 3c37b0b69c | ||
|  | 2a98e6f6f6 | ||
|  | 3371e61bb8 | ||
|  | 218deb9952 | ||
|  | de06181c7e | ||
|  | cfc4a0db64 | ||
|  | dd500a1f42 | ||
|  | 317a6cb891 | ||
|  | f654deb217 | ||
|  | bfd7ca0545 | ||
|  | 714be1a490 | ||
|  | 317a15e0eb | ||
|  | e68543ad74 | ||
|  | 6d63e95342 | ||
|  | e79aa7f0bf | ||
|  | 22df00177f | ||
|  | 645ffa8436 | ||
|  | 27457414c8 | ||
|  | b00440ec27 | ||
|  | 76101714d7 | ||
|  | 2a01a24066 | ||
|  | d0389e4e6e | ||
|  | dbc1ceb8ca | ||
|  | 88aba00aa3 | ||
|  | 2104b3f5db | ||
|  | 98b5eb9958 | ||
|  | c225cd58f7 | ||
|  | bfde63c27c | ||
|  | 0ed67f547c | ||
|  | f66c56b62f | ||
|  | 77fce341b1 | ||
|  | 0d31b31aac | ||
|  | 7732b7485d | ||
|  | 7faec91e22 | ||
|  | 7c8e091320 | ||
|  | 226687c0b2 | ||
|  | ef4cd78d5f | ||
|  | c9c13f20c9 | ||
|  | 4e192fd22b | ||
|  | 2ed0fae81e | ||
|  | bce5500e27 | ||
|  | ec7edd5154 | 
							
								
								
									
										52
									
								
								Android.bp
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,52 @@ | ||||
| // | ||||
| // Copyright (C) 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. | ||||
| // You may obtain a copy of the License at | ||||
| // | ||||
| //      http://www.apache.org/licenses/LICENSE-2.0 | ||||
| // | ||||
| // Unless required by applicable law or agreed to in writing, software | ||||
| // distributed under the License is distributed on an "AS IS" BASIS, | ||||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| // See the License for the specific language governing permissions and | ||||
| // limitations under the License. | ||||
| // | ||||
|  | ||||
| android_app { | ||||
|     name: "LineageSetupWizard", | ||||
|  | ||||
|     srcs: ["src/**/*.java"], | ||||
|  | ||||
|     certificate: "platform", | ||||
|     privileged: true, | ||||
|     system_ext_specific: true, | ||||
|     platform_apis: true, | ||||
|  | ||||
|     overrides: ["Provision"], | ||||
|  | ||||
|     optimize: { | ||||
|         proguard_flags_files: ["proguard.flags"], | ||||
|     }, | ||||
|  | ||||
|     static_libs: [ | ||||
|         "androidx.core_core", | ||||
|         "SettingsLib", | ||||
|         "setupcompat", | ||||
|         "setupdesign", | ||||
|         "org.lineageos.platform.internal", | ||||
|     ], | ||||
|  | ||||
|     libs: ["telephony-common"], | ||||
|  | ||||
|     required: ["privapp_whitelist_org.lineageos.setupwizard"], | ||||
| } | ||||
|  | ||||
| prebuilt_etc { | ||||
|     name: "privapp_whitelist_org.lineageos.setupwizard", | ||||
|     system_ext_specific: true, | ||||
|     src: "privapp_whitelist_org.lineageos.setupwizard.xml", | ||||
|     sub_dir: "permissions", | ||||
|     filename_from_src: true, | ||||
| } | ||||
							
								
								
									
										30
									
								
								Android.mk
									
									
									
									
									
								
							
							
						
						| @@ -1,30 +0,0 @@ | ||||
| LOCAL_PATH := $(call my-dir) | ||||
| include $(CLEAR_VARS) | ||||
|  | ||||
| LOCAL_SRC_FILES := $(call all-java-files-under, src) | ||||
|  | ||||
| LOCAL_MODULE_TAGS := optional | ||||
|  | ||||
| LOCAL_PACKAGE_NAME := CyanogenSetupWizard | ||||
| LOCAL_CERTIFICATE := platform | ||||
| LOCAL_PRIVILEGED_MODULE := true | ||||
|  | ||||
| LOCAL_PROGUARD_FLAG_FILES := proguard.flags | ||||
|  | ||||
| LOCAL_STATIC_JAVA_LIBRARIES := \ | ||||
|     android-support-v4 \ | ||||
|     android-support-v13 \ | ||||
|     play \ | ||||
|     libphonenumber | ||||
|  | ||||
| LOCAL_JAVA_LIBRARIES += org.cyanogenmod.hardware | ||||
|  | ||||
| # Include res dir from chips | ||||
| google_play_dir := ../../../external/google/google_play_services/libproject/google-play-services_lib/res | ||||
| res_dir := $(google_play_dir) res | ||||
|  | ||||
| LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dir)) | ||||
| LOCAL_AAPT_FLAGS := --auto-add-overlay | ||||
| LOCAL_AAPT_FLAGS += --extra-packages com.google.android.gms | ||||
|  | ||||
| include $(BUILD_PACKAGE) | ||||
| @@ -1,6 +1,7 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|      Copyright (C) 2013 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. | ||||
| @@ -15,8 +16,9 @@ | ||||
|      limitations under the License. | ||||
| --> | ||||
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|           package="com.cyanogenmod.setupwizard" | ||||
|           android:versionCode="3" | ||||
|           xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" | ||||
|           package="org.lineageos.setupwizard" | ||||
|           android:versionCode="5" | ||||
|           android:sharedUserId="android.uid.system"> | ||||
|  | ||||
|     <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" /> | ||||
| @@ -29,65 +31,312 @@ | ||||
|     <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/> | ||||
|     <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> | ||||
|     <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> | ||||
|     <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> | ||||
|     <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> | ||||
|     <uses-permission android:name="android.permission.INTERNET"/> | ||||
|     <uses-permission android:name="android.permission.GET_ACCOUNTS" /> | ||||
|     <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED" /> | ||||
|     <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" /> | ||||
|     <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> | ||||
|     <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> | ||||
|     <uses-permission android:name="android.permission.MANAGE_USERS" /> | ||||
|     <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" /> | ||||
|     <uses-permission android:name="android.permission.READ_PHONE_STATE" /> | ||||
|     <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> | ||||
|     <uses-permission android:name="android.permission.ACCESS_THEME_MANAGER"/> | ||||
|     <uses-permission android:name="android.permission.EXPAND_STATUS_BAR" /> | ||||
|     <uses-permission android:name="android.permission.HARDWARE_ABSTRACTION_ACCESS" /> | ||||
|     <uses-permission android:name="lineageos.permission.HARDWARE_ABSTRACTION_ACCESS" /> | ||||
|     <uses-permission android:name="android.permission.BACKUP" /> | ||||
|     <uses-permission android:name="org.whispersystems.whisperpush.permissions.REGISTER" /> | ||||
|     <uses-permission android:name="cyanogenmod.permission.FINISH_SETUP" /> | ||||
|     <uses-permission android:name="android.permission.NETWORK_SETTINGS" /> | ||||
|     <uses-permission android:name="lineageos.permission.FINISH_SETUP" /> | ||||
|     <uses-permission android:name="lineageos.permission.WRITE_SETTINGS" /> | ||||
|     <uses-permission android:name="lineageos.permission.WRITE_SECURE_SETTINGS" /> | ||||
|  | ||||
|     <permission | ||||
|         android:name="cyanogenmod.permission.PROTECTED_APP" | ||||
|         android:name="lineageos.permission.FINISH_SETUP" | ||||
|         android:protectionLevel="signatureOrSystem" /> | ||||
|  | ||||
|     <permission | ||||
|         android:name="cyanogenmod.permission.FINISH_SETUP" | ||||
|         android:protectionLevel="signatureOrSystem" /> | ||||
|     <protected-broadcast android:name="org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE" | ||||
|                          android:permission="lineageos.permission.FINISH_SETUP"/> | ||||
|  | ||||
|     <permission android:name="org.whispersystems.whisperpush.permissions.REGISTER" | ||||
|                 android:protectionLevel="signature" /> | ||||
|  | ||||
|     <protected-broadcast android:name="com.cyanogenmod.setupwizard.SETUP_FINISHED" | ||||
|                          android:permission="cyanogenmod.permission.FINISH_SETUP"/> | ||||
|  | ||||
|     <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="21" /> | ||||
|     <protected-broadcast android:name="org.lineageos.setupwizard.SETUP_FINISHED" | ||||
|                          android:permission="lineageos.permission.FINISH_SETUP"/> | ||||
|  | ||||
|     <application android:label="@string/app_name" | ||||
|                  android:icon="@drawable/icon" | ||||
|                  android:icon="@mipmap/ic_launcher" | ||||
|                  android:theme="@style/Theme.Setup" | ||||
|                  android:uiOptions="none" | ||||
|                  android:taskAffinity="com.android.wizard" | ||||
|                  android:name=".SetupWizardApp"> | ||||
|  | ||||
|         <uses-library android:name="org.cyanogenmod.hardware" android:required="false" /> | ||||
|  | ||||
|         <meta-data android:name="com.google.android.gms.version" | ||||
|                    android:value="@integer/google_play_services_version" /> | ||||
|  | ||||
|         <activity android:name=".ui.SetupWizardActivity" | ||||
|                   android:label="@string/product_name" | ||||
|                   android:launchMode="singleInstance" | ||||
|         <activity android:theme="@style/NoDisplay" | ||||
|                   android:label="@string/activity_label_empty" | ||||
|                   android:name=".wizardmanager.WizardManager" | ||||
|                   android:enabled="false" | ||||
|                   android:exported="false" | ||||
|                   android:excludeFromRecents="true" | ||||
|                   android:uiOptions="none" | ||||
|                   android:configChanges="themeChange|mcc|mnc" | ||||
|                   android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize" | ||||
|                   android:immersive="true"> | ||||
|             <intent-filter> | ||||
|                 <action android:name="com.android.wizard.LOAD" /> | ||||
|                 <action android:name="com.android.wizard.NEXT" /> | ||||
|                 <category android:name="android.intent.category.DEFAULT" /> | ||||
|             </intent-filter> | ||||
|         </activity> | ||||
|  | ||||
|         <activity android:name=".SetupWizardActivity" | ||||
|                   android:label="@string/activity_label_empty" | ||||
|                   android:lockTaskMode="normal" | ||||
|                   android:launchMode="singleTask" | ||||
|                   android:excludeFromRecents="true" | ||||
|                   android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize" | ||||
|                   android:immersive="true" | ||||
|                   android:windowSoftInputMode="stateAlwaysHidden" | ||||
|                   android:theme="@style/NoDisplay"> | ||||
|  | ||||
|             <intent-filter android:priority="9"> | ||||
|  | ||||
|                 <action android:name="android.intent.action.MAIN" /> | ||||
|                 <action android:name="android.intent.action.DEVICE_INITIALIZATION_WIZARD" /> | ||||
|  | ||||
|                 <category android:name="android.intent.category.HOME" /> | ||||
|                 <category android:name="android.intent.category.DEFAULT" /> | ||||
|             </intent-filter> | ||||
|         </activity> | ||||
|  | ||||
|         <activity android:name=".BluetoothSetupActivity" | ||||
|                   android:label="@string/activity_label_empty" | ||||
|                   android:excludeFromRecents="true" | ||||
|                   android:configChanges="mcc|mnc" | ||||
|                   android:immersive="true" | ||||
|                   android:windowSoftInputMode="stateAlwaysHidden"> | ||||
|             <intent-filter> | ||||
|                 <action android:name="org.lineageos.setupwizard.LINEAGE_BLUETOOTH_SETUP" /> | ||||
|                 <category android:name="android.intent.category.DEFAULT" /> | ||||
|             </intent-filter> | ||||
|         </activity> | ||||
|  | ||||
|         <activity android:name=".WelcomeActivity" | ||||
|                   android:label="@string/activity_label_empty" | ||||
|                   android:excludeFromRecents="true" | ||||
|                   android:configChanges="mcc|mnc" | ||||
|                   android:immersive="true" | ||||
|                   android:windowSoftInputMode="stateAlwaysHidden"> | ||||
|             <intent-filter> | ||||
|                 <action android:name="org.lineageos.setupwizard.LINEAGE_WELCOME" /> | ||||
|                 <category android:name="android.intent.category.DEFAULT" /> | ||||
|             </intent-filter> | ||||
|         </activity> | ||||
|  | ||||
|         <activity android:name=".LocaleActivity" | ||||
|                   android:label="@string/activity_label_empty" | ||||
|                   android:excludeFromRecents="true" | ||||
|                   android:configChanges="mcc|mnc" | ||||
|                   android:immersive="true" | ||||
|                   android:windowSoftInputMode="stateAlwaysHidden"> | ||||
|             <intent-filter> | ||||
|                 <action android:name="org.lineageos.setupwizard.LINEAGE_LOCALE" /> | ||||
|                 <category android:name="android.intent.category.DEFAULT" /> | ||||
|             </intent-filter> | ||||
|         </activity> | ||||
|  | ||||
|         <activity android:name=".DateTimeActivity" | ||||
|                   android:label="@string/activity_label_empty" | ||||
|                   android:excludeFromRecents="true" | ||||
|                   android:configChanges="mcc|mnc" | ||||
|                   android:immersive="true" | ||||
|                   android:windowSoftInputMode="stateAlwaysHidden"> | ||||
|             <intent-filter> | ||||
|                 <action android:name="org.lineageos.setupwizard.LINEAGE_DATETIME" /> | ||||
|                 <category android:name="android.intent.category.DEFAULT" /> | ||||
|             </intent-filter> | ||||
|         </activity> | ||||
|  | ||||
|         <activity android:name=".WifiSetupActivity" | ||||
|                   android:label="@string/activity_label_empty" | ||||
|                   android:excludeFromRecents="true" | ||||
|                   android:configChanges="mcc|mnc" | ||||
|                   android:immersive="true" | ||||
|                   android:exported="false" | ||||
|                   android:windowSoftInputMode="stateAlwaysHidden"> | ||||
|             <intent-filter> | ||||
|                 <action android:name="org.lineageos.setupwizard.LINEAGE_WIFI_SETUP" /> | ||||
|                 <category android:name="android.intent.category.DEFAULT" /> | ||||
|             </intent-filter> | ||||
|         </activity> | ||||
|  | ||||
|         <activity android:name=".CaptivePortalSetupActivity" | ||||
|                   android:label="@string/activity_label_empty" | ||||
|                   android:excludeFromRecents="true" | ||||
|                   android:configChanges="mcc|mnc" | ||||
|                   android:immersive="true" | ||||
|                   android:exported="false" | ||||
|                   android:windowSoftInputMode="stateAlwaysHidden"> | ||||
|             <intent-filter> | ||||
|                 <action android:name="org.lineageos.setupwizard.LINEAGE_CAPTIVE_PORTAL_SETUP" /> | ||||
|                 <category android:name="android.intent.category.DEFAULT" /> | ||||
|             </intent-filter> | ||||
|         </activity> | ||||
|  | ||||
|         <activity android:name=".SimMissingActivity" | ||||
|                   android:label="@string/activity_label_empty" | ||||
|                   android:excludeFromRecents="true" | ||||
|                   android:configChanges="mcc|mnc" | ||||
|                   android:immersive="true" | ||||
|                   android:exported="false" | ||||
|                   android:windowSoftInputMode="stateAlwaysHidden"> | ||||
|             <intent-filter> | ||||
|                 <action android:name="org.lineageos.setupwizard.LINEAGE_SIM_MISSING" /> | ||||
|                 <category android:name="android.intent.category.DEFAULT" /> | ||||
|             </intent-filter> | ||||
|         </activity> | ||||
|  | ||||
|         <activity android:name=".ChooseDataSimActivity" | ||||
|                   android:label="@string/activity_label_empty" | ||||
|                   android:excludeFromRecents="true" | ||||
|                   android:configChanges="mcc|mnc" | ||||
|                   android:immersive="true" | ||||
|                   android:exported="false" | ||||
|                   android:windowSoftInputMode="stateAlwaysHidden"> | ||||
|             <intent-filter> | ||||
|                 <action android:name="org.lineageos.setupwizard.LINEAGE_CHOOSE_DATA_SIM" /> | ||||
|                 <category android:name="android.intent.category.DEFAULT" /> | ||||
|             </intent-filter> | ||||
|         </activity> | ||||
|  | ||||
|         <activity android:name=".MobileDataActivity" | ||||
|                   android:label="@string/activity_label_empty" | ||||
|                   android:excludeFromRecents="true" | ||||
|                   android:configChanges="mcc|mnc" | ||||
|                   android:immersive="true" | ||||
|                   android:exported="false" | ||||
|                   android:windowSoftInputMode="stateAlwaysHidden"> | ||||
|             <intent-filter> | ||||
|                 <action android:name="org.lineageos.setupwizard.LINEAGE_ENABLE_MOBILE_DATA" /> | ||||
|                 <category android:name="android.intent.category.DEFAULT" /> | ||||
|             </intent-filter> | ||||
|         </activity> | ||||
|  | ||||
|         <activity android:name=".LocationSettingsActivity" | ||||
|                   android:label="@string/activity_label_empty" | ||||
|                   android:excludeFromRecents="true" | ||||
|                   android:configChanges="mcc|mnc" | ||||
|                   android:immersive="true" | ||||
|                   android:exported="false" | ||||
|                   android:windowSoftInputMode="stateAlwaysHidden"> | ||||
|             <intent-filter> | ||||
|                 <action android:name="org.lineageos.setupwizard.LINEAGE_LOCATION_SETTINGS" /> | ||||
|                 <category android:name="android.intent.category.DEFAULT" /> | ||||
|             </intent-filter> | ||||
|         </activity> | ||||
|  | ||||
|         <activity android:name=".UpdateRecoveryActivity" | ||||
|                   android:label="@string/activity_label_empty" | ||||
|                   android:excludeFromRecents="true" | ||||
|                   android:configChanges="mcc|mnc" | ||||
|                   android:immersive="true" | ||||
|                   android:windowSoftInputMode="stateAlwaysHidden"> | ||||
|             <intent-filter> | ||||
|                 <action android:name="org.lineageos.setupwizard.LINEAGE_RECOVERY_UPDATE"/> | ||||
|                 <category android:name="android.intent.category.DEFAULT"/> | ||||
|             </intent-filter> | ||||
|         </activity> | ||||
|  | ||||
|         <activity android:name=".DeviceSpecificActivity" | ||||
|                   android:label="@string/activity_label_empty" | ||||
|                   android:excludeFromRecents="true" | ||||
|                   android:immersive="true" | ||||
|                   android:windowSoftInputMode="stateAlwaysHidden"> | ||||
|             <intent-filter> | ||||
|                 <action android:name="org.lineageos.setupwizard.DEVICE_SPECIFIC"/> | ||||
|                 <category android:name="android.intent.category.DEFAULT"/> | ||||
|             </intent-filter> | ||||
|         </activity> | ||||
|  | ||||
|         <activity android:name=".LineageSettingsActivity" | ||||
|                   android:label="@string/activity_label_empty" | ||||
|                   android:excludeFromRecents="true" | ||||
|                   android:configChanges="mcc|mnc" | ||||
|                   android:immersive="true" | ||||
|                   android:windowSoftInputMode="stateAlwaysHidden"> | ||||
|             <intent-filter> | ||||
|                 <action android:name="org.lineageos.setupwizard.LINEAGE_SETTINGS" /> | ||||
|                 <category android:name="android.intent.category.DEFAULT" /> | ||||
|             </intent-filter> | ||||
|         </activity> | ||||
|  | ||||
|         <activity android:name=".BiometricActivity" | ||||
|                   android:label="@string/activity_label_empty" | ||||
|                   android:excludeFromRecents="true" | ||||
|                   android:configChanges="mcc|mnc" | ||||
|                   android:immersive="true" | ||||
|                   android:exported="false" | ||||
|                   android:windowSoftInputMode="stateAlwaysHidden"> | ||||
|             <intent-filter> | ||||
|                 <action android:name="org.lineageos.setupwizard.LINEAGE_BIOMETRIC_SETTINGS" /> | ||||
|                 <category android:name="android.intent.category.DEFAULT" /> | ||||
|             </intent-filter> | ||||
|         </activity> | ||||
|  | ||||
|         <activity android:name=".ScreenLockActivity" | ||||
|                   android:label="@string/activity_label_empty" | ||||
|                   android:excludeFromRecents="true" | ||||
|                   android:configChanges="mcc|mnc" | ||||
|                   android:immersive="true" | ||||
|                   android:exported="false" | ||||
|                   android:windowSoftInputMode="stateAlwaysHidden"> | ||||
|             <intent-filter> | ||||
|                 <action android:name="org.lineageos.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS" /> | ||||
|                 <category android:name="android.intent.category.DEFAULT" /> | ||||
|             </intent-filter> | ||||
|         </activity> | ||||
|  | ||||
|         <activity android:name=".backup.RestoreIntroActivity" | ||||
|                   android:label="@string/activity_label_empty" | ||||
|                   android:excludeFromRecents="true" | ||||
|                   android:configChanges="mcc|mnc" | ||||
|                   android:immersive="true" | ||||
|                   android:windowSoftInputMode="stateAlwaysHidden"> | ||||
|             <intent-filter> | ||||
|                 <action android:name="org.lineageos.setupwizard.LINEAGE_RESTORE_BACKUP"/> | ||||
|                 <category android:name="android.intent.category.DEFAULT"/> | ||||
|             </intent-filter> | ||||
|         </activity> | ||||
|  | ||||
|         <activity android:name=".FinishActivity" | ||||
|                   android:label="@string/activity_label_empty" | ||||
|                   android:excludeFromRecents="true" | ||||
|                   android:configChanges="mcc|mnc" | ||||
|                   android:immersive="true" | ||||
|                   android:windowSoftInputMode="stateAlwaysHidden"> | ||||
|             <intent-filter> | ||||
|                 <action android:name="org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE" /> | ||||
|                 <category android:name="android.intent.category.DEFAULT" /> | ||||
|             </intent-filter> | ||||
|         </activity> | ||||
|  | ||||
|         <activity android:name=".SetupWizardExitActivity" | ||||
|                   android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize" | ||||
|                   android:excludeFromRecents="true" | ||||
|                   android:immersive="true" | ||||
|                   android:label="@@string/activity_label_empty" | ||||
|                   android:theme="@style/NoDisplay"> | ||||
|             <intent-filter> | ||||
|                 <action android:name="org.lineageos.setupwizard.EXIT"/> | ||||
|                 <category android:name="android.intent.category.DEFAULT"/> | ||||
|             </intent-filter> | ||||
|         </activity> | ||||
|  | ||||
|         <activity android:name=".SetupWizardTestActivity" | ||||
|                   android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize" | ||||
|                   android:exported="false" | ||||
|                   android:immersive="true" | ||||
|                   android:label="@string/activity_label_empty" | ||||
|                   android:launchMode="singleInstance" | ||||
|                   android:theme="@style/NoDisplay"/> | ||||
|  | ||||
|         <receiver android:name=".PartnerReceiver"> | ||||
|             <intent-filter> | ||||
|                 <action android:name="com.android.setupwizard.action.PARTNER_CUSTOMIZATION" /> | ||||
|                 <action android:name="com.google.android.tvsetup.action.PARTNER_CUSTOMIZATION" /> | ||||
|                 <category android:name="android.intent.category.DEFAULT" /> | ||||
|             </intent-filter> | ||||
|         </receiver> | ||||
|  | ||||
|         <service android:name=".SetupWizardExitService" | ||||
|                  android:exported="false"/> | ||||
|     </application> | ||||
| </manifest> | ||||
|   | ||||
							
								
								
									
										13
									
								
								exit_wizard.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						| @@ -0,0 +1,13 @@ | ||||
| #!/bin/bash | ||||
|  | ||||
| adb root | ||||
| wait ${!} | ||||
| adb shell pm enable org.lineageos.setupwizard/org.lineageos.setupwizard.SetupWizardExitActivity || true | ||||
| wait ${!} | ||||
| adb shell pm enable com.google.android.setupwizard/com.google.android.setupwizard.SetupWizardExitActivity || true | ||||
| wait ${!} | ||||
| sleep 1 | ||||
| adb shell am start org.lineageos.setupwizard/org.lineageos.setupwizard.SetupWizardExitActivity || true | ||||
| wait ${!} | ||||
| sleep 1 | ||||
| adb shell am start com.google.android.setupwizard/com.google.android.setupwizard.SetupWizardExitActivity | ||||
							
								
								
									
										31
									
								
								privapp_whitelist_org.lineageos.setupwizard.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,31 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|      Copyright (C) 2017-2020 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. | ||||
|      You may obtain a copy of the License at | ||||
|  | ||||
|           http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|      Unless required by applicable law or agreed to in writing, software | ||||
|      distributed under the License is distributed on an "AS IS" BASIS, | ||||
|      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|      See the License for the specific language governing permissions and | ||||
|      limitations under the License. | ||||
| --> | ||||
| <permissions> | ||||
|     <privapp-permissions package="org.lineageos.setupwizard"> | ||||
|         <permission name="android.permission.BACKUP"/> | ||||
|         <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/> | ||||
|         <permission name="android.permission.CHANGE_CONFIGURATION"/> | ||||
|         <permission name="android.permission.GET_ACCOUNTS_PRIVILEGED"/> | ||||
|         <permission name="android.permission.INTERACT_ACROSS_USERS"/> | ||||
|         <permission name="android.permission.MANAGE_USERS"/> | ||||
|         <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/> | ||||
|         <permission name="android.permission.SET_TIME"/> | ||||
|         <permission name="android.permission.SET_TIME_ZONE"/> | ||||
|         <permission name="android.permission.STATUS_BAR"/> | ||||
|         <permission name="android.permission.WRITE_SECURE_SETTINGS"/> | ||||
|     </privapp-permissions> | ||||
| </permissions> | ||||
| @@ -1,3 +1,12 @@ | ||||
| -keep class * extends java.util.ListResourceBundle { | ||||
|     protected Object[][] getContents(); | ||||
| } | ||||
| } | ||||
|  | ||||
| # Needed for Parcelable/SafeParcelable Creators to not get stripped | ||||
| -keepnames class * implements android.os.Parcelable { | ||||
|     public static final ** CREATOR; | ||||
| } | ||||
|  | ||||
| # Needed when building against the Marshmallow SDK | ||||
| -dontwarn org.apache.http.** | ||||
| -dontwarn androidx.** | ||||
|   | ||||
| @@ -1,9 +0,0 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <set xmlns:android="http://schemas.android.com/apk/res/android"> | ||||
|     <objectAnimator android:duration="@android:integer/config_mediumAnimTime" | ||||
|                     android:interpolator="@android:anim/accelerate_interpolator" | ||||
|                     android:propertyName="x" | ||||
|                     android:valueFrom="1280" | ||||
|                     android:valueTo="0" | ||||
|                     android:valueType="floatType"/> | ||||
| </set> | ||||
| @@ -1,9 +0,0 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <set xmlns:android="http://schemas.android.com/apk/res/android"> | ||||
|     <objectAnimator android:duration="@android:integer/config_mediumAnimTime" | ||||
|                     android:interpolator="@android:anim/accelerate_interpolator" | ||||
|                     android:propertyName="x" | ||||
|                     android:valueFrom="0" | ||||
|                     android:valueTo="-1280" | ||||
|                     android:valueType="floatType"/> | ||||
| </set> | ||||
							
								
								
									
										24
									
								
								res/anim/translucent_enter.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,24 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
| /* | ||||
| ** Copyright 2009, The Android Open Source Project | ||||
| ** | ||||
| ** Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| ** you may not use this file except in compliance with the License. | ||||
| ** You may obtain a copy of the License at | ||||
| ** | ||||
| **     http://www.apache.org/licenses/LICENSE-2.0 | ||||
| ** | ||||
| ** Unless required by applicable law or agreed to in writing, software | ||||
| ** distributed under the License is distributed on an "AS IS" BASIS, | ||||
| ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| ** See the License for the specific language governing permissions and | ||||
| ** limitations under the License. | ||||
| */ | ||||
| --> | ||||
|  | ||||
| <set xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|      android:interpolator="@android:interpolator/decelerate_quad"> | ||||
|    <alpha android:fromAlpha="0.0" android:toAlpha="1.0" | ||||
|            android:duration="@android:integer/config_shortAnimTime"/> | ||||
| </set> | ||||
							
								
								
									
										24
									
								
								res/anim/translucent_exit.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,24 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
| /* | ||||
| ** Copyright 2009, The Android Open Source Project | ||||
| ** | ||||
| ** Licensed under the Apache License, Version 2.0 (the "License"); | ||||
| ** you may not use this file except in compliance with the License. | ||||
| ** You may obtain a copy of the License at | ||||
| ** | ||||
| **     http://www.apache.org/licenses/LICENSE-2.0 | ||||
| ** | ||||
| ** Unless required by applicable law or agreed to in writing, software | ||||
| ** distributed under the License is distributed on an "AS IS" BASIS, | ||||
| ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| ** See the License for the specific language governing permissions and | ||||
| ** limitations under the License. | ||||
| */ | ||||
| --> | ||||
|  | ||||
| <set xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|      android:interpolator="@android:interpolator/accelerate_quad"> | ||||
|     <alpha android:fromAlpha="1.0" android:toAlpha="0" | ||||
|            android:duration="@android:integer/config_shortAnimTime"/> | ||||
| </set> | ||||
| @@ -14,16 +14,8 @@ | ||||
|      See the License for the specific language governing permissions and | ||||
|      limitations under the License. | ||||
| --> | ||||
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|                 android:id="@+id/header" | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="@dimen/header_height" | ||||
|                 android:background="@color/header_bg" | ||||
|                 style="@style/Header"> | ||||
| 
 | ||||
|     <TextView | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="@dimen/page_title_height" | ||||
|         style="@style/PageTitle" /> | ||||
| 
 | ||||
| </RelativeLayout> | ||||
| <selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||||
|     <item android:state_enabled="false" android:color="@color/button_bar_text_disabled" /> | ||||
|     <item android:color="@color/button_bar_text_enabled" /> | ||||
| </selector> | ||||
| Before Width: | Height: | Size: 11 KiB | 
| Before Width: | Height: | Size: 18 KiB | 
| Before Width: | Height: | Size: 2.7 KiB | 
| Before Width: | Height: | Size: 2.8 KiB | 
| Before Width: | Height: | Size: 1.6 KiB | 
| Before Width: | Height: | Size: 5.7 KiB | 
| Before Width: | Height: | Size: 9.0 KiB | 
| Before Width: | Height: | Size: 2.1 KiB | 
| Before Width: | Height: | Size: 2.8 KiB | 
| Before Width: | Height: | Size: 967 B | 
| Before Width: | Height: | Size: 13 KiB | 
| Before Width: | Height: | Size: 22 KiB | 
| Before Width: | Height: | Size: 3.2 KiB | 
| Before Width: | Height: | Size: 2.9 KiB | 
| Before Width: | Height: | Size: 2.1 KiB | 
| Before Width: | Height: | Size: 22 KiB | 
| Before Width: | Height: | Size: 39 KiB | 
| Before Width: | Height: | Size: 3.0 KiB | 
| Before Width: | Height: | Size: 3.2 KiB | 
| Before Width: | Height: | Size: 32 KiB | 
| Before Width: | Height: | Size: 60 KiB | 
| Before Width: | Height: | Size: 3.1 KiB | 
| Before Width: | Height: | Size: 4.4 KiB | 
							
								
								
									
										29
									
								
								res/drawable/cross.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,29 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|     Copyright (c) 2017 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. | ||||
|     You may obtain a copy of the License at | ||||
|  | ||||
|         http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|     Unless required by applicable law or agreed to in writing, software | ||||
|     distributed under the License is distributed on an "AS IS" BASIS, | ||||
|     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|     See the License for the specific language governing permissions and | ||||
|     limitations under the License. | ||||
| --> | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="24dp" | ||||
|     android:height="24dp" | ||||
|     android:viewportWidth="24" | ||||
|     android:viewportHeight="24"> | ||||
|  | ||||
|     <path | ||||
|         android:fillColor="@color/black" | ||||
|         android:pathData="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 | ||||
| 19 19 17.59 13.41 12z" /> | ||||
|     <path | ||||
|         android:pathData="M0 0h24v24H0z" /> | ||||
| </vector> | ||||
| @@ -17,4 +17,4 @@ | ||||
| <shape xmlns:android="http://schemas.android.com/apk/res/android" > | ||||
|     <solid android:color="@color/divider" /> | ||||
|     <size android:width="316dp" android:height="1px"/> | ||||
| </shape> | ||||
| </shape> | ||||
|   | ||||
							
								
								
									
										27
									
								
								res/drawable/ic_check_mark.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,27 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|     Copyright (c) 2015 The CyanogenMod Project | ||||
|     Copyright (c) 2017 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. | ||||
|     You may obtain a copy of the License at | ||||
|  | ||||
|         http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|     Unless required by applicable law or agreed to in writing, software | ||||
|     distributed under the License is distributed on an "AS IS" BASIS, | ||||
|     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|     See the License for the specific language governing permissions and | ||||
|     limitations under the License. | ||||
| --> | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="24dp" | ||||
|     android:height="24dp" | ||||
|     android:viewportWidth="24" | ||||
|     android:viewportHeight="24"> | ||||
|  | ||||
|     <path | ||||
|         android:fillColor="@color/accent" | ||||
|         android:pathData="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" /> | ||||
| </vector> | ||||
| @@ -6,6 +6,6 @@ | ||||
|     android:viewportHeight="24"> | ||||
|  | ||||
|     <path | ||||
|         android:fillColor="@color/primary_text" | ||||
|         android:fillColor="@color/button_bar_text" | ||||
|         android:pathData="M15.41,7.41L14,6l-6,6l6,6l1.41-1.41L10.83,12L15.41,7.41Z" /> | ||||
| </vector> | ||||
|   | ||||
| @@ -1,11 +0,0 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="24dp" | ||||
|     android:height="24dp" | ||||
|     android:viewportWidth="24" | ||||
|     android:viewportHeight="24"> | ||||
|  | ||||
|     <path | ||||
|         android:fillColor="@color/white" | ||||
|         android:pathData="M15.41,7.41L14,6l-6,6l6,6l1.41-1.41L10.83,12L15.41,7.41Z" /> | ||||
| </vector> | ||||
| @@ -6,6 +6,6 @@ | ||||
|     android:viewportHeight="24"> | ||||
|  | ||||
|     <path | ||||
|         android:fillColor="@color/primary_text" | ||||
|         android:fillColor="@color/button_bar_text" | ||||
|         android:pathData="M10,6L8.59,7.41L13.17,12l-4.58,4.59L10,18l6-6L10,6Z" /> | ||||
| </vector> | ||||
|   | ||||
| @@ -1,11 +0,0 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="24dp" | ||||
|     android:height="24dp" | ||||
|     android:viewportWidth="24" | ||||
|     android:viewportHeight="24"> | ||||
|  | ||||
|     <path | ||||
|         android:fillColor="@color/white" | ||||
|         android:pathData="M10,6L8.59,7.41L13.17,12l-4.58,4.59L10,18l6-6L10,6Z" /> | ||||
| </vector> | ||||
							
								
								
									
										29
									
								
								res/drawable/ic_datetime.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,29 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|     Copyright (c) 2017 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. | ||||
|     You may obtain a copy of the License at | ||||
|  | ||||
|         http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|     Unless required by applicable law or agreed to in writing, software | ||||
|     distributed under the License is distributed on an "AS IS" BASIS, | ||||
|     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|     See the License for the specific language governing permissions and | ||||
|     limitations under the License. | ||||
| --> | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="24dp" | ||||
|     android:height="24dp" | ||||
|     android:viewportWidth="24" | ||||
|     android:viewportHeight="24"> | ||||
|  | ||||
|     <path | ||||
|         android:pathData="M0 0h24v24H0z" /> | ||||
|     <path | ||||
|         android:fillColor="@color/black" | ||||
|         android:pathData="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99 .9 -1.99 2L3 19c0 1.1 .89 2 2 2h14c1.1 0 | ||||
| 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z" /> | ||||
| </vector> | ||||
							
								
								
									
										26
									
								
								res/drawable/ic_dialer.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,26 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|     Copyright (c) 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. | ||||
|     You may obtain a copy of the License at | ||||
|  | ||||
|         http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|     Unless required by applicable law or agreed to in writing, software | ||||
|     distributed under the License is distributed on an "AS IS" BASIS, | ||||
|     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|     See the License for the specific language governing permissions and | ||||
|     limitations under the License. | ||||
| --> | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="24dp" | ||||
|     android:height="24dp" | ||||
|     android:viewportWidth="24" | ||||
|     android:viewportHeight="24"> | ||||
|  | ||||
|     <path | ||||
|         android:fillColor="@color/black" | ||||
|         android:pathData="M20,15.5C18.8,15.5 17.5,15.3 16.4,14.9C16.3,14.9 16.2,14.9 16.1,14.9C15.8,14.9 15.6,15 15.4,15.2L13.2,17.4C10.4,15.9 8,13.6 6.6,10.8L8.8,8.6C9.1,8.3 9.2,7.9 9,7.6C8.7,6.5 8.5,5.2 8.5,4C8.5,3.5 8,3 7.5,3H4C3.5,3 3,3.5 3,4C3,13.4 10.6,21 20,21C20.5,21 21,20.5 21,20V16.5C21,16 20.5,15.5 20,15.5M5,5H6.5C6.6,5.9 6.8,6.8 7,7.6L5.8,8.8C5.4,7.6 5.1,6.3 5,5M19,19C17.7,18.9 16.4,18.6 15.2,18.2L16.4,17C17.2,17.2 18.1,17.4 19,17.4V19Z" /> | ||||
| </vector> | ||||
							
								
								
									
										26
									
								
								res/drawable/ic_eye.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,26 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|     Copyright (c) 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. | ||||
|     You may obtain a copy of the License at | ||||
|  | ||||
|         http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|     Unless required by applicable law or agreed to in writing, software | ||||
|     distributed under the License is distributed on an "AS IS" BASIS, | ||||
|     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|     See the License for the specific language governing permissions and | ||||
|     limitations under the License. | ||||
| --> | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="24dp" | ||||
|     android:height="24dp" | ||||
|     android:viewportWidth="24" | ||||
|     android:viewportHeight="24"> | ||||
|  | ||||
|     <path | ||||
|         android:fillColor="@color/black" | ||||
|         android:pathData="M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9M12,4.5C17,4.5 21.27,7.61 23,12C21.27,16.39 17,19.5 12,19.5C7,19.5 2.73,16.39 1,12C2.73,7.61 7,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C15.76,17.5 19.17,15.36 20.82,12C19.17,8.64 15.76,6.5 12,6.5C8.24,6.5 4.83,8.64 3.18,12Z" /> | ||||
| </vector> | ||||
							
								
								
									
										29
									
								
								res/drawable/ic_face.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,29 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|   ~ Copyright (C) 2019 The Android Open Source Project | ||||
|   ~ | ||||
|   ~ Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|   ~ you may not use this file except in compliance with the License. | ||||
|   ~ You may obtain a copy of the License at | ||||
|   ~ | ||||
|   ~      http://www.apache.org/licenses/LICENSE-2.0 | ||||
|   ~ | ||||
|   ~ Unless required by applicable law or agreed to in writing, software | ||||
|   ~ distributed under the License is distributed on an "AS IS" BASIS, | ||||
|   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|   ~ See the License for the specific language governing permissions and | ||||
|   ~ limitations under the License | ||||
|   --> | ||||
|  | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|         android:width="24dp" | ||||
|         android:height="24dp" | ||||
|         android:viewportWidth="24" | ||||
|         android:viewportHeight="24"> | ||||
|  | ||||
|     <path | ||||
|         android:fillColor="@color/black" | ||||
|         android:pathData="M10.25,13c0,0.69-0.56,1.25-1.25,1.25S7.75,13.69,7.75,13S8.31,11.75,9,11.75S10.25,12.31,10.25,13z M15,11.75 c-0.69,0-1.25,0.56-1.25,1.25s0.56,1.25,1.25,1.25s1.25-0.56,1.25-1.25S15.69,11.75,15,11.75z M22,12c0,5.52-4.48,10-10,10 S2,17.52,2,12S6.48,2,12,2S22,6.48,22,12z M20,12c0-0.78-0.12-1.53-0.33-2.24C18.97,9.91,18.25,10,17.5,10 c-3.13,0-5.92-1.44-7.76-3.69c-1.05,2.56-3.14,4.57-5.74,5.55C4.01,11.9,4,11.95,4,12c0,4.41,3.59,8,8,8S20,16.41,20,12z" /> | ||||
|     <path | ||||
|         android:pathData="M0,0h24v24H0V0z" /> | ||||
| </vector> | ||||
							
								
								
									
										35
									
								
								res/drawable/ic_features.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,35 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|     Copyright (c) 2017 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. | ||||
|     You may obtain a copy of the License at | ||||
|  | ||||
|         http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|     Unless required by applicable law or agreed to in writing, software | ||||
|     distributed under the License is distributed on an "AS IS" BASIS, | ||||
|     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|     See the License for the specific language governing permissions and | ||||
|     limitations under the License. | ||||
| --> | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="24dp" | ||||
|     android:height="24dp" | ||||
|     android:viewportWidth="24" | ||||
|     android:viewportHeight="24"> | ||||
|  | ||||
|     <path | ||||
|         android:pathData="M0 0h24v24H0V0z" /> | ||||
|     <path | ||||
|         android:fillColor="@color/black" | ||||
|         android:pathData="M11.8 12.5v-1l1.1-.8c.1-.1 .1 -.2 .1 -.3l-1-1.7c-.1-.1-.2-.2-.3-.1l-1.3 .4 | ||||
| c-.3-.2-.6-.4-.9-.5l-.2-1.3c0-.1-.1-.2-.3-.2H7c-.1 0-.2 .1 -.3 .2 l-.2 1.3c-.3 | ||||
| .1 -.6 .3 -.9 .5 l-1.3-.5c-.1 0-.2 0-.3 .1 l-1 1.7c-.1 .1 0 .2 .1 .3l1.1 .8 | ||||
| v1l-1.1 .8 c-.1 .2 -.1 .3 -.1 .4 l1 1.7c.1 .1 .2 .2 .3 .1 l1.4-.4c.3 .2 .6 .4 .9 | ||||
| .5 l.2 1.3c-.1 .1 .1 .2 .2 .2 h2c.1 0 .2-.1 .3 -.2l.2-1.3c.3-.1 .6 -.3 .9 | ||||
| -.5l1.3 .5 c.1 0 .2 0 .3-.1l1-1.7c.1-.1 0-.2-.1-.3l-1.1-.9zM8 14c-1.1 | ||||
| 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM19 1H9c-1.1 0-2 .9-2 | ||||
| 2v3h2V4h10v16H9v-2H7v3c0 1.1 .9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2z" /> | ||||
| </vector> | ||||
							
								
								
									
										52
									
								
								res/drawable/ic_fingerprint.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,52 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|     Copyright (c) 2017 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. | ||||
|     You may obtain a copy of the License at | ||||
|  | ||||
|         http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|     Unless required by applicable law or agreed to in writing, software | ||||
|     distributed under the License is distributed on an "AS IS" BASIS, | ||||
|     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|     See the License for the specific language governing permissions and | ||||
|     limitations under the License. | ||||
| --> | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="24dp" | ||||
|     android:height="24dp" | ||||
|     android:viewportWidth="24" | ||||
|     android:viewportHeight="24"> | ||||
|  | ||||
|     <path | ||||
|         android:fillColor="@color/black" | ||||
|         android:pathData="M17.81 4.47c-.08 0-.16-.02-.23-.06C15.66 3.42 14 3 12.01 3c-1.98 0-3.86 .47 | ||||
| -5.57 1.41-.24 .13 -.54 .04 -.68-.2-.13-.24-.04-.55 .2 -.68C7.82 2.52 9.86 2 | ||||
| 12.01 2c2.13 0 3.99 .47 6.03 1.52 .25 .13 .34 .43 .21 .67-.09 .18 -.26 .28 -.44 | ||||
| .28 zM3.5 9.72c-.1 0-.2-.03-.29-.09-.23-.16-.28-.47-.12-.7 .99 -1.4 2.25-2.5 | ||||
| 3.75-3.27C9.98 4.04 14 4.03 17.15 5.65c1.5 .77 2.76 1.86 3.75 3.25 .16 .22 .11 | ||||
| .54-.12 .7 -.23 .16 -.54 .11 | ||||
| -.7-.12-.9-1.26-2.04-2.25-3.39-2.94-2.87-1.47-6.54-1.47-9.4 .01 -1.36 .7 -2.5 | ||||
| 1.7-3.4 2.96-.08 .14 -.23 .21 -.39 .21 zm6.25 12.07c-.13 | ||||
| 0-.26-.05-.35-.15-.87-.87-1.34-1.43-2.01-2.64-.69-1.23-1.05-2.73-1.05-4.34 | ||||
| 0-2.97 2.54-5.39 5.66-5.39s5.66 2.42 5.66 5.39c0 .28-.22 .5 -.5 .5 | ||||
| s-.5-.22-.5-.5c0-2.42-2.09-4.39-4.66-4.39-2.57 0-4.66 1.97-4.66 4.39 0 1.44 .32 | ||||
| 2.77 .93 3.85 .64 1.15 1.08 1.64 1.85 2.42 .19 .2 .19 .51 0 .71-.11 .1 -.24 .15 | ||||
| -.37 .15 zm7.17-1.85c-1.19 0-2.24-.3-3.1-.89-1.49-1.01-2.38-2.65-2.38-4.39 0-.28 | ||||
| .22 -.5 .5 -.5s.5 .22 .5 .5 c0 1.41 .72 2.74 1.94 3.56 .71 .48 1.54 .71 2.54 .71 | ||||
| .24 0 .64-.03 1.04-.1 .27 -.05 .53 .13 .58 .41 .05 .27-.13 .53 -.41 .58 -.57 .11 | ||||
| -1.07 .12 -1.21 .12 zM14.91 22c-.04 | ||||
| 0-.09-.01-.13-.02-1.59-.44-2.63-1.03-3.72-2.1-1.4-1.39-2.17-3.24-2.17-5.22 | ||||
| 0-1.62 1.38-2.94 3.08-2.94 1.7 0 3.08 1.32 3.08 2.94 0 1.07 .93 1.94 2.08 | ||||
| 1.94s2.08-.87 2.08-1.94c0-3.77-3.25-6.83-7.25-6.83-2.84 0-5.44 1.58-6.61 | ||||
| 4.03-.39 .81 -.59 1.76-.59 2.8 0 .78 .07 2.01 .67 3.61 .1 .26-.03 .55 -.29 .64 | ||||
| -.26 .1 -.55-.04-.64-.29-.49-1.31-.73-2.61-.73-3.96 0-1.2 .23 -2.29 .68 -3.24 | ||||
| 1.33-2.79 4.28-4.6 7.51-4.6 4.55 0 8.25 3.51 8.25 7.83 0 1.62-1.38 2.94-3.08 | ||||
| 2.94s-3.08-1.32-3.08-2.94c0-1.07-.93-1.94-2.08-1.94s-2.08 .87 -2.08 1.94c0 1.71 | ||||
| .66 3.31 1.87 4.51 .95 .94 1.86 1.46 3.27 1.85 .27 .07 .42 .35 .35 .61-.05 .23 | ||||
| -.26 .38 -.47 .38 z" /> | ||||
|     <path | ||||
|         android:pathData="M0 0h24v24H0z" /> | ||||
| </vector> | ||||
							
								
								
									
										32
									
								
								res/drawable/ic_locale.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,32 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|     Copyright (c) 2017 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. | ||||
|     You may obtain a copy of the License at | ||||
|  | ||||
|         http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|     Unless required by applicable law or agreed to in writing, software | ||||
|     distributed under the License is distributed on an "AS IS" BASIS, | ||||
|     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|     See the License for the specific language governing permissions and | ||||
|     limitations under the License. | ||||
| --> | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="24dp" | ||||
|     android:height="24dp" | ||||
|     android:viewportWidth="24" | ||||
|     android:viewportHeight="24"> | ||||
|  | ||||
|     <path | ||||
|         android:pathData="M0 0h24v24H0z" /> | ||||
|     <path | ||||
|         android:fillColor="@color/black" | ||||
|         android:pathData="M12.87 15.07l-2.54-2.51 .03 -.03c1.74-1.94 2.98-4.17 | ||||
| 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 | ||||
| 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11 .76 | ||||
| -2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 | ||||
| 17h-3.24z" /> | ||||
| </vector> | ||||
							
								
								
									
										29
									
								
								res/drawable/ic_location.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,29 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|     Copyright (c) 2017 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. | ||||
|     You may obtain a copy of the License at | ||||
|  | ||||
|         http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|     Unless required by applicable law or agreed to in writing, software | ||||
|     distributed under the License is distributed on an "AS IS" BASIS, | ||||
|     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|     See the License for the specific language governing permissions and | ||||
|     limitations under the License. | ||||
| --> | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="24dp" | ||||
|     android:height="24dp" | ||||
|     android:viewportWidth="24" | ||||
|     android:viewportHeight="24"> | ||||
|  | ||||
|     <path | ||||
|         android:fillColor="@color/black" | ||||
|         android:pathData="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 | ||||
| 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z" /> | ||||
|     <path | ||||
|         android:pathData="M0 0h24v24H0z" /> | ||||
| </vector> | ||||
							
								
								
									
										30
									
								
								res/drawable/ic_lock_screen.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,30 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|     Copyright (c) 2017 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. | ||||
|     You may obtain a copy of the License at | ||||
|  | ||||
|         http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|     Unless required by applicable law or agreed to in writing, software | ||||
|     distributed under the License is distributed on an "AS IS" BASIS, | ||||
|     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|     See the License for the specific language governing permissions and | ||||
|     limitations under the License. | ||||
| --> | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="24dp" | ||||
|     android:height="24dp" | ||||
|     android:viewportWidth="24" | ||||
|     android:viewportHeight="24"> | ||||
|  | ||||
|     <path | ||||
|         android:pathData="M0 0h24v24H0z" /> | ||||
|     <path | ||||
|         android:fillColor="@color/black" | ||||
|         android:pathData="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1 .9 2 2 | ||||
| 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 | ||||
| 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z" /> | ||||
| </vector> | ||||
							
								
								
									
										30
									
								
								res/drawable/ic_mobile_data.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,30 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|     Copyright (c) 2017 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. | ||||
|     You may obtain a copy of the License at | ||||
|  | ||||
|         http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|     Unless required by applicable law or agreed to in writing, software | ||||
|     distributed under the License is distributed on an "AS IS" BASIS, | ||||
|     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|     See the License for the specific language governing permissions and | ||||
|     limitations under the License. | ||||
| --> | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="24dp" | ||||
|     android:height="24dp" | ||||
|     android:viewportWidth="24" | ||||
|     android:viewportHeight="24"> | ||||
|  | ||||
|     <path | ||||
|         android:fillColor="@color/black" | ||||
|         android:fillAlpha=".3" | ||||
|         android:pathData="M2 22h20V2z" /> | ||||
|     <path | ||||
|         android:fillColor="@color/black" | ||||
|         android:pathData="M17 7L2 22h15z" /> | ||||
| </vector> | ||||
							
								
								
									
										8
									
								
								res/drawable/ic_restore.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,8 @@ | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|         android:height="24dp" | ||||
|         android:width="24dp" | ||||
|         android:viewportWidth="24" | ||||
|         android:viewportHeight="24"> | ||||
|     <path android:fillColor="#000" | ||||
|           android:pathData="M17,13L12,18L7,13H10V9H14V13M19.35,10.03C18.67,6.59 15.64,4 12,4C9.11,4 6.6,5.64 5.35,8.03C2.34,8.36 0,10.9 0,14A6,6 0 0,0 6,20H19A5,5 0 0,0 24,15C24,12.36 21.95,10.22 19.35,10.03Z"/> | ||||
| </vector> | ||||
| @@ -1,5 +1,6 @@ | ||||
| <!-- | ||||
| Copyright (C) 2014 The Android Open Source Project | ||||
|     Copyright (C) 2014 The Android Open Source Project | ||||
|     Copyright (c) 2017 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. | ||||
| @@ -20,6 +21,6 @@ Copyright (C) 2014 The Android Open Source Project | ||||
|         android:viewportWidth="24.0" | ||||
|         android:viewportHeight="24.0"> | ||||
|     <path | ||||
|         android:fillColor="#FFFFFF" | ||||
|         android:fillColor="#e0e0e0" | ||||
|         android:pathData="M2.000000,22.000000l20.000000,0.000000 0.000000,-20.000000z"/> | ||||
| </vector> | ||||
|   | ||||
| @@ -1,5 +1,6 @@ | ||||
| <!-- | ||||
| Copyright (C) 2014 The Android Open Source Project | ||||
|     Copyright (C) 2014 The Android Open Source Project | ||||
|     Copyright (c) 2017 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. | ||||
| @@ -20,7 +21,7 @@ Copyright (C) 2014 The Android Open Source Project | ||||
|         android:viewportWidth="24.0" | ||||
|         android:viewportHeight="24.0"> | ||||
|     <path | ||||
|         android:fillColor="#FFFFFF" | ||||
|         android:fillColor="#e0e0e0" | ||||
|         android:pathData="M2.000000,22.000000l20.000000,0.000000 0.000000,-20.000000z"/> | ||||
|     <path | ||||
|         android:fillColor="@color/accent" | ||||
|   | ||||
| @@ -1,5 +1,6 @@ | ||||
| <!-- | ||||
| Copyright (C) 2014 The Android Open Source Project | ||||
|     Copyright (C) 2014 The Android Open Source Project | ||||
|     Copyright (c) 2017 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. | ||||
| @@ -20,7 +21,7 @@ Copyright (C) 2014 The Android Open Source Project | ||||
|         android:viewportWidth="24.0" | ||||
|         android:viewportHeight="24.0"> | ||||
|     <path | ||||
|         android:fillColor="#FFFFFF" | ||||
|         android:fillColor="#e0e0e0" | ||||
|         android:pathData="M2.000000,22.000000l20.000000,0.000000 0.000000,-20.000000z"/> | ||||
|     <path | ||||
|         android:fillColor="@color/accent" | ||||
|   | ||||
| @@ -1,5 +1,6 @@ | ||||
| <!-- | ||||
| Copyright (C) 2014 The Android Open Source Project | ||||
|     Copyright (C) 2014 The Android Open Source Project | ||||
|     Copyright (c) 2017 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. | ||||
| @@ -20,7 +21,7 @@ Copyright (C) 2014 The Android Open Source Project | ||||
|         android:viewportWidth="24.0" | ||||
|         android:viewportHeight="24.0"> | ||||
|     <path | ||||
|         android:fillColor="#FFFFFF" | ||||
|         android:fillColor="#e0e0e0" | ||||
|         android:pathData="M2.000000,22.000000l20.000000,0.000000 0.000000,-20.000000z"/> | ||||
|     <path | ||||
|         android:fillColor="@color/accent" | ||||
|   | ||||
| @@ -1,5 +1,6 @@ | ||||
| <!-- | ||||
| Copyright (C) 2014 The Android Open Source Project | ||||
|     Copyright (C) 2014 The Android Open Source Project | ||||
|     Copyright (c) 2017 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. | ||||
|   | ||||
| @@ -1,5 +1,6 @@ | ||||
| <!-- | ||||
| Copyright (C) 2014 The Android Open Source Project | ||||
|     Copyright (C) 2014 The Android Open Source Project | ||||
|     Copyright (c) 2017 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. | ||||
| @@ -20,6 +21,6 @@ Copyright (C) 2014 The Android Open Source Project | ||||
|         android:viewportWidth="24.0" | ||||
|         android:viewportHeight="24.0"> | ||||
|     <path | ||||
|         android:fillColor="#FFFFFF" | ||||
|         android:fillColor="#e0e0e0" | ||||
|         android:pathData="M2.000000,22.000000l20.000000,0.000000L22.000000,2.000000L2.000000,22.000000zM20.000000,20.000000L6.800000,20.000000L20.000000,6.800000L20.000000,20.000000z"/> | ||||
| </vector> | ||||
|   | ||||
							
								
								
									
										28
									
								
								res/drawable/ic_sim.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,28 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|     Copyright (c) 2017 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. | ||||
|     You may obtain a copy of the License at | ||||
|  | ||||
|         http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|     Unless required by applicable law or agreed to in writing, software | ||||
|     distributed under the License is distributed on an "AS IS" BASIS, | ||||
|     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|     See the License for the specific language governing permissions and | ||||
|     limitations under the License. | ||||
| --> | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="24dp" | ||||
|     android:height="24dp" | ||||
|     android:viewportWidth="24" | ||||
|     android:viewportHeight="24"> | ||||
|  | ||||
|     <path | ||||
|         android:fillColor="@color/black" | ||||
|         android:pathData="M19.99 4c0-1.1-.89-2-1.99-2h-8L4 8v12c0 1.1 .9 2 2 2h12.01c1.1 0 1.99-.9 | ||||
| 1.99-2l-.01-16zM9 19H7v-2h2v2zm8 0h-2v-2h2v2zm-8-4H7v-4h2v4zm4 | ||||
| 4h-2v-4h2v4zm0-6h-2v-2h2v2zm4 2h-2v-4h2v4z" /> | ||||
| </vector> | ||||
							
								
								
									
										25
									
								
								res/drawable/ic_system_update.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,25 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|     Copyright (c) 2020 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. | ||||
|     You may obtain a copy of the License at | ||||
|  | ||||
|         http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|     Unless required by applicable law or agreed to in writing, software | ||||
|     distributed under the License is distributed on an "AS IS" BASIS, | ||||
|     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|     See the License for the specific language governing permissions and | ||||
|     limitations under the License. | ||||
| --> | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|         android:width="24dp" | ||||
|         android:height="24dp" | ||||
|         android:viewportWidth="24.0" | ||||
|         android:viewportHeight="24.0"> | ||||
|     <path | ||||
|         android:fillColor="@color/black" | ||||
|         android:pathData="M17,1.01L7,1c-1.1,0 -2,0.9 -2,2v18c0,1.1 0.9,2 2,2h10c1.1,0 2,-0.9 2,-2L19,3c0,-1.1 -0.9,-1.99 -2,-1.99zM17,19L7,19L7,5h10v14zM16,13h-3L13,8h-2v5L8,13l4,4 4,-4z"/> | ||||
| </vector> | ||||
							
								
								
									
										51
									
								
								res/drawable/logo.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,51 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|     Copyright (c) 2017 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. | ||||
|     You may obtain a copy of the License at | ||||
|  | ||||
|         http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|     Unless required by applicable law or agreed to in writing, software | ||||
|     distributed under the License is distributed on an "AS IS" BASIS, | ||||
|     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|     See the License for the specific language governing permissions and | ||||
|     limitations under the License. | ||||
| --> | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="512dp" | ||||
|     android:height="320dp" | ||||
|     android:viewportWidth="512" | ||||
|     android:viewportHeight="320"> | ||||
|  | ||||
|     <path | ||||
|         android:fillColor="@color/accent" | ||||
|         android:pathData="M157.89,271.64a1.83,1.83,0,0,1-1.89-1.89V248.42h4.65v19.32H171v3.9Z" /> | ||||
|     <path | ||||
|         android:fillColor="@color/accent" | ||||
|         android:pathData="M185,271.64V248.42h4.68v23.22Z" /> | ||||
|     <path | ||||
|         android:fillColor="@color/accent" | ||||
|         android:pathData="M221.17,248.42h4.26v22a1.23,1.23,0,0,1-.67,1.09,3.17,3.17,0,0,1-1.67 .41 | ||||
| ,4,4,0,0,1-1.71-.29,3.11,3.11,0,0,1-1.12-1L210,256v15.61h-4.32v-21.5a1.56,1.56,0,0,1,.68-1.4,3.18,3.18,0,0,1,1.79-.46,3.59,3.59,0,0,1,1.9 | ||||
| .39 ,5.91,5.91,0,0,1,1.41,1.56l9.72,13.59Z" /> | ||||
|     <path | ||||
|         android:fillColor="@color/accent" | ||||
|         android:pathData="M256.9,252.36H246.2v5.5h9.63v3.93H246.2v5.89H256.6v4H241.51V250.31a1.74,1.74,0,0,1,.59-1.37,2,2,0,0,1,1.4-.52h13.4Z" /> | ||||
|     <path | ||||
|         android:fillColor="@color/accent" | ||||
|         android:pathData="M286.38,271.64l-2-5.76h-8.49l-2,5.76h-4.85l7.87-21.5q.68-1.85,3.15-1.85t3.19,1.89l7.87,21.46ZM277.27,262h5.82l-2.93-8.62Z" /> | ||||
|     <path | ||||
|         android:fillColor="@color/accent" | ||||
|         android:pathData="M314.33,272a11,11,0,0,1-8.36-3.19,11.93,11.93,0,0,1-3.06-8.62,12.12,12.12,0,0,1,3.25-8.89,11.56,11.56,0,0,1,8.62-3.3,11.44,11.44,0,0,1,6,1.5,9,9,0,0,1,3.63,3.93l-3.74,2q-1.69-3.41-6-3.41a6.53,6.53,0,0,0-5.14,2.16,8.58,8.58,0,0,0-1.92,5.9,8.67,8.67,0,0,0,1.79,5.8,6.11,6.11,0,0,0,4.91,2.1,6.74,6.74,0,0,0,4.6-1.58,5.26,5.26,0,0,0,1.87-4h-5.89v-3.67h10.5v2.57a10.19,10.19,0,0,1-3.12,7.72A11.12,11.12,0,0,1,314.33,272Z" /> | ||||
|     <path | ||||
|         android:fillColor="@color/accent" | ||||
|         android:pathData="M356,252.36H345.3v5.5h9.63v3.93H345.3v5.89h10.41v4H340.62V250.31a1.74,1.74,0,0,1,.59-1.37,2,2,0,0,1,1.4-.52H356Z" /> | ||||
|     <path | ||||
|         android:fillColor="@color/accent" | ||||
|         android:pathData="M416,128a39.92,39.92,0,0,0-31.11,14.87l-1.5-.6A294.79,294.79,0,0,0,336,128.14s0-.09,0-.14a80,80,0,1,0-160,0s0,.09,0,.13l-1.72 | ||||
| .38 a293.48,293.48,0,0,0-45.67,13.76l-1.5 .6 | ||||
| a40,40,0,1,0,7.39,14.28h0a277.33,277.33,0,0,1,43.1-13,80,80,0,0,0,156.73,0,277.3,277.3,0,0,1,43.11,13h0A40,40,0,1,0,416,128ZM96,192a24,24,0,1,1,24-24A24,24,0,0,1,96,192Zm160,0a64,64,0,1,1,64-64A64.07,64.07,0,0,1,256,192Zm160,0a24,24,0,1,1,24-24A24,24,0,0,1,416,192ZM288,128a32,32,0,1,1-32-32A32,32,0,0,1,288,128Z" /> | ||||
| </vector> | ||||
| @@ -16,4 +16,4 @@ | ||||
| --> | ||||
| <shape xmlns:android="http://schemas.android.com/apk/res/android" > | ||||
|     <solid android:color="@color/page_background" /> | ||||
| </shape> | ||||
| </shape> | ||||
|   | ||||
							
								
								
									
										28
									
								
								res/drawable/tick.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,28 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|     Copyright (c) 2017 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. | ||||
|     You may obtain a copy of the License at | ||||
|  | ||||
|         http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|     Unless required by applicable law or agreed to in writing, software | ||||
|     distributed under the License is distributed on an "AS IS" BASIS, | ||||
|     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|     See the License for the specific language governing permissions and | ||||
|     limitations under the License. | ||||
| --> | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="24dp" | ||||
|     android:height="24dp" | ||||
|     android:viewportWidth="24" | ||||
|     android:viewportHeight="24"> | ||||
|  | ||||
|     <path | ||||
|         android:pathData="M0 0h24v24H0z" /> | ||||
|     <path | ||||
|         android:fillColor="@color/black" | ||||
|         android:pathData="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" /> | ||||
| </vector> | ||||
							
								
								
									
										29
									
								
								res/drawable/timelapse.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,29 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|     Copyright (c) 2017 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. | ||||
|     You may obtain a copy of the License at | ||||
|  | ||||
|         http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|     Unless required by applicable law or agreed to in writing, software | ||||
|     distributed under the License is distributed on an "AS IS" BASIS, | ||||
|     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|     See the License for the specific language governing permissions and | ||||
|     limitations under the License. | ||||
| --> | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="24dp" | ||||
|     android:height="24dp" | ||||
|     android:viewportWidth="24" | ||||
|     android:viewportHeight="24"> | ||||
|  | ||||
|     <path | ||||
|         android:fillColor="@color/black" | ||||
|         android:pathData="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 | ||||
| 19 19 17.59 13.41 12z" /> | ||||
|     <path | ||||
|         android:pathData="M0 0h24v24H0z" /> | ||||
| </vector> | ||||
| @@ -1,50 +0,0 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|      Copyright (C) 2015 The CyanogenMod Project | ||||
|  | ||||
|      Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|      you may not use this file except in compliance with the License. | ||||
|      You may obtain a copy of the License at | ||||
|  | ||||
|           http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|      Unless required by applicable law or agreed to in writing, software | ||||
|      distributed under the License is distributed on an "AS IS" BASIS, | ||||
|      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|      See the License for the specific language governing permissions and | ||||
|      limitations under the License. | ||||
| --> | ||||
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|                 android:id="@+id/header" | ||||
|                 android:layout_width="0px" | ||||
|                 android:layout_height="match_parent" | ||||
|                 android:layout_weight="1" | ||||
|                 android:paddingTop="@dimen/header_logo_margin_top" | ||||
|                 android:background="@color/primary" | ||||
|                 style="@style/Header"> | ||||
|  | ||||
|     <ImageView | ||||
|         android:id="@+id/brand_logo" | ||||
|         android:layout_width="wrap_content" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:src="@drawable/brand" | ||||
|         android:paddingLeft="@dimen/header_logo_margin_left" | ||||
|         android:paddingBottom="@dimen/header_logo_margin_bottom" | ||||
|         android:layout_alignParentTop="true"/> | ||||
|  | ||||
|     <ImageView | ||||
|         android:id="@+id/powered_by_logo" | ||||
|         android:layout_width="wrap_content" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:src="@drawable/powered_by" | ||||
|         android:visibility="gone" | ||||
|         android:paddingLeft="@dimen/header_logo_margin_left" | ||||
|         android:paddingBottom="@dimen/header_logo_margin_bottom" | ||||
|         android:layout_below="@+id/brand_logo"/> | ||||
|  | ||||
|     <TextView | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="@dimen/page_title_height" | ||||
|         style="@style/PageTitle" /> | ||||
|  | ||||
| </RelativeLayout> | ||||
| @@ -1,44 +0,0 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|      Copyright (C) 2013 The CyanogenMod Project | ||||
|  | ||||
|      Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|      you may not use this file except in compliance with the License. | ||||
|      You may obtain a copy of the License at | ||||
|  | ||||
|           http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|      Unless required by applicable law or agreed to in writing, software | ||||
|      distributed under the License is distributed on an "AS IS" BASIS, | ||||
|      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|      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="horizontal" | ||||
|               android:layout_width="match_parent" | ||||
|               android:layout_height="match_parent"> | ||||
|  | ||||
|     <include layout="@layout/logo_header" /> | ||||
|  | ||||
|     <RelativeLayout android:id="@+id/page" | ||||
|                  android:layout_width="0px" | ||||
|                  android:layout_height="match_parent" | ||||
|                  android:layout_weight="1" | ||||
|                  android:gravity="center" | ||||
|                  android:paddingLeft="@dimen/content_margin_left" | ||||
|                  android:paddingRight="@dimen/content_margin_left" | ||||
|                  style="@style/PageContent"> | ||||
|  | ||||
|         <com.cyanogenmod.setupwizard.ui.LocalePicker | ||||
|             android:id="@+id/locale_list" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:minHeight="@dimen/min_locale_picker_height" | ||||
|             android:focusable="true" | ||||
|             android:focusableInTouchMode="true" | ||||
|             android:layout_centerInParent="true"/> | ||||
|  | ||||
|     </RelativeLayout> | ||||
|  | ||||
| </LinearLayout> | ||||
| @@ -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,48 +15,53 @@ | ||||
|      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" /> | ||||
|     <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"/> | ||||
|  | ||||
|         </LinearLayout> | ||||
|     </FrameLayout> | ||||
| </LinearLayout> | ||||
|                 <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" /> | ||||
|  | ||||
|                 <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> | ||||
|  | ||||
|         <org.lineageos.setupwizard.NavigationLayout | ||||
|             android:id="@+id/navigation_bar" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" /> | ||||
|  | ||||
|     </LinearLayout> | ||||
| </com.google.android.setupdesign.GlifLayout> | ||||
|   | ||||
							
								
								
									
										92
									
								
								res/layout-television/welcome_activity.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,92 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|      Copyright (C) 2016 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. | ||||
|      You may obtain a copy of the License at | ||||
|  | ||||
|           http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|      Unless required by applicable law or agreed to in writing, software | ||||
|      distributed under the License is distributed on an "AS IS" BASIS, | ||||
|      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|      See the License for the specific language governing permissions and | ||||
|      limitations under the License. | ||||
| --> | ||||
| <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"> | ||||
|  | ||||
|         <LinearLayout | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="match_parent" | ||||
|             android:gravity="center_vertical" | ||||
|             android:weightSum="100" | ||||
|             android:orientation="vertical"> | ||||
|  | ||||
|             <ImageView | ||||
|                 android:id="@+id/brand_logo" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="0dp" | ||||
|                 android:layout_weight="80" | ||||
|                 android:layout_gravity="center" | ||||
|                 android:src="@drawable/logo" | ||||
|                 android:adjustViewBounds="true" | ||||
|                 android:scaleType="fitCenter" | ||||
|                 android:gravity="center" | ||||
|                 android:padding="@dimen/content_margin_left" /> | ||||
|  | ||||
|             <LinearLayout | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="0dp" | ||||
|                 android:layout_weight="20" | ||||
|                 android:gravity="center_vertical" | ||||
|                 android:orientation="vertical"> | ||||
|                 <Button | ||||
|                     android:id="@+id/start" | ||||
|                     android:layout_width="wrap_content" | ||||
|                     android:layout_height="wrap_content" | ||||
|                     android:layout_gravity="center" | ||||
|                     android:text="@string/start" | ||||
|                     style="@style/SudGlifButton.Primary" /> | ||||
|             </LinearLayout> | ||||
|  | ||||
|         </LinearLayout> | ||||
|  | ||||
|         <LinearLayout | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:orientation="horizontal" | ||||
|             android:gravity="center" | ||||
|             android:visibility="gone"> | ||||
|  | ||||
|             <Button | ||||
|                 android:id="@+id/emerg_dialer" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:drawableTop="@drawable/ic_dialer" | ||||
|                 android:text="@string/emergency_call" | ||||
|                 style="@style/SudGlifButton.Secondary" /> | ||||
|  | ||||
|             <Button | ||||
|                 android:id="@+id/launch_accessibility" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:drawableTop="@drawable/ic_eye" | ||||
|                 android:text="@string/accessibility_settings" | ||||
|                 style="@style/SudGlifButton.Secondary" /> | ||||
|  | ||||
|         </LinearLayout> | ||||
|     </LinearLayout> | ||||
| </com.google.android.setupdesign.GlifLayout> | ||||
| @@ -1,36 +0,0 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|      Copyright (C) 2015 The CyanogenMod Project | ||||
|  | ||||
|      Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|      you may not use this file except in compliance with the License. | ||||
|      You may obtain a copy of the License at | ||||
|  | ||||
|           http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|      Unless required by applicable law or agreed to in writing, software | ||||
|      distributed under the License is distributed on an "AS IS" BASIS, | ||||
|      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|      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:id="@+id/button_bar" | ||||
|               android:layout_width="match_parent" | ||||
|               android:layout_height="wrap_content" | ||||
|               android:orientation="horizontal" | ||||
|               android:background="@color/button_bar_background"> | ||||
|  | ||||
|     <Button | ||||
|         style="@style/ButtonBar.Left" | ||||
|         android:id="@+id/prev_button" | ||||
|         android:layout_width="wrap_content" | ||||
|         android:layout_weight="1"/> | ||||
|  | ||||
|     <Button | ||||
|         style="@style/ButtonBar.Right" | ||||
|         android:id="@+id/next_button" | ||||
|         android:layout_width="wrap_content" | ||||
|         android:text="@string/next" /> | ||||
|  | ||||
| </LinearLayout> | ||||
| @@ -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,62 @@ | ||||
|      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" /> | ||||
|     <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"> | ||||
|         <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:id="@+id/page_view" | ||||
|                 android:orientation="vertical" | ||||
|             <ScrollView | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 style="@style/PageContent"> | ||||
|                 android:layout_height="match_parent" | ||||
|                 android:fillViewport="true"> | ||||
|  | ||||
|                 <TextView | ||||
|                 <LinearLayout | ||||
|                     android:id="@+id/page_view" | ||||
|                     android:orientation="vertical" | ||||
|                     android:layout_width="match_parent" | ||||
|                     android:layout_height="wrap_content" | ||||
|                     style="@style/PageSummaryText" | ||||
|                     android:textSize="15sp" | ||||
|                     android:paddingLeft="@dimen/content_margin_left" | ||||
|                     android:paddingRight="@dimen/content_margin_right" | ||||
|                     android:paddingBottom="@dimen/summary_margin_bottom" | ||||
|                     android:text="@string/choose_data_sim_summary" /> | ||||
|                     android:visibility="gone"> | ||||
|  | ||||
|                 <include layout="@layout/divider" /> | ||||
|                     <TextView | ||||
|                         android:layout_width="match_parent" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         style="@style/SudDescription.Glif" | ||||
|                         android:text="@string/choose_data_sim_summary" /> | ||||
|  | ||||
|             </LinearLayout> | ||||
|         </ScrollView> | ||||
|     </FrameLayout> | ||||
| </LinearLayout> | ||||
|                     <include layout="@layout/divider" /> | ||||
|  | ||||
|                 </LinearLayout> | ||||
|             </ScrollView> | ||||
|  | ||||
|             <ProgressBar | ||||
|                 android:id="@+id/progress" | ||||
|                 style="?android:attr/progressBarStyleHorizontal" | ||||
|                 android:indeterminateOnly="true" | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="8dp" | ||||
|                 android:layout_gravity="top" | ||||
|                 android:visibility="gone" /> | ||||
|         </FrameLayout> | ||||
|  | ||||
|         <org.lineageos.setupwizard.NavigationLayout | ||||
|             android:id="@+id/navigation_bar" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" /> | ||||
|  | ||||
|     </LinearLayout> | ||||
| </com.google.android.setupdesign.GlifLayout> | ||||
|   | ||||
| @@ -48,4 +48,4 @@ | ||||
|         android:duplicateParentState="true" | ||||
|         android:clickable="false"/> | ||||
|  | ||||
| </LinearLayout> | ||||
| </LinearLayout> | ||||
|   | ||||
| @@ -18,4 +18,4 @@ | ||||
|            android:layout_width="match_parent" | ||||
|            android:layout_height="wrap_content" | ||||
|            android:scaleType="fitXY" | ||||
|            android:src="@drawable/divider" /> | ||||
|            android:src="@drawable/divider" /> | ||||
|   | ||||
							
								
								
									
										59
									
								
								res/layout/finish_activity.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,59 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|      Copyright (C) 2016 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. | ||||
|      You may obtain a copy of the License at | ||||
|  | ||||
|           http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|      Unless required by applicable law or agreed to in writing, software | ||||
|      distributed under the License is distributed on an "AS IS" BASIS, | ||||
|      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|      See the License for the specific language governing permissions and | ||||
|      limitations under the License. | ||||
| --> | ||||
| <org.lineageos.setupwizard.widget.ScrimInsetsFrameLayout | ||||
|     xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     xmlns:app="http://schemas.android.com/apk/res-auto" | ||||
|     android:id="@+id/root" | ||||
|     android:orientation="vertical" | ||||
|     android:layout_width="match_parent" | ||||
|     android:layout_height="match_parent" | ||||
|     android:fitsSystemWindows="true" | ||||
|     app:insetForeground="@android:color/transparent"> | ||||
|  | ||||
|     <LinearLayout | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="match_parent" | ||||
|         android:orientation="vertical" | ||||
|         style="@style/SudContentFrame"> | ||||
|  | ||||
|         <ImageView | ||||
|             android:id="@+id/brand_logo" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="0px" | ||||
|             android:layout_weight="1" | ||||
|             android:src="@drawable/logo" | ||||
|             android:adjustViewBounds="true" | ||||
|             android:scaleType="fitCenter" | ||||
|             android:gravity="center" | ||||
|             android:padding="@dimen/content_margin_left"/> | ||||
|  | ||||
|         <org.lineageos.setupwizard.NavigationLayout | ||||
|             android:id="@+id/navigation_bar" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" /> | ||||
|  | ||||
|     </LinearLayout> | ||||
|  | ||||
|     <ImageView | ||||
|         android:id="@+id/reveal" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="match_parent" | ||||
|         android:background="@drawable/reveal" | ||||
|         android:visibility="invisible"/> | ||||
|  | ||||
| </org.lineageos.setupwizard.widget.ScrimInsetsFrameLayout> | ||||
							
								
								
									
										62
									
								
								res/layout/intro_restore_activity.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,62 @@ | ||||
| <?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. | ||||
|      You may obtain a copy of the License at | ||||
|  | ||||
|           http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|      Unless required by applicable law or agreed to in writing, software | ||||
|      distributed under the License is distributed on an "AS IS" BASIS, | ||||
|      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|      See the License for the specific language governing permissions and | ||||
|      limitations under the License. | ||||
| --> | ||||
| <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"> | ||||
|  | ||||
|         <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"> | ||||
|  | ||||
|                     <TextView | ||||
|                         android:layout_width="match_parent" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:text="@string/intro_restore_subtitle" | ||||
|                         style="@style/SudItemTitle.GlifDescription" /> | ||||
|  | ||||
|                 </LinearLayout> | ||||
|             </ScrollView> | ||||
|         </FrameLayout> | ||||
|  | ||||
|         <org.lineageos.setupwizard.NavigationLayout | ||||
|             android:id="@+id/navigation_bar" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" | ||||
|             app:showSkipButton="true" /> | ||||
|  | ||||
|     </LinearLayout> | ||||
| </com.google.android.setupdesign.GlifLayout> | ||||
| @@ -19,24 +19,26 @@ | ||||
|  | ||||
| <merge xmlns:android="http://schemas.android.com/apk/res/android"> | ||||
|  | ||||
|     <ImageButton android:id="@+id/increment" | ||||
|         android:layout_width="fill_parent" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:paddingTop="22dip" | ||||
|         android:paddingBottom="22dip"/> | ||||
|     <ImageButton android:id="@+id/lp__increment" | ||||
|                  android:layout_width="fill_parent" | ||||
|                  android:layout_height="wrap_content" | ||||
|                  android:paddingTop="22dip" | ||||
|                  android:paddingBottom="22dip"/> | ||||
|  | ||||
|     <EditText | ||||
|         android:id="@+id/numberpicker_input" | ||||
|         android:layout_width="fill_parent" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:textAppearance="?android:attr/textAppearanceMediumInverse" | ||||
|         android:gravity="center" | ||||
|         android:singleLine="true" /> | ||||
|     <view class="org.lineageos.setupwizard.widget.LocalePicker$CustomEditText" | ||||
|           android:textAppearance="?android:attr/textAppearanceMedium" | ||||
|           android:textColor="?android:attr/textColorPrimary" | ||||
|           android:id="@+id/localepicker_input" | ||||
|           android:layout_width="fill_parent" | ||||
|           android:layout_height="wrap_content" | ||||
|           android:gravity="center" | ||||
|           android:singleLine="true" | ||||
|           android:background="@null" /> | ||||
|  | ||||
|     <ImageButton android:id="@+id/decrement" | ||||
|         android:layout_width="fill_parent" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:paddingTop="22dip" | ||||
|         android:paddingBottom="22dip"/> | ||||
|     <ImageButton android:id="@+id/lp__decrement" | ||||
|                  android:layout_width="fill_parent" | ||||
|                  android:layout_height="wrap_content" | ||||
|                  android:paddingTop="22dip" | ||||
|                  android:paddingBottom="22dip"/> | ||||
|  | ||||
| </merge> | ||||
|   | ||||
| @@ -1,6 +1,7 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|      Copyright (C) 2013 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,180 +15,70 @@ | ||||
|      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" | ||||
|         style="@style/SudContentFrame"> | ||||
|  | ||||
|     <FrameLayout android:id="@+id/page" | ||||
|                  android:layout_width="match_parent" | ||||
|                  android:layout_height="0dp" | ||||
|                  android:layout_weight="1"> | ||||
|         <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" | ||||
|             <ScrollView | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="match_parent" | ||||
|                 style="@style/PageContent"> | ||||
|  | ||||
|                 <TextView | ||||
|                     android:layout_width="match_parent" | ||||
|                     android:layout_height="wrap_content" | ||||
|                     android:textSize="15sp" | ||||
|                     android:layout_marginBottom="@dimen/summary_margin_bottom" | ||||
|                     android:paddingLeft="@dimen/content_margin_left" | ||||
|                     android:paddingRight="@dimen/content_margin_right" | ||||
|                     style="@style/PageSummaryText" /> | ||||
|                 android:fillViewport="true"> | ||||
|  | ||||
|                 <LinearLayout | ||||
|                     android:id="@+id/backup" | ||||
|                     android:orientation="horizontal" | ||||
|                     android:orientation="vertical" | ||||
|                     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"> | ||||
|                     android:layout_height="match_parent"> | ||||
|  | ||||
|  | ||||
|                     <CheckBox | ||||
|                         android:id="@+id/backup_checkbox" | ||||
|                         android:layout_width="wrap_content" | ||||
|                     <LinearLayout | ||||
|                         android:id="@+id/location" | ||||
|                         android:orientation="horizontal" | ||||
|                         android:layout_width="match_parent" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:layout_gravity="top" | ||||
|                         android:layout_marginTop="5dp" | ||||
|                         android:duplicateParentState="true" | ||||
|                         android:clickable="false" /> | ||||
|                         android:paddingLeft="@dimen/location_margin_left" | ||||
|                         android:paddingRight="@dimen/content_margin_right" | ||||
|                         android:background="?android:attr/selectableItemBackground" | ||||
|                         android:clickable="true"> | ||||
|  | ||||
|                     <TextView | ||||
|                         android:id="@+id/backup_summary" | ||||
|                         android:layout_width="0px" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:layout_weight="1" | ||||
|                         android:textSize="15sp" | ||||
|                         android:lineSpacingExtra="@dimen/setup_line_spacing" | ||||
|                         android:gravity="top" | ||||
|                         android:layout_marginLeft="@dimen/location_text_margin_left" | ||||
|                         android:layout_marginRight="@dimen/location_text_margin_right" | ||||
|                         android:paddingBottom="@dimen/content_margin_bottom" | ||||
|                         android:text="@string/backup_data_summary" | ||||
|                         android:maxLines="5" /> | ||||
|  | ||||
|                         <CheckBox | ||||
|                             android:id="@+id/location_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/location_summary" | ||||
|                             android:layout_width="wrap_content" | ||||
|                             android:layout_height="wrap_content" | ||||
|                             android:text="@string/location_access_summary" | ||||
|                             style="@style/SudCheckBox.Multiline" /> | ||||
|  | ||||
|                     </LinearLayout> | ||||
|                 </LinearLayout> | ||||
|             </ScrollView> | ||||
|         </FrameLayout> | ||||
|  | ||||
|                 <LinearLayout | ||||
|                     android:id="@+id/location" | ||||
|                     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"> | ||||
|         <org.lineageos.setupwizard.NavigationLayout | ||||
|             android:id="@+id/navigation_bar" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" /> | ||||
|  | ||||
|  | ||||
|                     <CheckBox | ||||
|                         android:id="@+id/location_checkbox" | ||||
|                         android:layout_width="wrap_content" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:layout_gravity="top" | ||||
|                         android:layout_marginTop="5dp" | ||||
|                         android:duplicateParentState="true" | ||||
|                         android:clickable="false" /> | ||||
|  | ||||
|                     <TextView | ||||
|                         android:id="@+id/location_summary" | ||||
|                         android:layout_width="0px" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:layout_weight="1" | ||||
|                         android:textSize="15sp" | ||||
|                         android:lineSpacingExtra="@dimen/setup_line_spacing" | ||||
|                         android:gravity="top" | ||||
|                         android:layout_marginLeft="@dimen/location_text_margin_left" | ||||
|                         android:layout_marginRight="@dimen/location_text_margin_right" | ||||
|                         android:paddingBottom="@dimen/content_margin_bottom" | ||||
|                         android:text="@string/location_access_summary" | ||||
|                         android:maxLines="5" /> | ||||
|  | ||||
|                 </LinearLayout> | ||||
|  | ||||
|                 <LinearLayout | ||||
|                     android:id="@+id/gps" | ||||
|                     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/gps_checkbox" | ||||
|                         android:layout_width="wrap_content" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:layout_gravity="top" | ||||
|                         android:layout_marginTop="5dp" | ||||
|                         android:duplicateParentState="true" | ||||
|                         android:clickable="false" /> | ||||
|  | ||||
|  | ||||
|                     <TextView | ||||
|                         android:id="@+id/gps_summary" | ||||
|                         android:layout_width="0px" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:layout_weight="1" | ||||
|                         android:textSize="15sp" | ||||
|                         android:lineSpacingExtra="@dimen/setup_line_spacing" | ||||
|                         android:gravity="top" | ||||
|                         android:layout_marginLeft="@dimen/location_text_margin_left" | ||||
|                         android:layout_marginRight="@dimen/location_text_margin_right" | ||||
|                         android:paddingBottom="@dimen/content_margin_bottom" | ||||
|                         android:text="@string/location_gps" | ||||
|                         android:maxLines="5" /> | ||||
|  | ||||
|                 </LinearLayout> | ||||
|  | ||||
|                 <LinearLayout | ||||
|                     android:id="@+id/network" | ||||
|                     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/network_checkbox" | ||||
|                         android:layout_width="wrap_content" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:layout_gravity="top" | ||||
|                         android:layout_marginTop="5dp" | ||||
|                         android:duplicateParentState="true" | ||||
|                         android:clickable="false" /> | ||||
|  | ||||
|                     <TextView | ||||
|                         android:id="@+id/network_summary" | ||||
|                         android:layout_width="0px" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:layout_weight="1" | ||||
|                         android:textSize="15sp" | ||||
|                         android:lineSpacingExtra="@dimen/setup_line_spacing" | ||||
|                         android:gravity="top" | ||||
|                         android:layout_marginLeft="@dimen/location_text_margin_left" | ||||
|                         android:layout_marginRight="@dimen/location_text_margin_right" | ||||
|                         android:paddingBottom="@dimen/content_margin_bottom" | ||||
|                         android:text="@string/location_network" | ||||
|                         android:maxLines="5" /> | ||||
|  | ||||
|                 </LinearLayout> | ||||
|             </LinearLayout> | ||||
|         </ScrollView> | ||||
|     </FrameLayout> | ||||
| </LinearLayout> | ||||
|     </LinearLayout> | ||||
| </com.google.android.setupdesign.GlifLayout> | ||||
|   | ||||
| @@ -1,48 +0,0 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|      Copyright (C) 2015 The CyanogenMod Project | ||||
|  | ||||
|      Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|      you may not use this file except in compliance with the License. | ||||
|      You may obtain a copy of the License at | ||||
|  | ||||
|           http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|      Unless required by applicable law or agreed to in writing, software | ||||
|      distributed under the License is distributed on an "AS IS" BASIS, | ||||
|      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|      See the License for the specific language governing permissions and | ||||
|      limitations under the License. | ||||
| --> | ||||
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|                 android:id="@+id/header" | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="@dimen/logo_header_height" | ||||
|                 android:background="@color/primary" | ||||
|                 style="@style/Header"> | ||||
|  | ||||
|     <ImageView | ||||
|         android:id="@+id/brand_logo" | ||||
|         android:layout_width="wrap_content" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:src="@drawable/brand" | ||||
|         android:paddingLeft="@dimen/header_logo_margin_left" | ||||
|         android:paddingBottom="@dimen/header_logo_margin_bottom" | ||||
|         android:layout_above="@+id/powered_by_logo"/> | ||||
|  | ||||
|     <ImageView | ||||
|         android:id="@+id/powered_by_logo" | ||||
|         android:layout_width="wrap_content" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:src="@drawable/powered_by" | ||||
|         android:visibility="gone" | ||||
|         android:paddingLeft="@dimen/header_logo_margin_left" | ||||
|         android:paddingBottom="@dimen/header_logo_margin_bottom" | ||||
|         android:layout_above="@android:id/title"/> | ||||
|  | ||||
|     <TextView | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="@dimen/page_title_height" | ||||
|         style="@style/PageTitle" /> | ||||
|  | ||||
| </RelativeLayout> | ||||
| @@ -1,6 +1,7 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|      Copyright (C) 2013 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,83 +15,102 @@ | ||||
|      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" /> | ||||
|     <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"> | ||||
|         <ProgressBar | ||||
|             android:id="@+id/progress" | ||||
|             style="@style/SudFourColorIndeterminateProgressBar" | ||||
|             android:indeterminateOnly="true" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="8dp" | ||||
|             android:visibility="gone" /> | ||||
|  | ||||
|         <ScrollView android:layout_width="match_parent" | ||||
|                     android:layout_height="match_parent" | ||||
|                     android:fillViewport="true"> | ||||
|         <FrameLayout | ||||
|             android:id="@+id/page" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="0dp" | ||||
|             android:layout_weight="1"> | ||||
|  | ||||
|             <LinearLayout | ||||
|                 android:orientation="vertical" | ||||
|             <ScrollView | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 style="@style/PageContent"> | ||||
|  | ||||
|                 <TextView | ||||
|                     android:id="@+id/mobile_data_summary" | ||||
|                     android:layout_width="match_parent" | ||||
|                     android:layout_height="wrap_content" | ||||
|                     style="@style/PageSummaryText" | ||||
|                     android:textSize="15sp" | ||||
|                     android:paddingLeft="@dimen/content_margin_left" | ||||
|                     android:paddingRight="@dimen/content_margin_right" | ||||
|                     android:paddingBottom="@dimen/summary_margin_bottom" | ||||
|                     android:text="@string/enable_mobile_data_summary" /> | ||||
|  | ||||
|                 <include layout="@layout/divider" /> | ||||
|                 android:layout_height="match_parent" | ||||
|                 android:fillViewport="true"> | ||||
|  | ||||
|                 <LinearLayout | ||||
|                     android:id="@+id/data" | ||||
|                     android:id="@+id/page_view" | ||||
|                     android:orientation="vertical" | ||||
|                     android:layout_width="match_parent" | ||||
|                     android:layout_height="wrap_content" | ||||
|                     android:minHeight="?android:attr/listPreferredItemHeight" | ||||
|                     android:gravity="center_vertical" | ||||
|                     android:paddingLeft="@dimen/content_margin_left" | ||||
|                     android:paddingRight="@dimen/data_switch_margin_right" | ||||
|                     android:background="?android:attr/selectableItemBackground" | ||||
|                     android:clickable="true"> | ||||
|  | ||||
|                     <ImageView | ||||
|                         android:id="@+id/signal" | ||||
|                         android:layout_width="wrap_content" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:src="@drawable/ic_signal_0" /> | ||||
|                     android:layout_height="wrap_content"> | ||||
|  | ||||
|                     <TextView | ||||
|                         android:id="@+id/enable_data_title" | ||||
|                         android:layout_width="0px" | ||||
|                         android:id="@+id/mobile_data_summary" | ||||
|                         android:layout_width="match_parent" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:layout_weight="1" | ||||
|                         android:textSize="14sp" | ||||
|                         android:layout_marginLeft="@dimen/carrier_text_margin_left" | ||||
|                         android:text="@string/setup_mobile_data_no_service" | ||||
|                         android:maxLines="4" /> | ||||
|                         android:text="@string/enable_mobile_data_summary" | ||||
|                         style="@style/SudDescription.Glif" /> | ||||
|  | ||||
|                     <Switch | ||||
|                         android:id="@+id/data_switch" | ||||
|                         android:layout_width="wrap_content" | ||||
|                         android:layout_height="match_parent" | ||||
|                     <include layout="@layout/divider" /> | ||||
|  | ||||
|                     <LinearLayout | ||||
|                         android:id="@+id/data" | ||||
|                         android:layout_width="match_parent" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:minHeight="?android:attr/listPreferredItemHeight" | ||||
|                         android:gravity="center_vertical" | ||||
|                         android:duplicateParentState="true" | ||||
|                         android:clickable="false" | ||||
|                         android:textOff="@string/no" | ||||
|                         android:textOn="@string/yes"/> | ||||
|                         android:paddingLeft="@dimen/content_margin_left" | ||||
|                         android:paddingRight="@dimen/data_switch_margin_right" | ||||
|                         android:background="?android:attr/selectableItemBackground" | ||||
|                         android:clickable="true"> | ||||
|  | ||||
|                         <ImageView | ||||
|                             android:id="@+id/signal" | ||||
|                             android:layout_width="wrap_content" | ||||
|                             android:layout_height="wrap_content" | ||||
|                             android:src="@drawable/ic_signal_0" /> | ||||
|  | ||||
|                         <TextView | ||||
|                             android:id="@+id/enable_data_title" | ||||
|                             android:layout_width="0px" | ||||
|                             android:layout_height="wrap_content" | ||||
|                             android:layout_weight="1" | ||||
|                             android:textSize="14sp" | ||||
|                             android:layout_marginLeft="@dimen/carrier_text_margin_left" | ||||
|                             android:text="@string/setup_mobile_data_no_service" | ||||
|                             android:maxLines="4" /> | ||||
|  | ||||
|                         <Switch | ||||
|                             android:id="@+id/data_switch" | ||||
|                             android:layout_width="wrap_content" | ||||
|                             android:layout_height="match_parent" | ||||
|                             android:gravity="center_vertical" | ||||
|                             android:duplicateParentState="true" | ||||
|                             android:clickable="false" | ||||
|                             android:textOff="@string/no" | ||||
|                             android:textOn="@string/yes" | ||||
|                             style="@style/SudSwitchStyle" /> | ||||
|                     </LinearLayout> | ||||
|  | ||||
|                     <include layout="@layout/divider" /> | ||||
|  | ||||
|                 </LinearLayout> | ||||
|             </ScrollView> | ||||
|         </FrameLayout> | ||||
|  | ||||
|                 <include layout="@layout/divider" /> | ||||
|  | ||||
|             </LinearLayout> | ||||
|         </ScrollView> | ||||
|     </FrameLayout> | ||||
| </LinearLayout> | ||||
|         <org.lineageos.setupwizard.NavigationLayout | ||||
|             android:id="@+id/navigation_bar" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" /> | ||||
|  | ||||
|     </LinearLayout> | ||||
| </com.google.android.setupdesign.GlifLayout> | ||||
|   | ||||
							
								
								
									
										40
									
								
								res/layout/navigation_layout.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,40 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|      Copyright (C) 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. | ||||
|      You may obtain a copy of the License at | ||||
|  | ||||
|           http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|      Unless required by applicable law or agreed to in writing, software | ||||
|      distributed under the License is distributed on an "AS IS" BASIS, | ||||
|      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|      See the License for the specific language governing permissions and | ||||
|      limitations under the License. | ||||
| --> | ||||
| <RelativeLayout | ||||
|     xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     xmlns:app="http://schemas.android.com/apk/res-auto" | ||||
|     android:layout_width="match_parent" | ||||
|     android:layout_height="wrap_content"> | ||||
|  | ||||
|     <Button | ||||
|         android:id="@+id/navbar_skip" | ||||
|         android:layout_width="wrap_content" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:layout_alignParentStart="true" | ||||
|         android:text="@string/skip" | ||||
|         android:visibility="gone" | ||||
|         style="@style/SudGlifButton.Secondary" /> | ||||
|  | ||||
|     <Button | ||||
|         android:id="@+id/navbar_next" | ||||
|         android:layout_width="wrap_content" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:layout_alignParentEnd="true" | ||||
|         android:text="@string/next" | ||||
|         style="@style/SudGlifButton.Primary" /> | ||||
|  | ||||
| </RelativeLayout> | ||||
							
								
								
									
										89
									
								
								res/layout/setup_biometric.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,89 @@ | ||||
| <?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. | ||||
|      You may obtain a copy of the License at | ||||
|  | ||||
|           http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|      Unless required by applicable law or agreed to in writing, software | ||||
|      distributed under the License is distributed on an "AS IS" BASIS, | ||||
|      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|      See the License for the specific language governing permissions and | ||||
|      limitations under the License. | ||||
| --> | ||||
| <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"> | ||||
|  | ||||
|         <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"> | ||||
|  | ||||
|                     <TextView | ||||
|                         android:id="@+id/setup_biometric_summary" | ||||
|                         android:layout_width="match_parent" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         style="@style/SudItemContainer.Verbose"/> | ||||
|  | ||||
|                     <TextView | ||||
|                         android:layout_width="match_parent" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:layout_marginBottom="24dp" | ||||
|                         android:paddingLeft="@dimen/content_margin_left" | ||||
|                         android:paddingRight="@dimen/location_text_margin_right" | ||||
|                         android:drawableStart="@drawable/ic_check_mark" | ||||
|                         android:drawablePadding="24dp" | ||||
|                         android:gravity="center_vertical" | ||||
|                         android:textSize="16sp" | ||||
|                         android:textStyle="bold" | ||||
|                         android:text="@string/biometric_setup_backup_lock_method"/> | ||||
|  | ||||
|                     <TextView | ||||
|                         android:id="@+id/setup_add_biometric" | ||||
|                         android:layout_width="match_parent" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:layout_marginBottom="24dp" | ||||
|                         android:paddingLeft="@dimen/content_margin_left" | ||||
|                         android:paddingRight="@dimen/location_text_margin_right" | ||||
|                         android:drawableStart="@drawable/ic_check_mark" | ||||
|                         android:drawablePadding="24dp" | ||||
|                         android:gravity="center_vertical" | ||||
|                         android:textSize="16sp" | ||||
|                         android:textStyle="bold"/> | ||||
|  | ||||
|                 </LinearLayout> | ||||
|             </ScrollView> | ||||
|         </FrameLayout> | ||||
|  | ||||
|         <org.lineageos.setupwizard.NavigationLayout | ||||
|             android:id="@+id/navigation_bar" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" | ||||
|             app:showSkipButton="true" /> | ||||
|  | ||||
|     </LinearLayout> | ||||
| </com.google.android.setupdesign.GlifLayout> | ||||
| @@ -1,198 +0,0 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|      Copyright (C) 2015 The CyanogenMod Project | ||||
|  | ||||
|      Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|      you may not use this file except in compliance with the License. | ||||
|      You may obtain a copy of the License at | ||||
|  | ||||
|           http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|      Unless required by applicable law or agreed to in writing, software | ||||
|      distributed under the License is distributed on an "AS IS" BASIS, | ||||
|      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|      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"> | ||||
|  | ||||
|  | ||||
|     <include layout="@layout/header_condensed" /> | ||||
|  | ||||
|     <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" | ||||
|                 style="@style/PageContent"> | ||||
|  | ||||
|                 <!-- The caption about privacy policy --> | ||||
|                 <TextView | ||||
|                     android:id="@+id/privacy_policy" | ||||
|                     android:layout_width="match_parent" | ||||
|                     android:layout_height="wrap_content" | ||||
|                     android:textSize="15sp" | ||||
|                     android:layout_marginBottom="@dimen/summary_margin_bottom" | ||||
|                     android:paddingLeft="@dimen/content_margin_left" | ||||
|                     android:paddingRight="@dimen/content_margin_right" | ||||
|                     style="@style/PageSummaryText" | ||||
|                     android:text="@string/services_explanation" | ||||
|                     android:clickable="true"/> | ||||
|  | ||||
|                 <!-- 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:layout_gravity="top" | ||||
|                         android:layout_marginTop="5dp" | ||||
|                         android:duplicateParentState="true" | ||||
|                         android:clickable="false"/> | ||||
|  | ||||
|                     <TextView | ||||
|                         android:id="@+id/enable_metrics_summary" | ||||
|                         android:layout_width="0px" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:layout_weight="1" | ||||
|                         android:textSize="15sp" | ||||
|                         android:lineSpacingExtra="@dimen/setup_line_spacing" | ||||
|                         android:gravity="top" | ||||
|                         android:layout_marginLeft="@dimen/location_text_margin_left" | ||||
|                         android:layout_marginRight="@dimen/location_text_margin_right" | ||||
|                         android:paddingBottom="@dimen/content_margin_bottom" | ||||
|                         android:text="@string/services_metrics_label"/> | ||||
|  | ||||
|                 </LinearLayout> | ||||
|  | ||||
|                 <!-- Whether or not to enable default theme --> | ||||
|                 <LinearLayout | ||||
|                     android:id="@+id/theme" | ||||
|                     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_theme_checkbox" | ||||
|                         android:layout_width="wrap_content" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:layout_gravity="top" | ||||
|                         android:layout_marginTop="5dp" | ||||
|                         android:duplicateParentState="true" | ||||
|                         android:clickable="false"/> | ||||
|  | ||||
|                     <TextView | ||||
|                         android:id="@+id/enable_theme_summary" | ||||
|                         android:layout_width="0px" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:layout_weight="1" | ||||
|                         android:textSize="15sp" | ||||
|                         android:lineSpacingExtra="@dimen/setup_line_spacing" | ||||
|                         android:gravity="top" | ||||
|                         android:layout_marginLeft="@dimen/location_text_margin_left" | ||||
|                         android:layout_marginRight="@dimen/location_text_margin_right" | ||||
|                         android:paddingBottom="@dimen/content_margin_bottom" | ||||
|                         android:text="@string/services_metrics_label"/> | ||||
|  | ||||
|                 </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:layout_marginTop="5dp" | ||||
|                         android:duplicateParentState="true" | ||||
|                         android:clickable="false" /> | ||||
|  | ||||
|  | ||||
|                     <TextView | ||||
|                         android:id="@+id/nav_keys_summary" | ||||
|                         android:layout_width="0px" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:layout_weight="1" | ||||
|                         android:textSize="15sp" | ||||
|                         android:lineSpacingExtra="@dimen/setup_line_spacing" | ||||
|                         android:gravity="top" | ||||
|                         android:layout_marginLeft="@dimen/location_text_margin_left" | ||||
|                         android:layout_marginRight="@dimen/location_text_margin_right" | ||||
|                         android:paddingBottom="@dimen/content_margin_bottom" | ||||
|                         android:text="@string/services_os_nav_keys_label"/> | ||||
|  | ||||
|                 </LinearLayout> | ||||
|  | ||||
|                 <!-- Checkbox for enabling secure SMS --> | ||||
|                 <LinearLayout | ||||
|                     android:id="@+id/secure_sms" | ||||
|                     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/secure_sms_checkbox" | ||||
|                         android:layout_width="wrap_content" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:layout_gravity="top" | ||||
|                         android:layout_marginTop="5dp" | ||||
|                         android:duplicateParentState="true" | ||||
|                         android:clickable="false" /> | ||||
|  | ||||
|                     <TextView | ||||
|                         android:id="@+id/secure_sms_summary" | ||||
|                         android:layout_width="0px" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:layout_weight="1" | ||||
|                         android:textSize="15sp" | ||||
|                         android:lineSpacingExtra="@dimen/setup_line_spacing" | ||||
|                         android:gravity="top" | ||||
|                         android:layout_marginLeft="@dimen/location_text_margin_left" | ||||
|                         android:layout_marginRight="@dimen/location_text_margin_right" | ||||
|                         android:paddingBottom="@dimen/content_margin_bottom" | ||||
|                         android:text="@string/services_secure_sms_label"/> | ||||
|  | ||||
|                 </LinearLayout> | ||||
|             </LinearLayout> | ||||
|         </ScrollView> | ||||
|     </FrameLayout> | ||||
| </LinearLayout> | ||||
| @@ -1,6 +1,7 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|      Copyright (C) 2013 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,99 +15,110 @@ | ||||
|      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" /> | ||||
|     <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"> | ||||
|         <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" | ||||
|             <ScrollView | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 style="@style/PageContent"> | ||||
|                 android:layout_height="match_parent" | ||||
|                 android:fillViewport="true"> | ||||
|  | ||||
|                 <TextView | ||||
|                 <LinearLayout | ||||
|                     android:orientation="vertical" | ||||
|                     android:layout_width="match_parent" | ||||
|                     android:layout_height="wrap_content" | ||||
|                     style="@style/PageSummaryText" | ||||
|                     android:textSize="16sp" | ||||
|                     android:paddingLeft="@dimen/content_margin_left" | ||||
|                     android:layout_marginBottom="@dimen/summary_margin_bottom" | ||||
|                     android:paddingRight="@dimen/location_text_margin_right" | ||||
|                     android:text="@string/date_time_summary" /> | ||||
|  | ||||
|                 <Spinner | ||||
|                     android:id="@+id/timezone_list" | ||||
|                     android:layout_width="290dp" | ||||
|                     android:layout_height="wrap_content" | ||||
|                     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"> | ||||
|                     android:layout_height="wrap_content"> | ||||
|  | ||||
|                     <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" /> | ||||
|                         android:text="@string/date_time_summary" | ||||
|                         style="@style/SudItemTitle.GlifDescription" /> | ||||
|  | ||||
|                     <TextView | ||||
|                         android:id="@+id/date_text" | ||||
|                     <Spinner | ||||
|                         android:id="@+id/timezone_list" | ||||
|                         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> | ||||
|                         android:layout_marginTop="24dp" | ||||
|                         android:saveEnabled="false"/> | ||||
|  | ||||
|                 <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" | ||||
|                     <TwoLineListItem | ||||
|                         android:id="@+id/date_item" | ||||
|                         android:layout_width="match_parent" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:text="@string/setup_current_time" | ||||
|                         style="@style/SpinnerItem" /> | ||||
|                         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_text" | ||||
|                         <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:layout_below="@id/time_title" | ||||
|                         android:layout_alignStart="@id/time_title" | ||||
|                         android:fontFamily="sans-serif-medium" | ||||
|                         style="@style/SpinnerItem" /> | ||||
|                 </TwoLineListItem> | ||||
|                         android:minHeight="?android:attr/listPreferredItemHeight" | ||||
|                         android:mode="twoLine" | ||||
|                         android:clickable="true" | ||||
|                         android:background="?android:attr/selectableItemBackground" | ||||
|                         android:gravity="center_vertical"> | ||||
|  | ||||
|             </LinearLayout> | ||||
|         </ScrollView> | ||||
|     </FrameLayout> | ||||
| </LinearLayout> | ||||
|                         <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> | ||||
|  | ||||
|         <org.lineageos.setupwizard.NavigationLayout | ||||
|             android:id="@+id/navigation_bar" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" /> | ||||
|  | ||||
|     </LinearLayout> | ||||
| </com.google.android.setupdesign.GlifLayout> | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|      Copyright (C) 2015 The CyanogenMod Project | ||||
|      Copyright (C) 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,16 +14,9 @@ | ||||
|      See the License for the specific language governing permissions and | ||||
|      limitations under the License. | ||||
| --> | ||||
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|                 android:id="@+id/header" | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="@dimen/header_condensed_height" | ||||
|                 android:background="@color/header_condensed_bg" | ||||
|                 style="@style/Header"> | ||||
| 
 | ||||
|     <TextView | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="@dimen/page_title_height" | ||||
|         style="@style/PageTitle" /> | ||||
| 
 | ||||
| </RelativeLayout> | ||||
| <LinearLayout | ||||
|     xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:layout_width="match_parent" | ||||
|     android:layout_height="match_parent" | ||||
|     android:orientation="vertical" /> | ||||
							
								
								
									
										130
									
								
								res/layout/setup_lineage_settings.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,130 @@ | ||||
| <?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. | ||||
|      You may obtain a copy of the License at | ||||
|  | ||||
|           http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|      Unless required by applicable law or agreed to in writing, software | ||||
|      distributed under the License is distributed on an "AS IS" BASIS, | ||||
|      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|      See the License for the specific language governing permissions and | ||||
|      limitations under the License. | ||||
| --> | ||||
| <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"> | ||||
|  | ||||
|         <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"> | ||||
|  | ||||
|                     <!-- The caption about privacy policy --> | ||||
|                     <TextView | ||||
|                         android:id="@+id/privacy_policy" | ||||
|                         android:layout_width="match_parent" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         style="@style/SudItemTitle.GlifDescription" | ||||
|                         android:text="@string/services_pp_explanation" /> | ||||
|  | ||||
|                     <TextView | ||||
|                         android:id="@+id/find_privacy_policy" | ||||
|                         android:layout_width="match_parent" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         style="@style/SudItemTitle.GlifDescription" | ||||
|                         android:text="@string/services_find_privacy_policy" /> | ||||
|  | ||||
|                     <!-- 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> | ||||
|  | ||||
|         <org.lineageos.setupwizard.NavigationLayout | ||||
|             android:id="@+id/navigation_bar" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" /> | ||||
|  | ||||
|     </LinearLayout> | ||||
| </com.google.android.setupdesign.GlifLayout> | ||||
|  | ||||
| @@ -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,27 +15,39 @@ | ||||
|      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" /> | ||||
|  | ||||
|     <ProgressBar | ||||
|         android:id="@+id/progressBar1" | ||||
|         style="?android:attr/progressBarStyleHorizontal" | ||||
|         android:indeterminateOnly="true" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="8dp" /> | ||||
|  | ||||
|     <FrameLayout android:id="@+id/page" | ||||
|                  android:layout_width="match_parent" | ||||
|                  android:layout_height="0dp" | ||||
|                  android:layout_weight="1" | ||||
|                  style="@style/PageContent"/> | ||||
| </LinearLayout> | ||||
|      <LinearLayout | ||||
|           android:orientation="vertical" | ||||
|           android:layout_width="match_parent" | ||||
|           android:layout_height="match_parent"> | ||||
|  | ||||
|           <ProgressBar | ||||
|                android:id="@+id/progressBar1" | ||||
|                style="?android:attr/progressBarStyleHorizontal" | ||||
|                android:indeterminateOnly="true" | ||||
|                android:layout_width="match_parent" | ||||
|                android:layout_height="8dp" | ||||
|                android:paddingStart="0dp" | ||||
|                android:paddingEnd="0dp" /> | ||||
|  | ||||
|           <FrameLayout | ||||
|                android:id="@+id/page" | ||||
|                android:layout_width="match_parent" | ||||
|                android:layout_height="0dp" | ||||
|                android:layout_weight="1" | ||||
|                style="@style/SudContentFrame"/> | ||||
|  | ||||
|           <com.google.android.setupdesign.view.NavigationBar | ||||
|                android:id="@+id/navigation_bar" | ||||
|                style="@style/SudNavBarTheme" | ||||
|                android:layout_width="match_parent" | ||||
|                android:layout_height="@dimen/sud_navbar_height" /> | ||||
|  | ||||
|      </LinearLayout> | ||||
| </com.google.android.setupdesign.GlifLayout> | ||||
|   | ||||
							
								
								
									
										55
									
								
								res/layout/setup_locale.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,55 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|      Copyright (C) 2013 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. | ||||
|      You may obtain a copy of the License at | ||||
|  | ||||
|           http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|      Unless required by applicable law or agreed to in writing, software | ||||
|      distributed under the License is distributed on an "AS IS" BASIS, | ||||
|      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|      See the License for the specific language governing permissions and | ||||
|      limitations under the License. | ||||
| --> | ||||
| <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:layout_width="match_parent" | ||||
|         android:layout_height="match_parent" | ||||
|         android:orientation="vertical" | ||||
|         style="@style/SudContentFrame"> | ||||
|  | ||||
|         <RelativeLayout | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="0dp" | ||||
|             android:layout_weight="1" | ||||
|             android:gravity="center"> | ||||
|  | ||||
|             <org.lineageos.setupwizard.widget.LocalePicker | ||||
|                 android:id="@+id/locale_list" | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:focusable="true" | ||||
|                 android:focusableInTouchMode="true" | ||||
|                 android:layout_alignParentBottom="true" | ||||
|                 android:layout_centerHorizontal="true" | ||||
|                 style="@style/LocaleWidget.Material.LocalePicker" /> | ||||
|  | ||||
|         </RelativeLayout> | ||||
|  | ||||
|         <org.lineageos.setupwizard.NavigationLayout | ||||
|             android:id="@+id/navigation_bar" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" /> | ||||
|  | ||||
|     </LinearLayout> | ||||
| </com.google.android.setupdesign.GlifLayout> | ||||
							
								
								
									
										64
									
								
								res/layout/setup_lockscreen.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,64 @@ | ||||
| <?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. | ||||
|      You may obtain a copy of the License at | ||||
|  | ||||
|           http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|      Unless required by applicable law or agreed to in writing, software | ||||
|      distributed under the License is distributed on an "AS IS" BASIS, | ||||
|      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|      See the License for the specific language governing permissions and | ||||
|      limitations under the License. | ||||
| --> | ||||
| <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"> | ||||
|  | ||||
|         <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" | ||||
|                     android:paddingStart="@dimen/content_margin_left" | ||||
|                     android:paddingEnd="@dimen/content_margin_left"> | ||||
|  | ||||
|                     <TextView | ||||
|                         android:layout_width="match_parent" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         android:text="@string/lockscreen_setup_summary" | ||||
|                         style="@style/SudItemTitle.GlifDescription" /> | ||||
|  | ||||
|                 </LinearLayout> | ||||
|             </ScrollView> | ||||
|         </FrameLayout> | ||||
|  | ||||
|         <org.lineageos.setupwizard.NavigationLayout | ||||
|             android:id="@+id/navigation_bar" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" | ||||
|             app:showSkipButton="true" /> | ||||
|  | ||||
|     </LinearLayout> | ||||
| </com.google.android.setupdesign.GlifLayout> | ||||
| @@ -1,57 +0,0 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|      Copyright (C) 2013 The CyanogenMod Project | ||||
|  | ||||
|      Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|      you may not use this file except in compliance with the License. | ||||
|      You may obtain a copy of the License at | ||||
|  | ||||
|           http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|      Unless required by applicable law or agreed to in writing, software | ||||
|      distributed under the License is distributed on an "AS IS" BASIS, | ||||
|      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|      See the License for the specific language governing permissions and | ||||
|      limitations under the License. | ||||
| --> | ||||
| <com.cyanogenmod.setupwizard.ui.widget.ScrimInsetsFrameLayout | ||||
|     xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     xmlns:app="http://schemas.android.com/apk/res-auto" | ||||
|     android:id="@+id/root" | ||||
|     android:orientation="vertical" | ||||
|     android:layout_width="match_parent" | ||||
|     android:layout_height="match_parent" | ||||
|     android:clickable="true" | ||||
|     android:fitsSystemWindows="true" | ||||
|     app:insetForeground="@android:color/transparent"> | ||||
|  | ||||
|     <LinearLayout android:orientation="vertical" | ||||
|                   android:layout_width="match_parent" | ||||
|                   android:layout_height="match_parent"> | ||||
|  | ||||
|         <FrameLayout android:id="@+id/content" | ||||
|                      android:layout_width="match_parent" | ||||
|                      android:layout_height="0dp" | ||||
|                      android:layout_weight="1" | ||||
|                      style="@style/PageContainer"/> | ||||
|  | ||||
|         <include layout="@layout/button_bar"/> | ||||
|  | ||||
|     </LinearLayout> | ||||
|  | ||||
|     <ImageView android:id="@+id/reveal" | ||||
|                android:layout_width="match_parent" | ||||
|                android:layout_height="match_parent" | ||||
|                android:background="@drawable/reveal" | ||||
|                android:visibility="invisible"/> | ||||
|  | ||||
|     <ProgressBar | ||||
|         android:id="@+id/finishing_bar" | ||||
|         style="?android:attr/progressBarStyleHorizontal" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="8dp" | ||||
|         android:layout_gravity="bottom" | ||||
|         android:visibility="gone"/> | ||||
|  | ||||
| </com.cyanogenmod.setupwizard.ui.widget.ScrimInsetsFrameLayout> | ||||
|  | ||||
| @@ -1,44 +0,0 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|      Copyright (C) 2013 The CyanogenMod Project | ||||
|  | ||||
|      Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|      you may not use this file except in compliance with the License. | ||||
|      You may obtain a copy of the License at | ||||
|  | ||||
|           http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|      Unless required by applicable law or agreed to in writing, software | ||||
|      distributed under the License is distributed on an "AS IS" BASIS, | ||||
|      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|      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"> | ||||
|  | ||||
|     <include layout="@layout/logo_header" /> | ||||
|  | ||||
|     <RelativeLayout android:id="@+id/page" | ||||
|                  android:layout_width="match_parent" | ||||
|                  android:layout_height="0dp" | ||||
|                  android:layout_weight="1" | ||||
|                  android:gravity="center" | ||||
|                  android:paddingLeft="@dimen/content_margin_left" | ||||
|                  android:paddingRight="@dimen/content_margin_left" | ||||
|                  style="@style/PageContent"> | ||||
|  | ||||
|         <com.cyanogenmod.setupwizard.ui.LocalePicker | ||||
|             android:id="@+id/locale_list" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:minHeight="@dimen/min_locale_picker_height" | ||||
|             android:focusable="true" | ||||
|             android:focusableInTouchMode="true" | ||||
|             android:layout_centerInParent="true"/> | ||||
|  | ||||
|     </RelativeLayout> | ||||
|  | ||||
| </LinearLayout> | ||||
| @@ -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,47 +15,52 @@ | ||||
|      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" /> | ||||
|     <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"> | ||||
|  | ||||
|         <LinearLayout | ||||
|             android:orientation="vertical" | ||||
|         <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 | ||||
|             <LinearLayout | ||||
|                 android:orientation="vertical" | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 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" /> | ||||
|                 android:layout_height="match_parent"> | ||||
|  | ||||
|             <ImageView | ||||
|                 android:id="@+id/sim_slot_image" | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="0px" | ||||
|                 android:layout_weight="1" | ||||
|                 android:scaleType="fitEnd" | ||||
|                 android:src="@drawable/sim"/> | ||||
|  | ||||
|         </LinearLayout> | ||||
|     </FrameLayout> | ||||
| </LinearLayout> | ||||
|                 <TextView | ||||
|                     android:layout_width="match_parent" | ||||
|                     android:layout_height="wrap_content" | ||||
|                     android:id="@+id/sim_missing" | ||||
|                     android:text="@string/sim_missing_summary" | ||||
|                     style="@style/SudItemTitle.GlifDescription" /> | ||||
|  | ||||
|                 <ImageView | ||||
|                     android:id="@+id/sim_slot_image" | ||||
|                     android:layout_width="match_parent" | ||||
|                     android:layout_height="0px" | ||||
|                     android:layout_weight="1" | ||||
|                     android:scaleType="fitEnd" | ||||
|                     android:src="@drawable/sim"/> | ||||
|  | ||||
|             </LinearLayout> | ||||
|         </FrameLayout> | ||||
|  | ||||
|         <org.lineageos.setupwizard.NavigationLayout | ||||
|             android:id="@+id/navigation_bar" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" /> | ||||
|  | ||||
|     </LinearLayout> | ||||
| </com.google.android.setupdesign.GlifLayout> | ||||
|   | ||||
| @@ -1,35 +0,0 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|      Copyright (C) 2013 The CyanogenMod Project | ||||
|  | ||||
|      Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|      you may not use this file except in compliance with the License. | ||||
|      You may obtain a copy of the License at | ||||
|  | ||||
|           http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|      Unless required by applicable law or agreed to in writing, software | ||||
|      distributed under the License is distributed on an "AS IS" BASIS, | ||||
|      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|      See the License for the specific language governing permissions and | ||||
|      limitations under the License. | ||||
| --> | ||||
| <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="match_parent"> | ||||
|  | ||||
|     <LinearLayout | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="match_parent"> | ||||
|  | ||||
|         <View | ||||
|             android:layout_height="match_parent" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_weight="1" /> | ||||
|     </LinearLayout> | ||||
|  | ||||
|     <WebView | ||||
|         android:id="@+id/webview" | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="match_parent" /> | ||||
| </FrameLayout> | ||||
							
								
								
									
										95
									
								
								res/layout/update_recovery_page.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,95 @@ | ||||
| <?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. | ||||
|      You may obtain a copy of the License at | ||||
|  | ||||
|           http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|      Unless required by applicable law or agreed to in writing, software | ||||
|      distributed under the License is distributed on an "AS IS" BASIS, | ||||
|      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|      See the License for the specific language governing permissions and | ||||
|      limitations under the License. | ||||
| --> | ||||
| <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"> | ||||
|  | ||||
|         <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"> | ||||
|  | ||||
|                     <TextView | ||||
|                         android:layout_width="match_parent" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         style="@style/SudItemTitle.GlifDescription" | ||||
|                         android:text="@string/update_recovery_description" /> | ||||
|  | ||||
|                     <TextView | ||||
|                         android:layout_width="match_parent" | ||||
|                         android:layout_height="wrap_content" | ||||
|                         style="@style/SudItemTitle.GlifDescription" | ||||
|                         android:text="@string/update_recovery_warning" /> | ||||
|  | ||||
|                     <LinearLayout | ||||
|                         android:id="@+id/update_recovery_checkbox_view" | ||||
|                         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/update_recovery_checkbox" | ||||
|                             android:layout_width="wrap_content" | ||||
|                             android:layout_height="wrap_content" | ||||
|                             android:duplicateParentState="true" | ||||
|                             android:clickable="false" | ||||
|                             style="@style/SudCheckBox.Multiline" /> | ||||
|  | ||||
|                         <TextView | ||||
|                             android:layout_width="wrap_content" | ||||
|                             android:layout_height="wrap_content" | ||||
|                             android:text="@string/update_recovery_setting" | ||||
|                             android:textStyle="bold" | ||||
|                             style="@style/SudCheckBox.Multiline" /> | ||||
|  | ||||
|                     </LinearLayout> | ||||
|                 </LinearLayout> | ||||
|             </ScrollView> | ||||
|         </FrameLayout> | ||||
|  | ||||
|         <org.lineageos.setupwizard.NavigationLayout | ||||
|             android:id="@+id/navigation_bar" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" /> | ||||
|  | ||||
|     </LinearLayout> | ||||
| </com.google.android.setupdesign.GlifLayout> | ||||
							
								
								
									
										82
									
								
								res/layout/welcome_activity.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,82 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <!-- | ||||
|      Copyright (C) 2016 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. | ||||
|      You may obtain a copy of the License at | ||||
|  | ||||
|           http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|      Unless required by applicable law or agreed to in writing, software | ||||
|      distributed under the License is distributed on an "AS IS" BASIS, | ||||
|      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|      See the License for the specific language governing permissions and | ||||
|      limitations under the License. | ||||
| --> | ||||
| <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"> | ||||
|  | ||||
|         <LinearLayout | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="0dp" | ||||
|             android:layout_weight="1" | ||||
|             android:gravity="center_vertical" | ||||
|             android:orientation="vertical"> | ||||
|  | ||||
|             <ImageView | ||||
|                 android:id="@+id/brand_logo" | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:src="@drawable/logo" | ||||
|                 android:adjustViewBounds="true" | ||||
|                 android:scaleType="fitCenter" | ||||
|                 android:gravity="center" | ||||
|                 android:padding="@dimen/content_margin_left" /> | ||||
|  | ||||
|             <Button | ||||
|                 android:id="@+id/start" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_gravity="center" | ||||
|                 android:text="@string/start" | ||||
|                 style="@style/SudGlifButton.Primary" /> | ||||
|  | ||||
|         </LinearLayout> | ||||
|  | ||||
|         <LinearLayout | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:orientation="horizontal" | ||||
|             android:gravity="center"> | ||||
|  | ||||
|             <Button | ||||
|                 android:id="@+id/emerg_dialer" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:drawableTop="@drawable/ic_dialer" | ||||
|                 android:text="@string/emergency_call" | ||||
|                 style="@style/SudGlifButton.Secondary" /> | ||||
|  | ||||
|             <Button | ||||
|                 android:id="@+id/launch_accessibility" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:drawableTop="@drawable/ic_eye" | ||||
|                 android:text="@string/accessibility_settings" | ||||
|                 style="@style/SudGlifButton.Secondary" /> | ||||
|  | ||||
|         </LinearLayout> | ||||
|     </LinearLayout> | ||||
| </com.google.android.setupdesign.GlifLayout> | ||||
							
								
								
									
										
											BIN
										
									
								
								res/mipmap-hdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 3.8 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/mipmap-mdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 2.4 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/mipmap-xhdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 5.3 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/mipmap-xxhdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 8.6 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/mipmap-xxxhdpi/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| After Width: | Height: | Size: 12 KiB | 
							
								
								
									
										55
									
								
								res/raw-television/lineage_wizard_script.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,55 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
|  | ||||
| <!-- | ||||
|      Copyright (C) 2016 The CyanogenMod Project | ||||
|      Copyright (C) 2017 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. | ||||
|     You may obtain a copy of the License at | ||||
|  | ||||
|         http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|     Unless required by applicable law or agreed to in writing, software | ||||
|     distributed under the License is distributed on an "AS IS" BASIS, | ||||
|     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|     See the License for the specific language governing permissions and | ||||
|     limitations under the License. | ||||
| --> | ||||
|  | ||||
| <WizardScript xmlns:wizard="http://schemas.android.com/apk/res/com.google.android.setupwizard" | ||||
|     wizard:firstAction="bluetooth_setup"> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_BLUETOOTH_SETUP;end" id="bluetooth_setup"> | ||||
|         <result wizard:action="welcome" /> | ||||
|     </WizardAction> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_WELCOME;end" id="welcome"> | ||||
|         <result wizard:action="locale" /> | ||||
|     </WizardAction> | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_LOCALE;end" id="locale"> | ||||
|         <result wizard:action="wifi_setup" /> | ||||
|     </WizardAction> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_WIFI_SETUP;end" id="wifi_setup"> | ||||
|         <result wizard:action="device_specific" /> | ||||
|     </WizardAction> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.DEVICE_SPECIFIC;end" id="device_specific"> | ||||
|         <result wizard:action="recovery_update" /> | ||||
|     </WizardAction> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_RECOVERY_UPDATE;end" id="recovery_update"> | ||||
|         <result wizard:action="lineage_settings" /> | ||||
|     </WizardAction> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SETTINGS;end" id="lineage_settings"> | ||||
|         <result wizard:action="finish" /> | ||||
|     </WizardAction> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE;end" id="finish"> | ||||
|         <result wizard:action="exit" /> | ||||
|     </WizardAction> | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.EXIT;end" id="exit" /> | ||||
|  | ||||
| </WizardScript> | ||||
							
								
								
									
										88
									
								
								res/raw/lineage_wizard_script.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1,88 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
|  | ||||
| <!-- | ||||
|      Copyright (C) 2016 The CyanogenMod Project | ||||
|      Copyright (C) 2017 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. | ||||
|     You may obtain a copy of the License at | ||||
|  | ||||
|         http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  | ||||
|     Unless required by applicable law or agreed to in writing, software | ||||
|     distributed under the License is distributed on an "AS IS" BASIS, | ||||
|     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|     See the License for the specific language governing permissions and | ||||
|     limitations under the License. | ||||
| --> | ||||
|  | ||||
| <WizardScript xmlns:wizard="http://schemas.android.com/apk/res/com.google.android.setupwizard" | ||||
|     wizard:firstAction="bluetooth_setup"> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_BLUETOOTH_SETUP;end" id="bluetooth_setup"> | ||||
|         <result wizard:action="welcome" /> | ||||
|     </WizardAction> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_WELCOME;end" id="welcome"> | ||||
|         <result wizard:action="locale" /> | ||||
|     </WizardAction> | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_LOCALE;end" id="locale"> | ||||
|         <result wizard:action="datetime" /> | ||||
|     </WizardAction> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_DATETIME;end" id="datetime"> | ||||
|         <result wizard:action="wifi_setup" /> | ||||
|     </WizardAction> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_WIFI_SETUP;end" id="wifi_setup"> | ||||
|         <result wizard:action="sim_missing" /> | ||||
|     </WizardAction> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SIM_MISSING;end" id="sim_missing"> | ||||
|         <result wizard:resultCode="1" wizard:action="location_settings" wizard:name="skip_sim" /> | ||||
|         <result wizard:action="choose_data_sim" /> | ||||
|     </WizardAction> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_CHOOSE_DATA_SIM;end" id="choose_data_sim"> | ||||
|         <result wizard:action="enable_mobile_data" /> | ||||
|     </WizardAction> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_ENABLE_MOBILE_DATA;end" id="enable_mobile_data"> | ||||
|         <result wizard:action="location_settings" /> | ||||
|     </WizardAction> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_LOCATION_SETTINGS;end" id="location_settings"> | ||||
|         <result wizard:action="device_specific" /> | ||||
|     </WizardAction> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.DEVICE_SPECIFIC;end" id="device_specific"> | ||||
|         <result wizard:action="recovery_update" /> | ||||
|     </WizardAction> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_RECOVERY_UPDATE;end" id="recovery_update"> | ||||
|         <result wizard:action="lineage_settings" /> | ||||
|     </WizardAction> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SETTINGS;end" id="lineage_settings"> | ||||
|         <result wizard:action="biometric_settings" /> | ||||
|     </WizardAction> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_BIOMETRIC_SETTINGS;end" id="biometric_settings"> | ||||
|         <result wizard:action="lockscreen_settings" /> | ||||
|     </WizardAction> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_LOCKSCREEN_SETTINGS;end" id="lockscreen_settings"> | ||||
|         <result wizard:action="restore" /> | ||||
|     </WizardAction> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_RESTORE_BACKUP;end" id="restore"> | ||||
|         <result wizard:action="finish" /> | ||||
|     </WizardAction> | ||||
|  | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.LINEAGE_SETUP_COMPLETE;end" id="finish"> | ||||
|         <result wizard:action="exit" /> | ||||
|     </WizardAction> | ||||
|     <WizardAction wizard:uri="intent:#Intent;action=org.lineageos.setupwizard.EXIT;end" id="exit" /> | ||||
|  | ||||
| </WizardScript> | ||||