Files
packages_apps_Evolver/res/xml/spoofing.xml
Pranav Vashi a1d910c260 Evolver: Fix and improve keybox data preference
* Add space for icon
* Use linear layout throughout
* Make toasts translatable
* Dynamically update summary when XML loaded/cleared
* Improve checks and XML loading

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-11-09 20:40:32 +09:00

100 lines
4.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2025 Evolution X
SPDX-License-Identifier: Apache-2.0
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
android:title="@string/spoofing_title">
<PreferenceCategory
android:key="spoofing_system_wide_category"
android:title="@string/spoofing_system_wide_category">
<!-- Keybox Data -->
<org.evolution.settings.preferences.KeyboxDataPreference
android:key="keybox_data_setting"
android:title="@string/keybox_data_title" />
<!-- GMS spoof -->
<org.evolution.settings.preferences.SystemPropertySwitchPreference
android:key="persist.sys.pixelprops.gms"
android:title="@string/gms_spoof_title"
android:summary="@string/gms_spoof_summary"
android:defaultValue="true" />
<Preference
android:key="show_pif_properties"
android:title="@string/show_pif_properties_title"
android:summary="@string/show_pif_properties_summary"
android:dependency="persist.sys.pixelprops.gms" />
<Preference
android:key="update_pif_json"
android:title="@string/update_pif_json_title"
android:summary="@string/update_pif_json_summary"
android:dependency="persist.sys.pixelprops.gms" />
<Preference
android:key="pif_json_file_preference"
android:title="@string/pif_spoofing_title"
android:summary="@string/pif_spoofing_summary"
android:dependency="persist.sys.pixelprops.gms" />
<!-- Pixel props -->
<org.evolution.settings.preferences.SystemPropertySwitchPreference
android:key="persist.sys.pixelprops"
android:title="@string/spoofing_pixel_props_title"
android:summary="@string/spoofing_pixel_props_summary"
android:defaultValue="true" />
<!-- Tensor features -->
<org.evolution.settings.preferences.SystemPropertySwitchPreference
android:key="persist.sys.features.tensor"
android:title="@string/tensor_spoof_title"
android:summary="@string/tensor_spoof_summary"
android:defaultValue="false" />
</PreferenceCategory>
<PreferenceCategory
android:key="spoofing_app_specific_category"
android:title="@string/spoofing_app_specific_category">
<!-- Google App -->
<org.evolution.settings.preferences.SystemPropertySwitchPreference
android:key="persist.sys.pixelprops.qsb"
android:title="@string/spoofing_qsb_title"
android:summary="@string/spoofing_qsb_summary"
android:defaultValue="false" />
<!-- Play Store -->
<!--<org.evolution.settings.preferences.SystemPropertySwitchPreference
android:key="persist.sys.pixelprops.vending"
android:title="@string/spoofing_vending_title"
android:summary="@string/spoofing_vending_summary"
android:defaultValue="false" />-->
<!-- Google Photos -->
<org.evolution.settings.preferences.SystemPropertySwitchPreference
android:key="persist.sys.pixelprops.gphotos"
android:title="@string/spoofing_photos_title"
android:summary="@string/spoofing_photos_summary"
android:defaultValue="true" />
<!-- Games FPS -->
<org.evolution.settings.preferences.SystemPropertySwitchPreference
android:key="persist.sys.pixelprops.games"
android:title="@string/gameprops_title"
android:summary="@string/gameprops_summary"
android:defaultValue="true" />
<!-- Snapchat -->
<org.evolution.settings.preferences.SystemPropertySwitchPreference
android:key="persist.sys.pixelprops.snap"
android:title="@string/spoofing_snap_title"
android:summary="@string/spoofing_snap_summary"
android:defaultValue="false" />
</PreferenceCategory>
</PreferenceScreen>