Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[Q] How can I link my ListPreference to an actual piece of data in another apk

$
0
0
So, I have edited the CM9 Settings.apk AND SystemUI.apk. I added the following code
Code:

<ListPreference
        android:entries="@array/dutchgfx_entries"
        android:title="@string/dutchgfx_title"
        android:key="dutchgfx_****"
        android:summary="@string/dutchgfx_summary" 
        android:entryValues="@array/dutchgfx_entryvalues" />

to the system_settings.xml.
My list works and appears and I can select my options correctly. :D
But, I need to link this preference to @color/notification_item_background_color in SystemUI.apk, and I do not know even where to start. If any of you can give em any insight as to how to do this, i'de be very grateful. here is a screenshot of my menu (in case it helps at all)



Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>