Hi all iam apk5656 with my guide here i will explain how to turn on black/light theme on your android device
i tested it on my gb vista v7 jb rom but i dont know if this will work on 4.0+
ok lets start
there are to themes skins the black one and the light one in your framework-res
the black one is helpful if you want to theme your framework-res to jb/ics style
and the light one is helpful if you want to theme your framework-res to kk/lolipop light style
if you want to turn on light/black theme just continue with my guide here
turn on the the black one example in settings.apk
{
"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"
}
decompile your framework-res and navigate to res/values/styles.xml
open it and search for <style name="Theme.Light" parent="@style/Theme"> (if you didnt find it search for <style name="Theme"> )
and you will find codes like this
Code:
<style name="Theme.Light" parent="@style/Theme">
<item name="colorForeground">@color/bright_foreground_light</item>
<item name="colorBackground">@color/background_light</item>
<item name="textColorPrimary">@color/primary_text_light</item>
<item name="textColorPrimaryDisableOnly">@color/primary_text_light_disable_only</item>
<item name="textColorSecondary">@color/secondary_text_light</item>
<item name="textColorPrimaryInverse">@color/primary_text_dark</item>
<item name="textColorSecondaryInverse">@color/secondary_text_dark</item>
<item name="textColorPrimaryNoDisable">@color/primary_text_light_nodisable</item>
<item name="textColorSecondaryNoDisable">@color/secondary_text_light_nodisable</item>
<item name="textColorPrimaryInverseNoDisable">@color/primary_text_dark_nodisable</item>
<item name="textColorSecondaryInverseNoDisable">@color/secondary_text_dark_nodisable</item>
<item name="textColorHintInverse">@color/hint_foreground_dark</item>
<item name="textCheckMark">@drawable/indicator_check_mark_light</item>
<item name="textCheckMarkInverse">@drawable/indicator_check_mark_dark</item>
<item name="windowBackground">@drawable/screen_background_light</item>
<item name="expandableListViewStyle">@style/Widget.ExpandableListView.White</item>
<item name="listViewStyle">@style/Widget.ListView.White</item>
<item name="popupWindowStyle">@style/Widget.PopupWindow</item>
<item name="progressBarStyle">@style/Widget.ProgressBar.Inverse</item>
<item name="progressBarStyleSmall">@style/Widget.ProgressBar.Small.Inverse</item>
<item name="progressBarStyleLarge">@style/Widget.ProgressBar.Large.Inverse</item>
<item name="textColorHint">@color/hint_foreground_light</item>
<item name="colorForegroundInverse">@color/bright_foreground_light_inverse</item>
<item name="listSeparatorTextViewStyle">@style/Widget.TextView.ListSeparator.White</item>
<item name="textColorTertiary">@color/tertiary_text_light</item>
<item name="textColorTertiaryInverse">@color/tertiary_text_dark</item>
<item name="listDivider">@drawable/divider_horizontal_bright</item>
<item name="progressBarStyleInverse">@style/Widget.ProgressBar</item>
<item name="progressBarStyleSmallInverse">@style/Widget.ProgressBar.Small</item>
<item name="progressBarStyleLargeInverse">@style/Widget.ProgressBar.Large</item>
<item name="textColorPrimaryInverseDisableOnly">@color/primary_text_dark_disable_only</item>
<item name="gestureOverlayViewStyle">@style/Widget.GestureOverlayView.White</item>
</style>
just make it look like this one but dont copy my whole xml just compare it
Code:
<style name="Theme.Light" parent="@style/Theme">
<item name="colorForeground">@color/bright_foreground_light</item>
<item name="colorBackground">@color/transparent</item>
<item name="textColorPrimary">@color/primary_text_dark</item>
<item name="textColorPrimaryDisableOnly">@color/primary_text_dark_disable_only</item>
<item name="textColorSecondary">@color/secondary_text_dark</item>
<item name="textColorPrimaryInverse">@color/primary_text_light</item>
<item name="textColorSecondaryInverse">@color/secondary_text_light</item>
<item name="textColorPrimaryNoDisable">@color/primary_text_dark_nodisable</item>
<item name="textColorSecondaryNoDisable">@color/secondary_text_dark_nodisable</item>
<item name="textColorPrimaryInverseNoDisable">@color/primary_text_light_nodisable</item>
<item name="textColorSecondaryInverseNoDisable">@color/secondary_text_light_nodisable</item>
<item name="textColorHintInverse">@color/hint_foreground_light</item>
<item name="textCheckMark">@drawable/indicator_check_mark_dark</item>
<item name="textCheckMarkInverse">@drawable/indicator_check_mark_light</item>
<item name="windowBackground">@drawable/screen_background_light</item></item>
<item name="expandableListViewStyle">@style/Widget.ExpandableListView.White</item>
<item name="listViewStyle">@style/Widget.ListView.White</item>
<item name="popupWindowStyle">@style/Widget.PopupWindow</item>
<item name="progressBarStyle">@style/Widget.ProgressBar.Inverse</item>
<item name="progressBarStyleSmall">@style/Widget.ProgressBar.Small.Inverse</item>
<item name="progressBarStyleLarge">@style/Widget.ProgressBar.Large.Inverse</item>
<item name="textColorHint">@color/hint_foreground_light</item>
<item name="colorForegroundInverse">@color/bright_foreground_light_inverse</item>
<item name="listSeparatorTextViewStyle">@style/Widget.TextView.ListSeparator.White</item>
<item name="textColorTertiary">@color/tertiary_text_light</item>
<item name="textColorTertiaryInverse">@color/tertiary_text_dark</item>
<item name="listDivider">@drawable/divider_horizontal_bright</item>
<item name="progressBarStyleInverse">@style/Widget.ProgressBar</item>
<item name="progressBarStyleSmallInverse">@style/Widget.ProgressBar.Small</item>
<item name="progressBarStyleLargeInverse">@style/Widget.ProgressBar.Large</item>
<item name="textColorPrimaryInverseDisableOnly">@color/primary_text_dark_disable_only</item>
<item name="gestureOverlayViewStyle">@style/Widget.GestureOverlayView.White</item>
</style>
now recompile your framework-res and push it to your system/framework folder and give it the right permissions and tada you turned on the black theme
turn on the the light one example in settings.apk
decompile your framework-res and navigate to the same file (styles.xml)
open it and search for <style name="Theme.Light" parent="@style/Theme"> (if you didnt find it search for <style name="Theme"> )
and you will find codes like this
Code:
<style name="Theme.Light" parent="@style/Theme">
<item name="colorForeground">@color/bright_foreground_light</item>
<item name="colorBackground">@color/transparent</item>
<item name="textColorPrimary">@color/primary_text_dark</item>
<item name="textColorPrimaryDisableOnly">@color/primary_text_dark_disable_only</item>
<item name="textColorSecondary">@color/secondary_text_dark</item>
<item name="textColorPrimaryInverse">@color/primary_text_light</item>
<item name="textColorSecondaryInverse">@color/secondary_text_light</item>
<item name="textColorPrimaryNoDisable">@color/primary_text_dark_nodisable</item>
<item name="textColorSecondaryNoDisable">@color/secondary_text_dark_nodisable</item>
<item name="textColorPrimaryInverseNoDisable">@color/primary_text_light_nodisable</item>
<item name="textColorSecondaryInverseNoDisable">@color/secondary_text_light_nodisable</item>
<item name="textColorHintInverse">@color/hint_foreground_light</item>
<item name="textCheckMark">@drawable/indicator_check_mark_dark</item>
<item name="textCheckMarkInverse">@drawable/indicator_check_mark_light</item>
<item name="windowBackground">@drawable/screen_background_light</item>
<item name="expandableListViewStyle">@style/Widget.ExpandableListView.White</item>
<item name="listViewStyle">@style/Widget.ListView.White</item>
<item name="popupWindowStyle">@style/Widget.PopupWindow</item>
<item name="progressBarStyle">@style/Widget.ProgressBar.Inverse</item>
<item name="progressBarStyleSmall">@style/Widget.ProgressBar.Small.Inverse</item>
<item name="progressBarStyleLarge">@style/Widget.ProgressBar.Large.Inverse</item>
<item name="textColorHint">@color/hint_foreground_light</item>
<item name="colorForegroundInverse">@color/bright_foreground_light_inverse</item>
<item name="listSeparatorTextViewStyle">@style/Widget.TextView.ListSeparator.White</item>
<item name="textColorTertiary">@color/tertiary_text_light</item>
<item name="textColorTertiaryInverse">@color/tertiary_text_dark</item>
<item name="listDivider">@drawable/divider_horizontal_bright</item>
<item name="progressBarStyleInverse">@style/Widget.ProgressBar</item>
<item name="progressBarStyleSmallInverse">@style/Widget.ProgressBar.Small</item>
<item name="progressBarStyleLargeInverse">@style/Widget.ProgressBar.Large</item>
<item name="textColorPrimaryInverseDisableOnly">@color/primary_text_dark_disable_only</item>
<item name="gestureOverlayViewStyle">@style/Widget.GestureOverlayView.White</item>
</style>
just make it look like this one but dont copy my whole xml just compare it
Code:
<style name="Theme.Light" parent="@style/Theme">
<item name="colorForeground">@color/bright_foreground_light</item>
<item name="colorBackground">@color/background_light</item>
<item name="textColorPrimary">@color/primary_text_light</item>
<item name="textColorPrimaryDisableOnly">@color/primary_text_light_disable_only</item>
<item name="textColorSecondary">@color/secondary_text_light</item>
<item name="textColorPrimaryInverse">@color/primary_text_dark</item>
<item name="textColorSecondaryInverse">@color/secondary_text_dark</item>
<item name="textColorPrimaryNoDisable">@color/primary_text_light_nodisable</item>
<item name="textColorSecondaryNoDisable">@color/secondary_text_light_nodisable</item>
<item name="textColorPrimaryInverseNoDisable">@color/primary_text_dark_nodisable</item>
<item name="textColorSecondaryInverseNoDisable">@color/secondary_text_dark_nodisable</item>
<item name="textColorHintInverse">@color/hint_foreground_dark</item>
<item name="textCheckMark">@drawable/indicator_check_mark_light</item>
<item name="textCheckMarkInverse">@drawable/indicator_check_mark_dark</item>
<item name="windowBackground">@drawable/screen_background_dark</item>
<item name="expandableListViewStyle">@style/Widget.ExpandableListView.White</item>
<item name="listViewStyle">@style/Widget.ListView.White</item>
<item name="popupWindowStyle">@style/Widget.PopupWindow</item>
<item name="progressBarStyle">@style/Widget.ProgressBar.Inverse</item>
<item name="progressBarStyleSmall">@style/Widget.ProgressBar.Small.Inverse</item>
<item name="progressBarStyleLarge">@style/Widget.ProgressBar.Large.Inverse</item>
<item name="textColorHint">@color/hint_foreground_light</item>
<item name="colorForegroundInverse">@color/bright_foreground_light_inverse</item>
<item name="listSeparatorTextViewStyle">@style/Widget.TextView.ListSeparator.White</item>
<item name="textColorTertiary">@color/tertiary_text_light</item>
<item name="textColorTertiaryInverse">@color/tertiary_text_dark</item>
<item name="listDivider">@drawable/divider_horizontal_bright</item>
<item name="progressBarStyleInverse">@style/Widget.ProgressBar</item>
<item name="progressBarStyleSmallInverse">@style/Widget.ProgressBar.Small</item>
<item name="progressBarStyleLargeInverse">@style/Widget.ProgressBar.Large</item>
<item name="textColorPrimaryInverseDisableOnly">@color/primary_text_dark_disable_only</item>
<item name="gestureOverlayViewStyle">@style/Widget.GestureOverlayView.White</item>
</style>
now recompile and push
just at the end the meaning of this guide is in styles.xml
dark means light
and light means dark
i hope i helped you just if you like my work pls hit thanks button
see you around :highfive: :victory:
XDA:DevDB Information
turning on light/black theme , Theme for all devices (see above for details)
Contributors
apk5656
Version Information
Status: Testing
Created 2016-04-25
Last Updated 2016-04-27
Related
hi, i just play around bit with apktool and try to edit some SEMC apks's-
at the moment im editing SemcAlbum.
So far its quiet clear, and with google i can search me many informations. i hav eno problem with editing Gridsize etc.
but i have some problem now. maybe someone can give me a hint.
as you can see on the pics, i was able to modify the background of the top bars and also of the main window.
one o fmy problems is, i have no idea why the darker grey part isnt same color like upper part. i try to get one color. i edited the pngs all same color, and i also edited some lines in /res/values/colors.xml and styles.xml
but im not sure, it looks like there is some shadow over the darker grey part. maybe someone has an idea what line i have to modify?
thats my colors.xml:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="online_services_background_color">#ffc1c2c1</color>
<color name="default_background_color">#ff000000</color>
<color name="background_image_color">#ffc1c2c1</color>
<color name="default_highlight_color">#ff09afed</color>
<color name="default_selected_color">#ff00ccff</color>
<color name="fullscreen_actionlayer_color">#d9000000</color>
<color name="marker_badge_text_color">#aa000000</color>
<color name="album_color_band">#fffa5f1b</color>
<color name="dashboard_info_background_color">#aa000000</color>
</resources>
the styles.xml:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.Album" parent="@*android:style/Theme.DeviceDefault">
<item name="android:colorBackground">@color/default_background_color</item>
<item name="android:windowBackground">@color/default_background_color</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowFullscreen">true</item>
<item name="android:colorBackgroundCacheHint">@color/default_background_color</item>
<item name="android:actionBarStyle">@style/Album.ActionBar</item>
<item name="android:displayOptions"></item>
<item name="android:windowActionBarOverlay">true</item>
<item name="android:actionBarTabStyle">@style/Album.ActionBarTabStyle</item>
<item name="android:actionBarTabTextStyle">@style/Album.ActionBarTabTextStyle</item>
<item name="com.sonyericsson.uxp:directionality">leftToRight</item>
</style>
<style name="Album.ActionBar" parent="@*android:style/Widget.DeviceDefault.ActionBar.Solid">
<item name="android:background">@drawable/semc_ab_solid_dark_holo</item>
<item name="android:displayOptions">showHome</item>
<item name="android:backgroundStacked">@drawable/semc_ab_stacked_solid_dark_holo</item>
</style>
<style name="Album.TextAppearance.Small.Primary" parent="@*android:style/TextAppearance.DeviceDefault.Small">
<item name="android:textColor">#ff292929</item>
</style>
<style name="Album.TextAppearance.Small.Secondary" parent="@*android:style/TextAppearance.DeviceDefault.Small">
<item name="android:textColor">#ff292929</item>
</style>
<style name="Album.TextAppearance.ListInfo.Small" parent="@*android:style/TextAppearance.DeviceDefault.Small">
<item name="android:textColor">#ff292929</item>
</style>
<style name="Album.TextAppearance.Micro" parent="@*android:style/TextAppearance.DeviceDefault.Small">
<item name="android:textSize">12.0sp</item>
</style>
<style name="Album.TextAppearance.Micro.Secondary" parent="@style/Album.TextAppearance.Micro">
<item name="android:textColor">#ff292929</item>
</style>
<style name="Album.ActionBarTabTextStyle" parent="@*android:style/Widget.DeviceDefault.ActionBar.TabText">
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ff292929</item>
<item name="android:textAllCaps">false</item>
</style>
<style name="Album.ActionBarTabStyle" parent="@*android:style/Widget.DeviceDefault.ActionBar.TabView">
<item name="android:background">@drawable/actionbar_tabselector</item>
</style>
<style name="Album.ButtonBar" parent="@*android:style/ButtonBar" />
<style name="Album.TextAppearance.DividerLabelTitleStyle" parent="@*android:style/TextAppearance.DeviceDefault.Small">
<item name="android:textSize">16.0sp</item>
<item name="android:textColor">?android:textColorPrimary</item>
</style>
<style name="Album.TextAppearance.DividerLabelItemCountStyle" parent="@*android:style/TextAppearance.DeviceDefault.Small">
<item name="android:textSize">16.0sp</item>
<item name="android:textColor">?android:textColorSecondary</item>
</style>
<style name="Album.TextAppearance.CommentsLikesCountStyle" parent="@*android:style/TextAppearance.DeviceDefault.Medium" />
</resources>
my second problem:
on the left picture you see the red marked Text, i was able to edit it, before it was a light text.
and my question about textcolor is, is it possible to edit the still white text?
i looked in the .xml files, but yet have no idea how i can fix. maybe its not possible to fix it inside SemcAlbum.apk?
Summary:
id like to modify all lighttext to darktext
id like to have all Background in one grey color (lightgrey)
maybe someone has an idea?
You'll need to find and modify the xml that calls for "ab_solid_light_holo.9" which is in framework-res.apk. That's if there is an xml calling for the image.
The colors will be controlled most likely through res/colors/ or res/styles.xml you just need to find the right value. They are probably being pulled from framework-res also.
They are probably quite easy to trace back.
Start by opening all xmls in SemcAlbum with notepad++ and search for "ab_solid_light_holo" in all opened xmls. if you dont get a hit it's probably being called through styles.
Go to styles.xml in SemcAlbum and have a read though the names and values, theyre normally self explanatory.
I'd help you more but i'm a bit busy.:good:
thanks, but i not have such lines in .xml files
lets see my steps, i edited every png/9.png same color (light grey, code c1c2c1)
i found out i have pngs with filename semc_ab_solid_dark_holo.9 > edited to c1c2c1 colorcode
thats what i see in colors.xml
Code:
<color name="online_services_background_color">#ffc1c2c1</color>
[U]<color name="default_background_color">#ffc1c2c1</color>
<color name="background_image_color">#ffc1c2c1</color>[/U]
<color name="default_highlight_color">#ff09afed</color>
<color name="default_selected_color">#ff00ccff</color>
<color name="fullscreen_actionlayer_color">#d9000000</color>
<color name="marker_badge_text_color">#aa000000</color>
<color name="album_color_band">#fffa5f1b</color>
<color name="dashboard_info_background_color">#aa000000</color>
i edited <color name="default_background_color">#ffc1c2c1</color>
<color name="background_image_color">#ffc1c2c1</color>
in my styles.xml i have this
Code:
<resources>
<style name="Theme.Album" parent="@*android:style/Theme.DeviceDefault">
[U]<item name="android:colorBackground">@color/default_background_color</item>
<item name="android:windowBackground">@color/default_background_color</item>[/U]
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowFullscreen">true</item>
<item name="android:colorBackgroundCacheHint">@color/default_background_color</item>
<item name="android:actionBarStyle">@style/Album.ActionBar</item>
<item name="android:displayOptions"></item>
<item name="android:windowActionBarOverlay">true</item>
<item name="android:actionBarTabStyle">@style/Album.ActionBarTabStyle</item>
<item name="android:actionBarTabTextStyle">@style/Album.ActionBarTabTextStyle</item>
<item name="com.sonyericsson.uxp:directionality">leftToRight</item>
</style>
<style name="Album.ActionBar" parent="@*android:style/Widget.DeviceDefault.ActionBar.Solid">
[U] <item name="android:background">@drawable/semc_ab_solid_dark_holo</item>[/U]
<item name="android:displayOptions">showHome</item>
[U]<item name="android:backgroundStacked">@drawable/semc_ab_stacked_solid_dark_holo</item>[/U]
you see, the AlbumActionBar has background defined with drawable/semc_ab_solid_dark_holo and it works, i edited the pngs, and the action is lightgrey c1c2c1
but the ThemeAlbum has background defined with color/default_background_color
color/default_background_color is defined in the colors.xml, right? in the colors.xml i have <color name="default_background_color">#ffc1c2c1</color>
but still, its a darker grey, like on the pictures
hm whats with this line in the styles.xml?
<color name="default_background_color">#ffc1c2c1</color>
<color name="background_image_color">#ffc1c2c1</color>
whats the difference between these two? :silly:
My apologies mate i read it wrong last night. I thought you wanted the top the same color as the bottom.
Are the backgrounds not normally controlled by the Semc theme?
SemcAlbum- styles.xml
Code:
<style name="Theme.Album" parent="@*android:style/Theme.DeviceDefault">
framework-res- styles.xml
Code:
<style name="Theme.DeviceDefault"
<item name="windowBackground">@com.sonyericsson.uxp:drawable/semc_bg</item>
SemcGenericUxpRes- semc_bg.xml
Code:
<bitmap android:src="@drawable/[COLOR="Red"]semc_bg_tile[/COLOR]" android:tileMode="repeat"
semc_bg_tile usually changes with the Sony themes. Have you tried changing the theme to see if the album background changes?
I dont use Sony apps so i cant try myself.
Hi all, After update Sense 6 for HTC ONE M7 (version Asian) by OTA
Panorama 360 mode was disappeared
:crying:
i dont understand
Have you tried updating your default.xml in system/customize/aac? Edit the camera lines 371-398, I think, so they look like this. Edit, save and reboot
<app name="Camera">
<item type="integer" name="burst_shot_count">99</item>
<item type="boolean" name="force_3d_preview_rendering">false</item>
<item type="string" name="frontcamera_position">Right</item>
<item type="string" name="gyro_cutoff">2.5</item>
<item type="string" name="gyro_scale">0.98</item>
<item type="boolean" name="has_hardwareAccelerated">true</item>
<item type="boolean" name="has_manual_capture">true</item> you need to set this to true
<item type="boolean" name="has_panorama_plus">true</item> set this to true
<item type="boolean" name="has_systembar">false</item>
<item type="boolean" name="is_low_end_device">false</item>
<item type="boolean" name="is_simcard_state_monitor_needed">false</item>
<item type="boolean" name="is_vga_front_cam">false</item>
<item type="boolean" name="support_panorama">true</item> this one too is it says false
<item type="boolean" name="support_stereo_record">true</item>
</app>
<app name="Camera_China_Sina">
<item type="integer" name="burst_shot_count">99</item>
<item type="string" name="frontcamera_position">Right</item>
<item type="string" name="gyro_cutoff">2.5</item>
<item type="string" name="gyro_scale">0.98</item>
<item type="boolean" name="has_panorama_plus">true</item> this one too
<item type="boolean" name="has_systembar">false</item>
<item type="boolean" name="is_low_end_device">false</item>
<item type="boolean" name="is_simcard_state_monitor_needed">false</item>
<item type="boolean" name="is_vga_front_cam">false</item>
<item type="boolean" name="support_panorama">true</item> last one i think
<item type="boolean" name="support_stereo_record">true</item>
</app>
DeathAngel66669 said:
Have you tried updating your default.xml in system/customize/aac? Edit the camera lines 371-398, I think, so they look like this. Edit, save and reboot
<app name="Camera">
<item type="integer" name="burst_shot_count">99</item>
<item type="boolean" name="force_3d_preview_rendering">false</item>
<item type="string" name="frontcamera_position">Right</item>
<item type="string" name="gyro_cutoff">2.5</item>
<item type="string" name="gyro_scale">0.98</item>
<item type="boolean" name="has_hardwareAccelerated">true</item>
<item type="boolean" name="has_manual_capture">true</item> you need to set this to true
<item type="boolean" name="has_panorama_plus">true</item> set this to true
<item type="boolean" name="has_systembar">false</item>
<item type="boolean" name="is_low_end_device">false</item>
<item type="boolean" name="is_simcard_state_monitor_needed">false</item>
<item type="boolean" name="is_vga_front_cam">false</item>
<item type="boolean" name="support_panorama">true</item> this one too is it says false
<item type="boolean" name="support_stereo_record">true</item>
</app>
<app name="Camera_China_Sina">
<item type="integer" name="burst_shot_count">99</item>
<item type="string" name="frontcamera_position">Right</item>
<item type="string" name="gyro_cutoff">2.5</item>
<item type="string" name="gyro_scale">0.98</item>
<item type="boolean" name="has_panorama_plus">true</item> this one too
<item type="boolean" name="has_systembar">false</item>
<item type="boolean" name="is_low_end_device">false</item>
<item type="boolean" name="is_simcard_state_monitor_needed">false</item>
<item type="boolean" name="is_vga_front_cam">false</item>
<item type="boolean" name="support_panorama">true</item> last one i think
<item type="boolean" name="support_stereo_record">true</item>
</app>
Click to expand...
Click to collapse
Thank
it is necessary to root permission??
ecompc said:
Thank
it is necessary to root permission??
Click to expand...
Click to collapse
Yes, otherwise you won't be able to edit/save the file.
DeathAngel66669 said:
Have you tried updating your default.xml in system/customize/aac? Edit the camera lines 371-398, I think, so they look like this. Edit, save and reboot
<app name="Camera">
<item type="integer" name="burst_shot_count">99</item>
<item type="boolean" name="force_3d_preview_rendering">false</item>
<item type="string" name="frontcamera_position">Right</item>
<item type="string" name="gyro_cutoff">2.5</item>
<item type="string" name="gyro_scale">0.98</item>
<item type="boolean" name="has_hardwareAccelerated">true</item>
<item type="boolean" name="has_manual_capture">true</item> you need to set this to true
<item type="boolean" name="has_panorama_plus">true</item> set this to true
<item type="boolean" name="has_systembar">false</item>
<item type="boolean" name="is_low_end_device">false</item>
<item type="boolean" name="is_simcard_state_monitor_needed">false</item>
<item type="boolean" name="is_vga_front_cam">false</item>
<item type="boolean" name="support_panorama">true</item> this one too is it says false
<item type="boolean" name="support_stereo_record">true</item>
</app>
<app name="Camera_China_Sina">
<item type="integer" name="burst_shot_count">99</item>
<item type="string" name="frontcamera_position">Right</item>
<item type="string" name="gyro_cutoff">2.5</item>
<item type="string" name="gyro_scale">0.98</item>
<item type="boolean" name="has_panorama_plus">true</item> this one too
<item type="boolean" name="has_systembar">false</item>
<item type="boolean" name="is_low_end_device">false</item>
<item type="boolean" name="is_simcard_state_monitor_needed">false</item>
<item type="boolean" name="is_vga_front_cam">false</item>
<item type="boolean" name="support_panorama">true</item> last one i think
<item type="boolean" name="support_stereo_record">true</item>
</app>
Click to expand...
Click to collapse
I have edited default.xml as you listed above, but I don't know why - after reboot the file is just like an old one. Even, if the file is sucessfully saved. I have rooted phone, with superSU installed. Have you got any idea, why is that?
mozartt said:
I have edited default.xml as you listed above, but I don't know why - after reboot the file is just like an old one. Even, if the file is sucessfully saved. I have rooted phone, with superSU installed. Have you got any idea, why is that?
Click to expand...
Click to collapse
you need a custom kernel with /system writable function to change any /system file, otherwise all changes will be reverted back to stock after a reboot.
anyway around this with a stock kernel?
Howie3045 said:
anyway around this with a stock kernel?
Click to expand...
Click to collapse
editing default.xml after each reboot. could be possible with an xposed framework module. Maybe there is already one?
i dunno. xposed doesnt work for me because when i update it and reboot it all resets its self. i feel like the only thing that has gone off without a hitch for me was rooting and unlocking bootloader. everything after that has been brick walls lol.
Can someone tell me what line to edit to enable you to surf the internet on 4g while you talk on the phone?
I'm assuming it's one of these items but I'm not sure which.
<item type="boolean" name="isidda_device">false</item>
<item type="string" name="original_sense_version">5.5</item>
<item type="integer" name="radio_type">8</item>
<item type="integer" name="region">1</item>
<item type="string" name="sense_version">6.0</item>
<item type="boolean" name="single_modem_dsda_device">false</item>
<item type="integer" name="sku_id">10</item>
<item type="boolean" name="support_3lm">false</item>
<item type="boolean" name="support_beats_audio">true</item>
<item type="boolean" name="support_boomsound_effect">true</item>
<item type="boolean" name="support_cb_on_dual">false</item>
<item type="boolean" name="support_dlna">true</item>
<item type="boolean" name="support_dual_sim">false</item>
<item type="boolean" name="support_fingerprint">true</item>
<item type="boolean" name="support_hide_select_runtime">true</item>
<item type="boolean" name="support_ir">true</item>
<item type="boolean" name="support_lte">true</item>
<item type="boolean" name="support_music_channel">false</item>
<item type="boolean" name="support_sim_card">true</item>
<item type="boolean" name="support_vmware">false</item>
<item type="boolean" name="support_Wifioffload">false</item>
<item type="boolean" name="support_wimax">false</item>
<item type="boolean" name="use_stock_ui">false</item>
<item type="integer" name="vibration_duration">20</item>
<item type="boolean" name="wifi_only">false</item>
I am trying to do so via this method:
Code:
style="@style/SpinnerTextViewStyle"
And I have this in one of the style.xml files created by default when I created the project.
Code:
<style name="SpinnerTextViewStyle">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:textColor">#0000aa</item>
<item name="android:textSize">16dp</item>
<item name="android:background">#ffffff</item>
<item name="android:padding">5dp</item>
</style>
This
Code:
<item name="android:background">#ffffff</item>
seems to work in the textview part but
Code:
<item name="android:textColor">#0000aa</item>
is totally ignored.
There must be some way of doing this!
- Decompile Mms.apk
- Go to …res/values/
STYLES.XML
TAMBAHKAN (add)
<style name="ActionBar" parent="@*android:style/Widget.Holo.ActionBar.Solid">
<item name="android:background">@android:drawable/ab_solid_dark_holo</item>
<item name="android:actionModeBackground">@android:drawable/ab_transparent_dark_holo</item>
<item name="android:displayOptions">showTitle</item>
<item name="android:titleTextStyle">@style/ActionBarTitleText</item>
<item name="android:subtitleTextStyle">@style/ActionBarSubtitleText</item>
<item name="android:icon">@android:color/transparent</item>
</style>
<style name="ActionBarTitleText">
<item name="android:textColor">#ffffffff</item>
<item name="android:textSize">20.0sp</item>
</style>
<style name="ActionBarSubtitleText" parent="@*android:style/TextAppearance.Holo.Widget.ActionBar.Subtitle">
<item name="android:textColor">#ffffffff</item>
</style>
<style name="WidgetSubtitle" parent="@*android:style/TextAppearance.Holo.Widget.ActionBar.Subtitle.Inverse">
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ff999999</item>
<item name="android:singleLine">true</item>
</style>
UBAH (change)
<style name="MmsHoloTheme" parent="@android:style/Theme.Holo.Light" />
JADI (to)
<style name="MmsHoloTheme" parent="@*android:style/Theme.Holo">
<item name="android:windowBackground">@android:drawable/background_holo_dark</item>
<item name="android:actionBarStyle">@style/ActionBar</item>
<item name="android:actionModeBackground">@android:drawable/ab_transparent_dark_holo</item>
<item name="android:homeAsUpIndicator">@drawable/back</item>
<item name="android:editTextStyle">@style/Widget.Holo.EditText.Mms</item>
<item name="android:textColorLink">#ffbc2727</item>
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowTranslucentNavigation">true</item>
<item name="android:fitsSystemWindows">true</item>
</style>
<style name="Widget.Holo.EditText.Mms" parent="@*android:style/Widget.EditText">
<item name="android:textAppearance">?android:textAppearanceMediumInverse</item>
<item name="android:gravity">center_vertical</item>
<item name="android:focusable">true</item>
<item name="android:focusableInTouchMode">true</item>
<item name="android:clickable">true</item>
</style>
COMPARE
<style name="WidgetTitle" parent="@*android:style/TextAppearance.Holo.Widget.ActionBar.Title">
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ff777777</item>
COLORS.XML
TAMBAHKAN (add)
<color name="delivery_report_header">#ffffffff</color>
<color name="delivery_report_recipient">#ffffffff</color>
<color name="delivery_report_status">#ffffffff</color>
<color name="delivery_report_date">#ffffffff</color>
<color name="darkgray_backgrounds">#ff131313</color>
COMPARE
<color name="action_bar_button_text_color">#ffffffff</color>
<color name="compose_message_edit_text">#ffffffff</color>
<color name="compose_message_text_counter">#cccccccc</color>
<color name="actionbar_text">#ccffffff</color>
<color name="delete_thread_dialog">#ffffffff</color>
<color name="button_text">#ffffffff</color>
<color name="message_received">#ffffffff</color>
<color name="message_sent">#ffefefef</color>
<color name="widget_unread_text">#ff777777</color>
<color name="widget_loading">#ffffffff</color>
<color name="background">#ff070707</color>
<color name="dividers">#ff131313</color>
<color name="text_hairline">#ff999999</color>
<color name="message_count_color">#66eeeeee</color>
<color name="timestamp_color">#bfe7e7e7</color>
<color name="unread_bgcolor">#80222222</color>
<color name="read_bgcolor">#00000000</color>
<color name="text_shadow_color_light">#33ffffff</color>
- Save
- Download Bahan-Mms_src.zip
- Extract and Merge
- Recompile
- Done
Credits:
- pierx
- zhalx
Screenshot
Awesome brother ,.
@DSttr said:
Awesome brother ,.
Click to expand...
Click to collapse
Thanx brother