I have clarifying questions, but I can not ask them because of the low speed. So:
1. Does your first style work correctly?
2.Are you sure that the @android: style / Theme.Holo.Light.Dialog theme has all the elements you specified in TimePickerDialogFragmentGreen? For instance:
<item name="android:tabWidgetStyle"> @style/TabWidgetGreenTheme</item>
3. Have you tried the idea suggested by Luksprog
And finally: I used something like this to create my own style for my EditTexts:
<style name="EditTextStyle" parent="@style/Indents"> <item name="android:textColor">@android:color/black</item> <item name="android:background">@android:color/white</item> <item name="android:textColorHint">@android:color/darker_gray</item> <item name="android:textSize">14sp</item> </style> <style name="Indents" parent="@style/Margins"> <item name="android:paddingBottom">@dimen/activity_vertical_padding</item> <item name="android:paddingTop">@dimen/activity_vertical_padding</item> </style> <style name="Margins"> <item name="android:layout_marginTop">@dimen/activity_vertical_margin </item> <item name="android:layout_marginBottom">@dimen/activity_vertical_margin </item> <item name="android:layout_marginLeft">@dimen/activity_horizontal_margin </item> <item name="android:layout_marginRight">@dimen/activity_horizontal_margin </item> </style>
source share