Hi, I'm wondering whether there is a way to get the resource ID of an Theme object?
I tried the following: mContextWrapper.setTheme(com.android.internal.R.style.Theme); Theme theme = mContextWrapper.getTheme(); Log.d("ContextWrapperTest", "Resource ID: " + com.android.internal.R.style.Theme); Log.d("ContextWrapperTest", "Theme hash code: " + theme.hashCode()); But got: 05-19 08:48:29.314 D/ContextWrapperTest( 559): Resource ID: 16973829 05-19 08:48:29.314 D/ContextWrapperTest( 559): Theme hash code: 1129730008 The things I want to do here is trying to back up the original Theme before playing with several other themes. But after I get the original theme, I found there is no way to set back this theme. Do you have any ideas on this? Regards, Johnny -- we all have our crosses to bear --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---