To:Android Develpoers From:JYP Subject:[android-developers] Who is checking the state of Activity or Objects(like buttons) ================================================================
Happy new year, everyone~!!!!!!!!! I ask once more this issue. Who is checking the state of Activity or Object(like buttons). (I'm not sure that is correct or not.) As you know, the selector of Drawable can change images depending on the states. Referring this.......... <?xml version="1.0" encoding="utf-8"?> <selector <http://developer.android.com/guide/topics/resources/drawable-resource.html#selector-element> xmlns:android="http://schemas.android.com/apk/res/android" android:constantSize=["true" | "false"] android:dither=["true" | "false"] android:variablePadding=["true" | "false"] > <item <http://developer.android.com/guide/topics/resources/drawable-resource.html#item-element> android:drawable="@[package:]drawable/*drawable_resource*" android:state_pressed=["true" | "false"] android:state_focused=["true" | "false"] android:state_selected=["true" | "false"] android:state_checkable=["true" | "false"] android:state_checked=["true" | "false"] android:state_enabled=["true" | "false"] android:state_window_focused=["true" | "false"] /> </selector> So, I want to know who is checking the state. Android OS? Applications? Or do I have to check the framework? What's your opinion? Thank you for reading.... With kind regards, Yours... -- 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

