[GUIDE] Porting ICS Sliders to GB

toxic77

Senior Member
Feb 17, 2007
188
116
73
Nueva Ecija
ICS Sliders:



Open progress_horizontal.xml under res\drawable folder, and paste this code, and save the file.

Code:
[FONT=Arial]
<?xml version="1.0" encoding="utf-8"?>
<layer-list
  xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:id="@id/background" android:drawable="@drawable/progress_bg_holo_light" />
    <item android:id="@id/secondaryProgress">
        <scale android:drawable="@drawable/progress_secondary_holo_light" android:scaleWidth="100%" />
    </item>
    <item android:id="@id/progress">
        <scale android:drawable="@drawable/progress_primary_holo_light" android:scaleWidth="100%" />
    </item>
</layer-list>[/FONT]



Next look for Widget.ProgressBar.Horizontal and Widget.SeekBar on your res\values\styles.xml, and copy the codes below overwriting the original value on styles.xml



Code:
    <style name="Widget.ProgressBar.Horizontal" parent="@style/Widget.ProgressBar">
        <item name="maxHeight">16.0dip</item>
        <item name="indeterminateOnly">false</item>
        <item name="indeterminateDrawable">@drawable/progress_indeterminate_horizontal</item>
        <item name="progressDrawable">@drawable/progress_horizontal</item>
        <item name="minHeight">16.0dip</item>
    </style>
    <style name="Widget.SeekBar" parent="@style/Widget">
        <item name="focusable">true</item>
        <item name="maxHeight">13.0dip</item>
        <item name="indeterminateOnly">false</item>
        <item name="indeterminateDrawable">@drawable/progress_horizontal</item>
        <item name="progressDrawable">@drawable/progress_horizontal</item>
        <item name="minHeight">13.0dip</item>
        <item name="thumb">@drawable/seek_thumb</item>
        <item name="thumbOffset">16.0dip</item>
    </style>
After it save the file place the files from the zip file to your desired drawable folder, on mine I used drawable-mdpi, and using apktool just compile your framework-res again, then you have the finish product.

If you liked my post, just press the THANKS button..:good:
 

Attachments

androman1507

