Closed mr-const closed 11 years ago
I like it, just to verify: Are you sure it won't break the current way how to style dialog title? Will overriding SDL.TextView.Title still work?
It should work, the only thing changed - style of the title and message is 'by-reference' now, so it's became possible to override it.
Thanks!
in my theme file, I add <item name="sdlMessageTextStyle">@style/SDL.TextView.Message.Custom</item>
, but it doesn't work?
@jiqimaogou: Do you use current master?
There is (in android projects) a problem with override of themes in projects. You have to copy-paste <style name="SDL.Dialog" parent="android:Theme"> .... </style>
and change copied styles to yours.
This PR allows simpler way to customize title and message text by overriding theme properties. It also gives simple way to add title and message icon by using drawable[Left|Right...]
example: