I have a username TextView
below which there is EditText
and the same for password.I need just the EditText
to be changed to Holo theme for respective devices.. I've tried setting parent in style.xml
as
parent="@android:style/Theme.Holo.
parent="@android:style/Widget.Holo.Light.EditText"
but of no use..Anyone has an answer??
Hi i got the answer. the cause was activity which calls this dialog had theme android:theme="@android:style/Theme.Translucent.NoTitleBar" in manifest ..i removed and added in oncreate and there comes holo for editText!!!!
android:theme="@android:style/Theme.Translucent.NoTitleBar"
for my dialog activity theme and resolved it by changing toandroid:theme="@Theme.Holo.Dialog.NoActionBar"
. – mbonnessAndroidManifest.xml
the styleandroid:theme="@android:style/Theme.NoTitleBar.Fullscreen"
withandroid:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen"
and Holo was back on my EditText. Please accept your answer as the right solution. Thx! – Dirk