AnderWeb / android_packages_apps_Launcher

Android Launcher (almostNexus mod)
http://forum.xda-developers.com/showthread.php?t=645550
Other
323 stars 150 forks source link

Settings layout file #2

Closed hdlopes closed 14 years ago

hdlopes commented 14 years ago

Hi,

I think the file res/xml/launcher_settings.xml should be moved to res/layout/launcher_settings.xml. As I can see from other projects the xml directory contains other data used by the application.

I think only line 27 from the file src/com/android/launcher/MyLauncherSettings.java needs to be changed,

addPreferencesFromResource(R.xml.launcher_settings);

replacing .xml with .layout.

I'm not doing this myself because I can't build the code.

AnderWeb commented 14 years ago

Actually you could put the xml on any place you want... but on android API Demos (http://developer.android.com/intl/de/resources/samples/ApiDemos/res/xml/preferences.html) they store them inside "res/xml", so i did the same :)