Senior Member
Jul 20, 2012
197
122
0
I tried porting it on my galaxy sl i9003 using ur guide. While recompiling apk i get an error related to values>>public.xml. It is as below.
Code:
/MediaButton.Rew declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1591: error: Public symbol style
/Preference declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1593: error: Public symbol style
/Preference.Category declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1594: error: Public symbol style
/Preference.CheckBoxPreference declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1596: error: Public symbol style
/Preference.DialogPreference declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1598: error: Public symbol style
/Preference.DialogPreference.EditTextPreference declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1597: error: Public symbol style
/Preference.DialogPreference.YesNoPreference declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1592: error: Public symbol style
/Preference.Information declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1595: error: Public symbol style
/Preference.PreferenceScreen declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1599: error: Public symbol style
/Preference.RingtonePreference declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1604: error: Public symbol style
/PreviewWallpaperSettings declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1504: error: Public symbol style
/TextAppearance declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1507: error: Public symbol style
/TextAppearance.DialogWindowTitle declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1505: error: Public symbol style
/TextAppearance.Inverse declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1508: error: Public symbol style
/TextAppearance.Large declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1509: error: Public symbol style
/TextAppearance.Large.Inverse declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1510: error: Public symbol style
/TextAppearance.Medium declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1511: error: Public symbol style
/TextAppearance.Medium.Inverse declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1590: error: Public symbol style
/TextAppearance.SearchResult declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1542: error: Public symbol style
/TextAppearance.SearchResult.Subtitle declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1541: error: Public symbol style
/TextAppearance.SearchResult.Title declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1589: error: Public symbol style
/TextAppearance.SlidingTabActive declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1588: error: Public symbol style
/TextAppearance.SlidingTabNormal declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1512: error: Public symbol style
/TextAppearance.Small declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1513: error: Public symbol style
/TextAppearance.Small.Inverse declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1566: error: Public symbol style
/TextAppearance.StatusBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1545: error: Public symbol style
/TextAppearance.StatusBar.EventContent declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1546: error: Public symbol style
/TextAppearance.StatusBar.EventContent.Title declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1544: error: Public symbol style
/TextAppearance.StatusBar.Icon declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1567: error: Public symbol style
/TextAppearance.StatusBar.Ticker declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1543: error: Public symbol style
/TextAppearance.StatusBar.Title declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1506: error: Public symbol style
/TextAppearance.Theme declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1514: error: Public symbol style
/TextAppearance.Theme.Dialog declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1587: error: Public symbol style
/TextAppearance.Theme.Dialog.AppError declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1515: error: Public symbol style
/TextAppearance.Widget declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1516: error: Public symbol style
/TextAppearance.Widget.Button declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1522: error: Public symbol style
/TextAppearance.Widget.DropDownHint declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1523: error: Public symbol style
/TextAppearance.Widget.DropDownItem declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1518: error: Public symbol style
/TextAppearance.Widget.EditText declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1517: error: Public symbol style
/TextAppearance.Widget.IconMenu.Item declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1519: error: Public symbol style
/TextAppearance.Widget.TabWidget declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1520: error: Public symbol style
/TextAppearance.Widget.TextView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1521: error: Public symbol style
/TextAppearance.Widget.TextView.PopupMenu declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1524: error: Public symbol style
/TextAppearance.Widget.TextView.SpinnerItem declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1525: error: Public symbol style
/TextAppearance.WindowTitle declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1447: error: Public symbol style
/Theme declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1450: error: Public symbol style
/Theme.Black declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1451: error: Public symbol style
/Theme.Black.NoTitleBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1452: error: Public symbol style
/Theme.Black.NoTitleBar.Fullscreen declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1453: error: Public symbol style
/Theme.Dialog declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1605: error: Public symbol style
/Theme.Dialog.Alert declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1610: error: Public symbol style
/Theme.Dialog.AppError declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1611: error: Public symbol style
/Theme.Dialog.RecentApplications declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1613: error: Public symbol style
/Theme.Dialog.WebSelect declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1609: error: Public symbol style
/Theme.ExpandedMenu declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1607: error: Public symbol style
/Theme.GlobalSearchBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1608: error: Public symbol style
/Theme.IconMenu declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1526: error: Public symbol style
/Theme.InputMethod declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1454: error: Public symbol style
/Theme.Light declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1455: error: Public symbol style
/Theme.Light.NoTitleBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1456: error: Public symbol style
/Theme.Light.NoTitleBar.Fullscreen declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1532: error: Public symbol style
/Theme.Light.Panel declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1540: error: Public symbol style
/Theme.Light.WallpaperSettings declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1527: error: Public symbol style
/Theme.NoDisplay declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1448: error: Public symbol style
/Theme.NoTitleBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1449: error: Public symbol style
/Theme.NoTitleBar.Fullscreen declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1531: error: Public symbol style
/Theme.Panel declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1606: error: Public symbol style
/Theme.SearchBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1612: error: Public symbol style
/Theme.Toast declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1457: error: Public symbol style
/Theme.Translucent declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1458: error: Public symbol style
/Theme.Translucent.NoTitleBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1459: error: Public symbol style
/Theme.Translucent.NoTitleBar.Fullscreen declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1536: error: Public symbol style
/Theme.Wallpaper declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1537: error: Public symbol style
/Theme.Wallpaper.NoTitleBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1538: error: Public symbol style
/Theme.Wallpaper.NoTitleBar.Fullscreen declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1539: error: Public symbol style
/Theme.WallpaperSettings declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1460: error: Public symbol style
/Widget declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1461: error: Public symbol style
/Widget.AbsListView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1481: error: Public symbol style
/Widget.AutoCompleteTextView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1462: error: Public symbol style
/Widget.Button declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1463: error: Public symbol style
/Widget.Button.Inset declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1464: error: Public symbol style
/Widget.Button.Small declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1465: error: Public symbol style
/Widget.Button.Toggle declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1570: error: Public symbol style
/Widget.Button.Transparent declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1466: error: Public symbol style
/Widget.CompoundButton declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1467: error: Public symbol style
/Widget.CompoundButton.CheckBox declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1468: error: Public symbol style
/Widget.CompoundButton.RadioButton declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1469: error: Public symbol style
/Widget.CompoundButton.Star declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1485: error: Public symbol style
/Widget.DropDownItem declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1486: error: Public symbol style
/Widget.DropDownItem.Spinner declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1477: error: Public symbol style
/Widget.EditText declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1478: error: Public symbol style
/Widget.ExpandableListView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1576: error: Public symbol style
/Widget.ExpandableListView.White declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1495: error: Public symbol style
/Widget.Gallery declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1568: error: Public symbol style
/Widget.GestureOverlayView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1569: error: Public symbol style
/Widget.GestureOverlayView.White declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1492: error: Public symbol style
/Widget.GridView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1577: error: Public symbol style
/Widget.HorizontalScrollView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1480: error: Public symbol style
/Widget.ImageButton declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1479: error: Public symbol style
/Widget.ImageWell declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1529: error: Public symbol style
/Widget.KeyboardView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1488: error: Public symbol style
/Widget.ListView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1490: error: Public symbol style
/Widget.ListView.DropDown declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1491: error: Public symbol style
/Widget.ListView.Menu declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1489: error: Public symbol style
/Widget.ListView.White declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1496: error: Public symbol style
/Widget.PopupWindow declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1470: error: Public symbol style
/Widget.ProgressBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1473: error: Public symbol style
/Widget.ProgressBar.Horizontal declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1533: error: Public symbol style
/Widget.ProgressBar.Inverse declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1471: error: Public symbol style
/Widget.ProgressBar.Large declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1534: error: Public symbol style
/Widget.ProgressBar.Large.Inverse declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1472: error: Public symbol style
/Widget.ProgressBar.Small declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1535: error: Public symbol style
/Widget.ProgressBar.Small.Inverse declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1571: error: Public symbol style
/Widget.ProgressBar.Small.Title declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1579: error: Public symbol style
/Widget.QuickContactBadge declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1583: error: Public symbol style
/Widget.QuickContactBadge.WindowLarge declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1582: error: Public symbol style
/Widget.QuickContactBadge.WindowMedium declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1581: error: Public symbol style
/Widget.QuickContactBadge.WindowSmall declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1580: error: Public symbol style
/Widget.QuickContactBadgeSmall declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1586: error: Public symbol style
/Widget.QuickContactBadgeSmall.WindowLarge declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1585: error: Public symbol style
/Widget.QuickContactBadgeSmall.WindowMedium declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1584: error: Public symbol style
/Widget.QuickContactBadgeSmall.WindowSmall declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1475: error: Public symbol style
/Widget.RatingBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1572: error: Public symbol style
/Widget.RatingBar.Indicator declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1573: error: Public symbol style
/Widget.RatingBar.Small declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1487: error: Public symbol style
/Widget.ScrollView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1474: error: Public symbol style
/Widget.SeekBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1482: error: Public symbol style
/Widget.Spinner declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1494: error: Public symbol style
/Widget.TabWidget declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1601: error: Public symbol style
/Widget.TextSelectHandle declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1476: error: Public symbol style
/Widget.TextView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1574: error: Public symbol style
/Widget.TextView.ListSeparator declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1575: error: Public symbol style
/Widget.TextView.ListSeparator.White declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1483: error: Public symbol style
/Widget.TextView.PopupMenu declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1484: error: Public symbol style
/Widget.TextView.SpinnerItem declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1578: error: Public symbol style
/Widget.WebTextView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1493: error: Public symbol style
/Widget.WebView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1548: error: Public symbol style
/WindowTitle declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1547: error: Public symbol style
/WindowTitleBackground declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1600: error: Public symbol style
/ZoomControls declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Dell\AppData\Local\Temp\AP
KTOOL7393084631806389162.tmp, -x, -S, C:\ADT\Themeing\framework\res, -M, C:\ADT\
Themeing\framework\AndroidManifest.xml]
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
        at brut.androlib.Androlib.buildResources(Androlib.java:248)
        at brut.androlib.Androlib.build(Androlib.java:171)
        at brut.androlib.Androlib.build(Androlib.java:154)
        at brut.apktool.Main.cmdBuild(Main.java:182)
        at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Dell\AppData\Local\Temp\APKTOOL7393084631806389162.tmp, -x, -S, C:\ADT\Them
