Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are you want to support diffrent textcolor between positive button and negative button? #140

Open
leafseelight opened this issue Apr 25, 2017 · 1 comment

Comments

@leafseelight
Copy link

Sometimes, positive button need to be brought to the forefront with light color as red color( mean "waring“ ).

http://7xqjy9.com1.z0.glb.clouddn.com/QQ%E5%9B%BE%E7%89%8720170425140553.jpg

@greatflag
Copy link

sdl_styles.xml:
add

<style name="SDL.Button.Negative" parent="@style/SDL.Button">
        <item name="android:textColor">#706f6f</item>
</style>

sdl_dialog.xml
change

<Button
        android:id="@+id/sdl_button_negative"
        style="@style/SDL.Button"
        tools:text="Negative" />

to

<Button
        android:id="@+id/sdl_button_negative"
        style="@style/SDL.Button.Negative"
        tools:text="Negative" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants