java - How to set App Theme programatically in Android? -


now going on app theme transparency have 1 class.

i have 2 button options if user click 1 button should load app theme , other 1 transparency should load.

so decided show transparency theme progrmatically set parent layout id in class , tried set theme there can't able set.

reffered many set no use if have idea please me friends.

you can try using settheme(..) before calling setcontentview(...) , super.oncreate()


Comments

Popular posts from this blog

c# - HttpResponseMessage System.InvalidOperationException -

sql - Postgresql error: "failed to find conversion function from unknown to text" -