eing\framework\res, -M, C:\ADT\Themeing\framework\AndroidManifest.xml]
        at brut.util.OS.exec(OS.java:83)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
        ... 6 more
Is anything required to change in public.xml.:confused:
 

devilsking

Inactive Recognized Themer
Sep 14, 2010
1,087
1,008
0
Hanoi
www.themythace.com
I tried porting it on my galaxy sl i9003 using ur guide. While recompiling apk i get an error related to values>>public.xml. It is as below.
Code:
/MediaButton.Rew declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1591: error: Public symbol style
/Preference declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1593: error: Public symbol style
/Preference.Category declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1594: error: Public symbol style
/Preference.CheckBoxPreference declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1596: error: Public symbol style
/Preference.DialogPreference declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1598: error: Public symbol style
/Preference.DialogPreference.EditTextPreference declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1597: error: Public symbol style
/Preference.DialogPreference.YesNoPreference declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1592: error: Public symbol style
/Preference.Information declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1595: error: Public symbol style
/Preference.PreferenceScreen declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1599: error: Public symbol style
/Preference.RingtonePreference declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1604: error: Public symbol style
/PreviewWallpaperSettings declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1504: error: Public symbol style
/TextAppearance declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1507: error: Public symbol style
/TextAppearance.DialogWindowTitle declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1505: error: Public symbol style
/TextAppearance.Inverse declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1508: error: Public symbol style
/TextAppearance.Large declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1509: error: Public symbol style
/TextAppearance.Large.Inverse declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1510: error: Public symbol style
/TextAppearance.Medium declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1511: error: Public symbol style
/TextAppearance.Medium.Inverse declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1590: error: Public symbol style
/TextAppearance.SearchResult declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1542: error: Public symbol style
/TextAppearance.SearchResult.Subtitle declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1541: error: Public symbol style
/TextAppearance.SearchResult.Title declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1589: error: Public symbol style
/TextAppearance.SlidingTabActive declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1588: error: Public symbol style
/TextAppearance.SlidingTabNormal declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1512: error: Public symbol style
/TextAppearance.Small declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1513: error: Public symbol style
/TextAppearance.Small.Inverse declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1566: error: Public symbol style
/TextAppearance.StatusBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1545: error: Public symbol style
/TextAppearance.StatusBar.EventContent declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1546: error: Public symbol style
/TextAppearance.StatusBar.EventContent.Title declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1544: error: Public symbol style
/TextAppearance.StatusBar.Icon declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1567: error: Public symbol style
/TextAppearance.StatusBar.Ticker declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1543: error: Public symbol style
/TextAppearance.StatusBar.Title declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1506: error: Public symbol style
/TextAppearance.Theme declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1514: error: Public symbol style
/TextAppearance.Theme.Dialog declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1587: error: Public symbol style
/TextAppearance.Theme.Dialog.AppError declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1515: error: Public symbol style
/TextAppearance.Widget declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1516: error: Public symbol style
/TextAppearance.Widget.Button declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1522: error: Public symbol style
/TextAppearance.Widget.DropDownHint declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1523: error: Public symbol style
/TextAppearance.Widget.DropDownItem declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1518: error: Public symbol style
/TextAppearance.Widget.EditText declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1517: error: Public symbol style
/TextAppearance.Widget.IconMenu.Item declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1519: error: Public symbol style
/TextAppearance.Widget.TabWidget declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1520: error: Public symbol style
/TextAppearance.Widget.TextView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1521: error: Public symbol style
/TextAppearance.Widget.TextView.PopupMenu declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1524: error: Public symbol style
/TextAppearance.Widget.TextView.SpinnerItem declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1525: error: Public symbol style
/TextAppearance.WindowTitle declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1447: error: Public symbol style
/Theme declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1450: error: Public symbol style
/Theme.Black declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1451: error: Public symbol style
/Theme.Black.NoTitleBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1452: error: Public symbol style
/Theme.Black.NoTitleBar.Fullscreen declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1453: error: Public symbol style
/Theme.Dialog declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1605: error: Public symbol style
/Theme.Dialog.Alert declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1610: error: Public symbol style
/Theme.Dialog.AppError declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1611: error: Public symbol style
/Theme.Dialog.RecentApplications declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1613: error: Public symbol style
/Theme.Dialog.WebSelect declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1609: error: Public symbol style
/Theme.ExpandedMenu declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1607: error: Public symbol style
/Theme.GlobalSearchBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1608: error: Public symbol style
/Theme.IconMenu declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1526: error: Public symbol style
/Theme.InputMethod declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1454: error: Public symbol style
/Theme.Light declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1455: error: Public symbol style
/Theme.Light.NoTitleBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1456: error: Public symbol style
/Theme.Light.NoTitleBar.Fullscreen declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1532: error: Public symbol style
/Theme.Light.Panel declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1540: error: Public symbol style
/Theme.Light.WallpaperSettings declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1527: error: Public symbol style
/Theme.NoDisplay declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1448: error: Public symbol style
/Theme.NoTitleBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1449: error: Public symbol style
/Theme.NoTitleBar.Fullscreen declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1531: error: Public symbol style
/Theme.Panel declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1606: error: Public symbol style
/Theme.SearchBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1612: error: Public symbol style
/Theme.Toast declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1457: error: Public symbol style
/Theme.Translucent declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1458: error: Public symbol style
/Theme.Translucent.NoTitleBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1459: error: Public symbol style
/Theme.Translucent.NoTitleBar.Fullscreen declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1536: error: Public symbol style
/Theme.Wallpaper declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1537: error: Public symbol style
/Theme.Wallpaper.NoTitleBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1538: error: Public symbol style
/Theme.Wallpaper.NoTitleBar.Fullscreen declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1539: error: Public symbol style
/Theme.WallpaperSettings declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1460: error: Public symbol style
/Widget declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1461: error: Public symbol style
/Widget.AbsListView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1481: error: Public symbol style
/Widget.AutoCompleteTextView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1462: error: Public symbol style
/Widget.Button declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1463: error: Public symbol style
/Widget.Button.Inset declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1464: error: Public symbol style
/Widget.Button.Small declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1465: error: Public symbol style
/Widget.Button.Toggle declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1570: error: Public symbol style
/Widget.Button.Transparent declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1466: error: Public symbol style
/Widget.CompoundButton declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1467: error: Public symbol style
/Widget.CompoundButton.CheckBox declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1468: error: Public symbol style
/Widget.CompoundButton.RadioButton declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1469: error: Public symbol style
/Widget.CompoundButton.Star declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1485: error: Public symbol style
/Widget.DropDownItem declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1486: error: Public symbol style
/Widget.DropDownItem.Spinner declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1477: error: Public symbol style
/Widget.EditText declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1478: error: Public symbol style
/Widget.ExpandableListView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1576: error: Public symbol style
/Widget.ExpandableListView.White declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1495: error: Public symbol style
/Widget.Gallery declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1568: error: Public symbol style
/Widget.GestureOverlayView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1569: error: Public symbol style
/Widget.GestureOverlayView.White declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1492: error: Public symbol style
/Widget.GridView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1577: error: Public symbol style
/Widget.HorizontalScrollView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1480: error: Public symbol style
/Widget.ImageButton declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1479: error: Public symbol style
/Widget.ImageWell declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1529: error: Public symbol style
/Widget.KeyboardView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1488: error: Public symbol style
/Widget.ListView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1490: error: Public symbol style
/Widget.ListView.DropDown declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1491: error: Public symbol style
/Widget.ListView.Menu declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1489: error: Public symbol style
/Widget.ListView.White declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1496: error: Public symbol style
/Widget.PopupWindow declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1470: error: Public symbol style
/Widget.ProgressBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1473: error: Public symbol style
/Widget.ProgressBar.Horizontal declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1533: error: Public symbol style
/Widget.ProgressBar.Inverse declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1471: error: Public symbol style
/Widget.ProgressBar.Large declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1534: error: Public symbol style
/Widget.ProgressBar.Large.Inverse declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1472: error: Public symbol style
/Widget.ProgressBar.Small declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1535: error: Public symbol style
/Widget.ProgressBar.Small.Inverse declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1571: error: Public symbol style
/Widget.ProgressBar.Small.Title declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1579: error: Public symbol style
/Widget.QuickContactBadge declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1583: error: Public symbol style
/Widget.QuickContactBadge.WindowLarge declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1582: error: Public symbol style
/Widget.QuickContactBadge.WindowMedium declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1581: error: Public symbol style
/Widget.QuickContactBadge.WindowSmall declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1580: error: Public symbol style
/Widget.QuickContactBadgeSmall declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1586: error: Public symbol style
/Widget.QuickContactBadgeSmall.WindowLarge declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1585: error: Public symbol style
/Widget.QuickContactBadgeSmall.WindowMedium declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1584: error: Public symbol style
/Widget.QuickContactBadgeSmall.WindowSmall declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1475: error: Public symbol style
/Widget.RatingBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1572: error: Public symbol style
/Widget.RatingBar.Indicator declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1573: error: Public symbol style
/Widget.RatingBar.Small declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1487: error: Public symbol style
/Widget.ScrollView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1474: error: Public symbol style
/Widget.SeekBar declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1482: error: Public symbol style
/Widget.Spinner declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1494: error: Public symbol style
/Widget.TabWidget declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1601: error: Public symbol style
/Widget.TextSelectHandle declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1476: error: Public symbol style
/Widget.TextView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1574: error: Public symbol style
/Widget.TextView.ListSeparator declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1575: error: Public symbol style
/Widget.TextView.ListSeparator.White declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1483: error: Public symbol style
/Widget.TextView.PopupMenu declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1484: error: Public symbol style
/Widget.TextView.SpinnerItem declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1578: error: Public symbol style
/Widget.WebTextView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1493: error: Public symbol style
/Widget.WebView declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1548: error: Public symbol style
/WindowTitle declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1547: error: Public symbol style
/WindowTitleBackground declared here is not defined.
C:\ADT\Themeing\framework\res\values\public.xml:1600: error: Public symbol style
/ZoomControls declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Dell\AppData\Local\Temp\AP
KTOOL7393084631806389162.tmp, -x, -S, C:\ADT\Themeing\framework\res, -M, C:\ADT\
Themeing\framework\AndroidManifest.xml]
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
        at brut.androlib.Androlib.buildResources(Androlib.java:248)
        at brut.androlib.Androlib.build(Androlib.java:171)
        at brut.androlib.Androlib.build(Androlib.java:154)
        at brut.apktool.Main.cmdBuild(Main.java:182)
        at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Dell\AppData\Local\Temp\APKTOOL7393084631806389162.tmp, -x, -S, C:\ADT\Them
eing\framework\res, -M, C:\ADT\Themeing\framework\AndroidManifest.xml]
        at brut.util.OS.exec(OS.java:83)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
        ... 6 more
Is anything required to change in public.xml.:confused:
Put files in /drawable and it will auto-generate ids
 
  • Like
Reactions: toxic77

Codename13

Senior Member
Jun 22, 2012
935
1,304
0
How to port that on/off slider which appears instead of check box???
Download the file in this post, and decompile your own framework-res.apk. Put the .pngs under res/drawable-mdpi (or drawable-ldpi, whichever your have). You may have to delete the checkbox pngs with the same names before you do so.
 
Last edited: