That's a great tip, I hadn't know about that.  But, I'm trying to make
it so that the default list selector will be changeable, at the app
layer.

On Sep 22, 9:31 pm, "Mark Murphy" <[email protected]> wrote:
> > Can a core class such as "AbsListView" access resources, such as xml
> > files, and .png's, in a 3rd party app installed in the normal way (at
> > the app level)?
>
> > I realize this is a change in framework code, and that is fine for my
> > purposes.  So, for example, if I know that I am going to install an
> > app called "MyApp", could I go into frameworks/base/core/java/android/
> > widget/AbsListView.java and tell it to use an xml file and .png's that
> > live in that app?  Here is the line I would want to modify:
>
> > setSelector(getResources().getDrawable(
>
> > com.android.internal.R.drawable.list_selector_background));
>
> Why not just use android:listSelector to provide the selector?
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> Android App Developer Books:http://commonsware.com/books.html
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to