Something before we start

well to begin posting my guides i have to point to 3 things

  • you have to have apktool for android 4.x+ and also know how to use it
  • there is some common error in compiling apk’s i shall point to it now
  • Samsung forgot to add some code in styles.xml in 4.2+ in SystemUI.apk so i will post it

Common compiling error fixing


  • for example you get something like this error :

C:\APK Tool\systemui\res\layout\system_bar_notification_p anel_title.xml:14: error: Error: No resource found that matches the given name (at ‘style’ with value @style/SystemBarNotificationText’).

It means the first problem is in C:\APK Tool\systemui\res\layout\system_bar_notification_panel_title.xml,

and the error in line 14

  • we open the xml file with notepad++ and find line 14,and add + in front of @style/SystemBarNotificationText.
  • result : 

      Old: @style/SystemBarNotificationText
New: +@style/SystemBarNotificationText

and save the xml file … usually this occurs in compiling framework-res.apk

The Forgotten Code by samsung for styles.xml in 4.2+


  • at this point we move on to SystemUi. apk \ res \ values ​​\ styles.xml open it and find  this line
    <item name="android:wallpaperIntraOpenExitAnimation">@anim/wallpaper_recents_launch_from_launcher_exit</item>
  • and add this block after it but with a proper layout so the “<style>” is just under the code
  •     <style name="SystemBarNotificationText">
            <item name="android:textSize">16.0sp</item>
            <item name="android:textColor">#ff999999</item>
        <style name="SystemBarPanelSettingsRow">
            <item name="android:orientation">horizontal</item>
            <item name="android:background">?android:listChoiceBackgroundIndicator</item>
            <item name="android:paddingRight">16.0dip</item>
            <item name="android:layout_width">fill_parent</item>
            <item name="android:layout_height">64.0dip</item>
        <style name="SystemBarPanelSettingsIcon">
            <item name="android:layout_width">64.0dip</item>
            <item name="android:layout_height">fill_parent</item>
            <item name="android:scaleType">center</item>
        <style name="SystemBarPanelSettingsContents">
            <item name="android:textSize">18.0sp</item>
            <item name="android:textColor">?android:textColorPrimary</item>
            <item name="android:layout_gravity">left|center</item>
            <item name="android:layout_width">0.0dip</item>
            <item name="android:layout_height">wrap_content</item>
            <item name="android:layout_weight">1.0</item>
        <style name="SystemBarPanelSettingsPanelSeparator">
            <item name="android:background">@*android:drawable/divider_horizontal_dark</item>
            <item name="android:layout_width">fill_parent</item>
            <item name="android:layout_height">1.0dip</item>
            <item name="android:layout_marginRight">0.0dip</item>
  • and save the xml 😀 cheers .. and wait for upcoming s5 modding and themeing guides .. enjoy 😉

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s