Hi XDA Members now, i just want to explain "How To add Logo on About Phone Menu" maybe i hope it can like a miui. So, here we go!!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What you need?
1. apk tool/apk manager/toolAlite
2. framework-res.apk and settings.apk
3. beer or coffee
What you must do?
1. Do if framework and decompile settings.apk
2. Download my alien3.zip and extract it to your decompiled folder (but not for xml folder and device_info_settings.xml)
3. Open your device_info_settings.xml and find this line :
Code:
xmlns:android="http://schemas.android.com/apk/res/android">
4. After that, add this line :
Code:
<PreferenceCategory android:layout="@layout/alien" android:title="" />
5. Look at this line :
Code:
<PreferenceCategory android:layout="@layout/alien" android:title="" />
6. and moving this line after that :
Code:
<Preference android:title="@string/model_number" android:layout="@layout/alien2" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/firmware_version" android:layout="@layout/alien2" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/cpu_info" android:layout="@layout/alien2" android:key="device_cpu" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/mem_info" android:layout="@layout/alien2" android:key="device_memory" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/mod_version" android:layout="@layout/alien2" android:key="mod_version" android:summary="@string/mod_version_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/build_number" android:layout="@layout/alien2" android:key="build_number" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/build_date" android:layout="@layout/alien2" android:key="build_date" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/recovery_version" android:layout="@layout/alien2" android:key="recovery_version" android:summary="@string/recovery_version_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/kernel_version" android:layout="@layout/alien2" android:key="kernel_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/baseband_version" android:layout="@layout/alien2" android:key="baseband_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
so, will look like this :
Code:
<PreferenceCategory android:layout="@layout/alien" android:title="" />
<Preference android:title="@string/model_number" android:layout="@layout/alien2" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/firmware_version" android:layout="@layout/alien2" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/cpu_info" android:layout="@layout/alien2" android:key="device_cpu" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/mem_info" android:layout="@layout/alien2" android:key="device_memory" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/mod_version" android:layout="@layout/alien2" android:key="mod_version" android:summary="@string/mod_version_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/build_number" android:layout="@layout/alien2" android:key="build_number" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/build_date" android:layout="@layout/alien2" android:key="build_date" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/recovery_version" android:layout="@layout/alien2" android:key="recovery_version" android:summary="@string/recovery_version_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/kernel_version" android:layout="@layout/alien2" android:key="kernel_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/baseband_version" android:layout="@layout/alien2" android:key="baseband_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
7. on line :
Code:
<Preference android:title="@string/blablabla">
you must add this line :
Code:
android:layout="@layout/alien2"
8. now save your project and recompile.
9. push to your system/app
10. if you got error (when you recompile) just upload log.txt here from apktool/apkmanager, but if you got for close (when you push it) just upload logcat.txt here from your device.
Thanks To :
- dcsms
- member of alien inside
- Iluminouss Fam.
- All member of Group Samsung Galaxy Young Indonesia
- All member of Group Samsung Galaxy Pocket Indonesia
- All member of Group Sony Xperia X8/W8 Indonesia
- All member of Group Samsung Galaxy Wonder Indonesia
- and YOU!
Thanks master...
nice tutor...
Save page dulu,,,,
Thummbbb up :good:
bisa gak buat HDPI gan ?
:laugh:
Ariefuno Recca said:
Thanks master...
nice tutor...
Save page dulu,,,,
Thummbbb up :good:
Click to expand...
Click to collapse
you are a magnificent artist dude! thank you for making our x8 lively and beautiful :thumbup:
Sent from a katana with a sharpness over 9000!
Eren Jaeger said:
you are a magnificent artist dude! thank you for making our x8 lively and beautiful :thumbup:
Sent from a katana with a sharpness over 9000!
Click to expand...
Click to collapse
ur welcome dude..
i'm not am artist haha.. cause i have a motivation on my self "do big with mini" so, i try and always try to make a big of x8..
petrukgrinder said:
ur welcome dude..
i'm not am artist haha.. cause i have a motivation on my self "do big with mini" so, i try and always try to make a big of x8..
Click to expand...
Click to collapse
yeah and us here in x8 really appreciate your projects, you really are exceptional, thank you
engkozhe said:
:laugh:
Click to expand...
Click to collapse
why not
Nice
petrukgrinder said:
Hi XDA Members now, i just want to explain "How To add Logo on About Phone Menu" maybe i hope it can like a miui. So, here we go!!
What you need?
1. apk tool/apk manager/toolAlite
2. framework-res.apk and settings.apk
3. beer or coffee
What you must do?
1. Do if framework and decompile settings.apk
2. Download my alien3.zip and extract it to your decompiled folder (but not for xml folder and device_info_settings.xml)
3. Open your device_info_settings.xml and find this line :
Code:
xmlns:android="http://schemas.android.com/apk/res/android">
4. After that, add this line :
Code:
<PreferenceCategory android:layout="@layout/alien" android:title="" />
5. Look at this line :
Code:
<PreferenceCategory android:layout="@layout/alien" android:title="" />
6. and moving this line after that :
Code:
<Preference android:title="@string/model_number" android:layout="@layout/alien2" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/firmware_version" android:layout="@layout/alien2" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/cpu_info" android:layout="@layout/alien2" android:key="device_cpu" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/mem_info" android:layout="@layout/alien2" android:key="device_memory" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/mod_version" android:layout="@layout/alien2" android:key="mod_version" android:summary="@string/mod_version_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/build_number" android:layout="@layout/alien2" android:key="build_number" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/build_date" android:layout="@layout/alien2" android:key="build_date" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/recovery_version" android:layout="@layout/alien2" android:key="recovery_version" android:summary="@string/recovery_version_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/kernel_version" android:layout="@layout/alien2" android:key="kernel_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/baseband_version" android:layout="@layout/alien2" android:key="baseband_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
so, will look like this :
Code:
<PreferenceCategory android:layout="@layout/alien" android:title="" />
<Preference android:title="@string/model_number" android:layout="@layout/alien2" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/firmware_version" android:layout="@layout/alien2" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/cpu_info" android:layout="@layout/alien2" android:key="device_cpu" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/mem_info" android:layout="@layout/alien2" android:key="device_memory" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/mod_version" android:layout="@layout/alien2" android:key="mod_version" android:summary="@string/mod_version_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/build_number" android:layout="@layout/alien2" android:key="build_number" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/build_date" android:layout="@layout/alien2" android:key="build_date" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/recovery_version" android:layout="@layout/alien2" android:key="recovery_version" android:summary="@string/recovery_version_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/kernel_version" android:layout="@layout/alien2" android:key="kernel_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/baseband_version" android:layout="@layout/alien2" android:key="baseband_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
7. on line :
Code:
<Preference android:title="@string/blablabla">
you must add this line :
Code:
android:layout="@layout/alien2"
8. now save your project and recompile.
9. push to your system/app
10. if you got error (when you recompile) just upload log.txt here from apktool/apkmanager, but if you got for close (when you push it) just upload logcat.txt here from your device.
Thanks To :
- dcsms
- member of alien inside
- Iluminouss Fam.
- All member of Group Samsung Galaxy Young Indonesia
- All member of Group Samsung Galaxy Pocket Indonesia
- All member of Group Sony Xperia X8/W8 Indonesia
- All member of Group Samsung Galaxy Wonder Indonesia
- and YOU!
Click to expand...
Click to collapse
Please help my "Add Name on About Menu Phone"
when i open my device_info_settings.xml it shows words that i can't understand.
Related
Hi everybody, I have a problem with GOLocker...
I want implement it into my ROM then i copy com.jiubang.goscreenlock-1 in data/app but when i flash the ROM and I boot the phone I have the original lockscreen, why?
EDIT: Solved but now I have another problem, I want change the default settings infact the default setting is that the GoLocker isn't enable then I go to C:\ROMCooking\APKManager\projects\com.jiubang.goscreenlock-1.apk\res\xml and i found lock_setting.xml
Original
<?xml version="1.0" encoding="UTF-8"?>
<PreferenceScreen android:title="@string/setting_title"
xmlns:android="http://schemas.android.com/apk/res/android">
<CheckBoxPreference android:title="@string/start_go_lock" android:key="@string/start_go_lock_key" android:defaultValue="false" />
<Preference android:title="@string/my_go_lock" android:key="@string/my_go_lock_key" android:summary="需代码动态赋值" />
<CheckBoxPreference android:title="@string/go_lock_sound" android:key="@string/go_lock_sound_key" android:defaultValue="true" />
<CheckBoxPreference android:title="@string/start_emergency_button" android:key="@string/start_emergency_button_key" android:defaultValue="true" />
</PreferenceScreen>
Click to expand...
Click to collapse
Edited by me
<?xml version="1.0" encoding="UTF-8"?>
<PreferenceScreen android:title="@string/setting_title"
xmlns:android="http://schemas.android.com/apk/res/android">
<CheckBoxPreference android:title="@string/start_go_lock" android:key="@string/start_go_lock_key" android:defaultValue="true" />
<Preference android:title="@string/my_go_lock" android:key="@string/my_go_lock_key" android:summary="需代码动态赋值" />
<CheckBoxPreference android:title="@string/go_lock_sound" android:key="@string/go_lock_sound_key" android:defaultValue="false" />
<CheckBoxPreference android:title="@string/start_emergency_button" android:key="@string/start_emergency_button_key" android:defaultValue="false" />
</PreferenceScreen>
Click to expand...
Click to collapse
Infact if we see the app the first option is that if we want enable GOLocker than I edited the first line changing false to true and the other 2 options but it's not important...
When I install the app the settings aren't changed, it's possible?
Another question: where is Zombie Art By Jack Larson string?
It's in strings.xml?
Upupupupupupupupupupupupupupupupupupup
Hello guys!
I´m trying to add a submenu to my Rom. I allready open the apk with APKTool and edited some xmls with notepad++. But now I want to make a new submenu for all Halo settings, but how? Looking at other submenus don´t help!
The submenu xml looks like that at the moment:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/halo_settings"
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="@string/halo_settings_header" android:key="halo">
<CheckBoxPreference android:title="@string/halo_hide_title" android:key="halo_hide" android:summary="@string/halo_hide_summary" android:defaultValue="false" />
<CheckBoxPreference android:title="@string/halo_reversed_title" android:key="halo_reversed" android:summary="@string/halo_reversed_summary" android:defaultValue="true" />
</PreferenceCategory>
</PreferenceScreen>
Click to expand...
Click to collapse
and the settings head like this:
<?xml version="1.0" encoding="utf-8"?>
<preference-headers
xmlns:android="http://schemas.android.com/apk/res/android">
<header android:id="@id/wireless_section" android:title="@string/header_category_wireless_networks" />
<header android:icon="@drawable/ic_settings_wireless" android:id="@id/wifi_settings" android:title="@string/wifi_settings_title" android:fragment="com.android.settings.wifi.WifiSettings" />
<header android:icon="@drawable/ic_settings_bluetooth2" android:id="@id/bluetooth_settings" android:title="@string/bluetooth_settings_title" android:fragment="com.android.settings.bluetooth.BluetoothSettings" />
<header android:icon="@drawable/ic_settings_data_usage" android:id="@id/data_usage_settings" android:title="@string/data_usage_summary_title" android:fragment="com.android.settings.DataUsageSummary" />
<header android:id="@id/operator_settings" android:fragment="com.android.settings.WirelessSettings">
<intent android:action="com.android.settings.OPERATOR_APPLICATION_SETTING" />
</header>
<header android:icon="@drawable/empty_icon" android:id="@id/wireless_settings" android:title="@string/radio_controls_title" android:fragment="com.android.settings.WirelessSettings" android:breadCrumbTitle="@string/wireless_networks_settings_title" />
<header android:id="@id/device_section" android:title="@string/header_category_device" />
<header android:icon="@drawable/ic_settings_sound" android:id="@id/sound_settings" android:title="@string/sound_settings" android:fragment="com.android.settings.SoundSettings" />
<header android:icon="@drawable/ic_settings_display" android:id="@id/display_settings" android:title="@string/display_settings" android:fragment="com.android.settings.DisplaySettings" />
<header android:icon="@drawable/ic_settings_storage" android:id="@id/storage_settings" android:title="@string/storage_settings" android:fragment="com.android.settings.deviceinfo.Memory" />
<header android:icon="@drawable/ic_settings_battery" android:id="@id/battery_settings" android:title="@string/power_usage_summary_title" android:fragment="com.android.settings.fuelgauge.PowerUsageSummary" />
<header android:icon="@drawable/ic_settings_applications" android:id="@id/application_settings" android:title="@string/applications_settings" android:fragment="com.android.settings.applications.ManageApplications" />
<header android:icon="@drawable/ic_settings_multiuser" android:id="@id/user_settings" android:title="@string/user_settings_title" android:fragment="com.android.settings.users.UserSettings" />
<header android:id="@id/manufacturer_settings" android:fragment="com.android.settings.WirelessSettings">
<intent android:action="com.android.settings.MANUFACTURER_APPLICATION_SETTING" />
</header>
<header android:id="@id/customization_section" android:title="@string/header_category_customization" />
<header android:icon="@drawable/ic_settings_themes" android:id="@id/themes_settings" android:title="@string/themes_settings_title">
<intent android:targetPackage="com.tmobile.themechooser" android:action="android.intent.action.MAIN" android:targetClass="com.tmobile.themechooser.ThemeChooser" />
</header>
<header android:icon="@drawable/ic_settings_status_bar" android:id="@id/tool_bar_settings" android:title="@string/tool_bar_settings" android:fragment="com.android.settings.paranoid.Toolbar" />
<header android:icon="@drawable/ic_settings_halo" android:id="@id/settings_halo" android:title="@string/settings_halo" android:fragment="com.android.settings.paranoid.Halo" />
<header android:icon="@drawable/ic_settings_lock_screen" android:id="@id/lock_screen_settings" android:title="@string/lock_screen_settings" android:fragment="com.android.settings.paranoid.Lockscreen" />
<header android:icon="@drawable/ic_settings_advanced" android:id="@id/advanced_settings" android:title="@string/advanced_settings_title">
<intent android:targetPackage="com.cyanogenmod.settings.device" android:action="com.cyanogenmod.action.LAUNCH_DEVICE_SETTINGS" android:targetClass="com.cyanogenmod.settings.device.DeviceSettings" />
</header>
<header android:icon="@drawable/ic_settings_hybrid" android:id="@id/hybrid_settings" android:title="@string/hybrid_settings">
<intent android:targetPackage="com.paranoid.preferences" android:action="android.intent.action.MAIN" android:targetClass="com.paranoid.preferences.MainActivity" />
</header>
<header android:id="@id/personal_section" android:title="@string/header_category_personal" />
<header android:icon="@drawable/ic_settings_location" android:id="@id/location_settings" android:title="@string/location_settings_title" android:fragment="com.android.settings.LocationSettings" />
<header android:icon="@drawable/ic_settings_security" android:id="@id/security_settings" android:title="@string/security_settings_title" android:fragment="com.android.settings.SecuritySettings" />
<header android:icon="@drawable/ic_settings_language" android:id="@id/language_settings" android:title="@string/language_settings" android:fragment="com.android.settings.inputmethod.InputMethodAndLanguageSettings" />
<header android:icon="@drawable/ic_settings_backup" android:id="@id/privacy_settings" android:title="@string/privacy_settings" android:fragment="com.android.settings.PrivacySettings" />
<header android:id="@id/account_settings" android:title="@string/account_settings" />
<header android:icon="@drawable/ic_menu_add" android:id="@id/account_add" android:title="@string/add_account_label">
<intent android:action="android.settings.ADD_ACCOUNT_SETTINGS" />
</header>
<header android:id="@id/system_section" android:title="@string/header_category_system" />
<header android:icon="@drawable/ic_action_permission" android:id="@id/superuser" android:title="@string/superuser" android:fragment="com.koushikdutta.superuser.PolicyNativeFragment" />
<header android:icon="@drawable/ic_settings_date_time" android:id="@id/date_time_settings" android:title="@string/date_and_time_settings_title" android:fragment="com.android.settings.DateTimeSettings" />
<header android:icon="@drawable/ic_settings_accessibility" android:id="@id/accessibility_settings" android:title="@string/accessibility_settings" android:fragment="com.android.settings.AccessibilitySettings" />
<header android:icon="@drawable/ic_settings_development" android:id="@id/development_settings" android:title="@string/development_settings_title" android:fragment="com.android.settings.DevelopmentSettings" />
<header android:icon="@drawable/ic_settings_about" android:id="@id/about_settings" android:title="@string/about_settings" android:fragment="com.android.settings.DeviceInfoSettings" />
</preference-headers>
Click to expand...
Click to collapse
I added the needed strings to the strings.xml. But what now?? Pls help me!
iWilliBlecha said:
Hello guys!
I´m trying to add a submenu to my Rom. I allready open the apk with APKTool and edited some xmls with notepad++. But now I want to make a new submenu for all Halo settings, but how? Looking at other submenus don´t help!
The submenu xml looks like that at the moment:
and the settings head like this:
I added the needed strings to the strings.xml. But what now?? Pls help me!
Click to expand...
Click to collapse
Recompile and test (I know this post is old but I'm sick of not seeing replies)
When any one call me he heard his sound again like echo
can any one tell me what can i do or any fix
http://bbs.xda.cn/thread-12184557-1-1.html
which file can i edit to enable Noise Suppression
i found settings.apk
so i make an modification
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/sound_settings" android:key="sound_settings"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="@string/volume_category_title" />
<Preference android:persistent="false" android:title="@string/all_volume_title" android:key="ring_volume">
<intent android:targetPackage="com.android.settings" android:targetClass="com.android.settings.sound.RingerVolumeActivity" />
</Preference>
<CheckBoxPreference android:persistent="false" android:title="@string/silent_mode_title" android:key="miui_silent_or_vibrate" />
<PreferenceCategory android:title="@string/vibrate_category_title" />
<CheckBoxPreference android:persistent="false" android:title="@string/vibrate_in_silent_title" android:key="miui_vibrate_in_silent_key" />
<CheckBoxPreference android:persistent="false" android:title="@string/vibrate_when_ringing_title" android:key="miui_vibrate_in_normal_key" />
<Preference android:title="@string/musicfx_title" android:key="musicfx">
<intent android:targetPackage="com.android.musicfx" android:targetClass="com.android.musicfx.ControlPanelPicker" />
</Preference>
<PreferenceCategory android:title="@string/sound_category_call_ringtone_vibrate_title" android:key="category_calls_and_notification" />
<com.android.settings.DefaultRingtonePreference android:persistent="false" android:title="@string/ringtone_title" android:key="ringtone" android:dialogTitle="@string/ringtone_title" android:ringtoneType="ringtone" />
<com.android.settings.DefaultRingtonePreference android:persistent="false" android:title="@string/notification_sound_title" android:key="notification_sound" android:dialogTitle="@string/notification_sound_dialog_title" android:ringtoneType="notification" />
<com.android.settings.SmsRingtonePreference android:title="@string/sms_received_sound_title" android:key="sms_received_sound" android:dialogTitle="@string/sms_received_sound_dialog_title" android:ringtoneType="notification" />
<com.android.settings.SmsRingtonePreference android:title="@string/sms_delivered_sound_title" android:key="sms_delivered_sound" android:dialogTitle="@string/sms_delivered_sound_dialog_title" android:ringtoneType="notification" />
<PreferenceCategory android:title="@string/sound_category_system_title" />
<CheckBoxPreference android:title="@string/dtmf_tone_enable_title" android:key="dtmf_tone" android:defaultValue="true" />
<CheckBoxPreference android:title="@string/sound_effects_enable_title" android:key="sound_effects" android:defaultValue="true" />
<CheckBoxPreference android:title="@string/lock_sounds_enable_title" android:key="lock_sounds" android:defaultValue="true" />
<CheckBoxPreference android:title="@string/haptic_feedback_enable_title" android:key="haptic_feedback" android:defaultValue="true" />
<ListPreference android:entries="@array/haptic_feedback_level_entries" android:title="@string/haptic_feedback_level" android:key="haptic_feedback_level" android:dependency="haptic_feedback" android:entryValues="@array/haptic_feedback_level_values" />
<CheckBoxPreference android:persistent="false" android:title="@string/media_feedback_enable_title" android:key="media_feedback" />
<ListPreference android:persistent="false" android:entries="@array/media_feedback_level_entries" android:title="@string/haptic_feedback_level" android:key="media_feedback_level" android:dependency="media_feedback" android:entryValues="@array/media_feedback_level_values" />
<ListPreference android:entries="@array/emergency_tone_entries" android:title="@string/emergency_tone_title" android:key="emergency_tone" android:entryValues="@array/emergency_tone_values" />
<Preference android:title="@string/title_dolby_control" android:key="dolby_control" android:summary="@string/dolby_mode_off" android:fragment="com.android.settings.dolby.DolbySettings" />
<Preference android:title="@string/dirac_control" android:key="dirac_control" android:summary="@string/dirac_mode_off">
<intent android:targetPackage="com.miui.player" android:action="com.miui.player.DIRAC_SETTINGS" android:targetClass="com.miui.player.effect.dirac.DiracSettings" />
</Preference>
<PreferenceCategory android:title="@string/dock_settings" android:key="dock_category" />
<PreferenceScreen android:title="@string/dock_audio_settings_title" android:key="dock_audio">
<CheckBoxPreference android:enabled="true" android:title="@string/bluetooth_dock_settings_a2dp" android:key="dock_audio_media_enabled" />
</PreferenceScreen>
<CheckBoxPreference android:title="@string/dock_sounds_enable_title" android:key="dock_sounds" android:defaultValue="false" />
<PreferenceCategory android:title="@string/noise_suppression" android:key="noise_suppression" android:defaultValue="true"/>
<ListPreference android:persistent="true" android:entries="@array/phone_call_noise_suppression_title" android:title="@string/phone_call_noise_suppression" android:key="phone_call_noise_suppression" android:entryValues="@array/phone_call_noise_suppression_values" />
</PreferenceScreen>
the original is
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/sound_settings" android:key="sound_settings"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="@string/volume_category_title" />
<Preference android:persistent="false" android:title="@string/all_volume_title" android:key="ring_volume">
<intent android:targetPackage="com.android.settings" android:targetClass="com.android.settings.sound.RingerVolumeActivity" />
</Preference>
<CheckBoxPreference android:persistent="false" android:title="@string/silent_mode_title" android:key="miui_silent_or_vibrate" />
<PreferenceCategory android:title="@string/vibrate_category_title" />
<CheckBoxPreference android:persistent="false" android:title="@string/vibrate_in_silent_title" android:key="miui_vibrate_in_silent_key" />
<CheckBoxPreference android:persistent="false" android:title="@string/vibrate_when_ringing_title" android:key="miui_vibrate_in_normal_key" />
<Preference android:title="@string/musicfx_title" android:key="musicfx">
<intent android:targetPackage="com.android.musicfx" android:targetClass="com.android.musicfx.ControlPanelPicker" />
</Preference>
<PreferenceCategory android:title="@string/sound_category_call_ringtone_vibrate_title" android:key="category_calls_and_notification" />
<com.android.settings.DefaultRingtonePreference android:persistent="false" android:title="@string/ringtone_title" android:key="ringtone" android:dialogTitle="@string/ringtone_title" android:ringtoneType="ringtone" />
<com.android.settings.DefaultRingtonePreference android:persistent="false" android:title="@string/notification_sound_title" android:key="notification_sound" android:dialogTitle="@string/notification_sound_dialog_title" android:ringtoneType="notification" />
<com.android.settings.SmsRingtonePreference android:title="@string/sms_received_sound_title" android:key="sms_received_sound" android:dialogTitle="@string/sms_received_sound_dialog_title" android:ringtoneType="notification" />
<com.android.settings.SmsRingtonePreference android:title="@string/sms_delivered_sound_title" android:key="sms_delivered_sound" android:dialogTitle="@string/sms_delivered_sound_dialog_title" android:ringtoneType="notification" />
<PreferenceCategory android:title="@string/sound_category_system_title" />
<CheckBoxPreference android:title="@string/dtmf_tone_enable_title" android:key="dtmf_tone" android:defaultValue="true" />
<CheckBoxPreference android:title="@string/sound_effects_enable_title" android:key="sound_effects" android:defaultValue="true" />
<CheckBoxPreference android:title="@string/lock_sounds_enable_title" android:key="lock_sounds" android:defaultValue="true" />
<CheckBoxPreference android:title="@string/haptic_feedback_enable_title" android:key="haptic_feedback" android:defaultValue="true" />
<ListPreference android:entries="@array/haptic_feedback_level_entries" android:title="@string/haptic_feedback_level" android:key="haptic_feedback_level" android:dependency="haptic_feedback" android:entryValues="@array/haptic_feedback_level_values" />
<CheckBoxPreference android:persistent="false" android:title="@string/media_feedback_enable_title" android:key="media_feedback" />
<ListPreference android:persistent="false" android:entries="@array/media_feedback_level_entries" android:title="@string/haptic_feedback_level" android:key="media_feedback_level" android:dependency="media_feedback" android:entryValues="@array/media_feedback_level_values" />
<ListPreference android:entries="@array/emergency_tone_entries" android:title="@string/emergency_tone_title" android:key="emergency_tone" android:entryValues="@array/emergency_tone_values" />
<Preference android:title="@string/title_dolby_control" android:key="dolby_control" android:summary="@string/dolby_mode_off" android:fragment="com.android.settings.dolby.DolbySettings" />
<Preference android:title="@string/dirac_control" android:key="dirac_control" android:summary="@string/dirac_mode_off">
<intent android:targetPackage="com.miui.player" android:action="com.miui.player.DIRAC_SETTINGS" android:targetClass="com.miui.player.effect.dirac.DiracSettings" />
</Preference>
<PreferenceCategory android:title="@string/dock_settings" android:key="dock_category" />
<PreferenceScreen android:title="@string/dock_audio_settings_title" android:key="dock_audio">
<CheckBoxPreference android:enabled="true" android:title="@string/bluetooth_dock_settings_a2dp" android:key="dock_audio_media_enabled" />
</PreferenceScreen>
<CheckBoxPreference android:title="@string/dock_sounds_enable_title" android:key="dock_sounds" android:defaultValue="false" />
<PreferenceCategory android:title="@string/noise_suppression" [B]android:key="noise_suppression"[/B] />
<ListPreference android:persistent="[B]false[/B]" android:entries="@array/phone_call_noise_suppression_title" android:title="@string/phone_call_noise_suppression" android:key="phone_call_noise_suppression" android:entryValues="@array/phone_call_noise_suppression_values" />
</PreferenceScreen>
I have an angular cordova application which has got the html video tag that plays on IOS but not on Android. Play button does not show on android.
html tag is as below:
<video width="320" height="240" controls="controls">
<source src="samplevideolink" type="video/mp4" />
</video>
config.xml of Cordova is as below:
<content src="index.cordova.html" />
<plugin name="cordova-plugin-whitelist" spec="1" />
<access origin="*...." />
<allow-intent href="...." />
<allow-intent href="..." />
<platform name="android">
<allow-intent href="market:*" />
<icon src="assets/android/ldpi.png" density="ldpi" />
<icon src="assets/android/mdpi.png" density="mdpi" />
<icon src="assets/android/hdpi.png" density="hdpi" />
<icon src="assets/android/xhdpi.png" density="xhdpi" />
<icon src="assets/android/xxhdpi.png" density="xxhdpi" />
<icon src="assets/android/xxxhdpi.png" density="xxxhdpi" />
</platform>
<platform name="ios">
....
<preference name="webviewbounce" value="false" />
<preference name="UIWebViewBounce" value="false" />
<preference name="DisallowOverscroll" value="true" />
<preference name="android-minSdkVersion" value="23" />
<preference name="BackupWebStorage" value="none" />
Not sure if there is a problem withany configuration specific to Android in Cordova. Is there any plugin specific to Android Cordova need to be installed
Really appreciate your help.
help, I want to disable or hide the button light switch option. is it possible to do that in modifying settings.apk on miui 8. Thanks
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/key_settings"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="@string/screen_key_press" android:key="screen_key_press">
<ListPreference android:entries="@arRay/screen_key_press_action" android:title="@string/app_switch_key" android:key="menu_press" android:dialogTitle="@string/screen_key_press_action" android:entryValues="@arRay/screen_key_press_action_value" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/screen_key_long_press" android:key="screen_key_long_press">
<ListPreference android:entries="@arRay/screen_key_long_press_action" android:title="@string/app_switch_key" android:key="menu_long_press" android:dialogTitle="@string/screen_key_long_press_action" android:entryValues="@arRay/screen_key_long_press_action_value" />
<ListPreference android:entries="@arRay/screen_key_long_press_action" android:title="@string/home_key" android:key="home_long_press" android:dialogTitle="@string/screen_key_long_press_action" android:entryValues="@arRay/screen_key_long_press_action_value" />
<ListPreference android:entries="@arRay/screen_key_long_press_action" android:title="@string/back_key" android:key="back_long_press" android:dialogTitle="@string/screen_key_long_press_action" android:entryValues="@arRay/screen_key_long_press_action_value" />
<ListPreference android:entries="@arRay/screen_key_long_press_timeout" android:title="@string/screen_key_long_press_timeout" android:key="screen_key_long_press_timeout" android:dialogTitle="@string/screen_key_long_press_timeout" android:entryValues="@arRay/screen_key_long_press_timeout_value" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/under_keyguard" android:key="under_keyguard">
<CheckBoxPreference android:title="@string/disable_power_key_long_press_under_keyguard" android:key="disable_power_long_press" />
<CheckBoxPreference android:title="@string/pref_volume_wake_title" android:key="pref_volume_wake" android:summary="@string/pref_volume_wake_summary" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/convenience_key_category_title" android:key="convenience_key">
<CheckBoxPreference android:title="@string/fp_nav_center_back_to_home_title" android:key="pref_fingerprint_nav_center_to_home" />
</PreferenceCategory>
<CheckBoxPreference android:title="@string/pref_button_light" android:key="pref_button_light" android:summary="@string/pref_button_light_summary" />
<ListPreference androidersistent="false" android:entries="@arRay/button_light_timeout_entries" android:title="@string/button_light_timeout" android:key="button_light_timeout" android:dependency="pref_button_light" android:dialogTitle="@string/button_light_timeout" android:entryValues="@arRay/button_light_timeout_value" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/status_bar_screen_button_key" android:key="screen_button_category">
<Preference android:title="@string/status_bar_key_position_custom" android:key="screen_button_custom" android:fragment="com.android.settings.screenkey.ScreenKeySettings" />
</PreferenceCategory>
</PreferenceScreen>
I already decompiled the settings.apk and found the xml file key_settings.xml. im wondering which string on the xml file i will delete or modify to disable the menu for button light switch option.