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

Custom fonts/typefaces #73

Open
amzer opened this issue Mar 24, 2019 · 3 comments
Open

Custom fonts/typefaces #73

amzer opened this issue Mar 24, 2019 · 3 comments

Comments

@amzer
Copy link

amzer commented Mar 24, 2019

Is there a way to set custom font for dialog title and the buttons?
If so, please explain how to do it.

@martawoldanska
Copy link

@amzer We have forked the project and added styling option, you can find it here: https://github.com/PolideaInternal/ColorPicker

@gb18030
Copy link

gb18030 commented Oct 11, 2019

you can set on your styles.xml
<style name="DesignActivityTheme" parent="ActivityTheme"> <item name="buttonBarPositiveButtonStyle">@style/positiveBtnStyle</item> </style> <!--confirm button--> <style name="positiveBtnStyle" parent="Widget.AppCompat.Button.ButtonBar.AlertDialog"> <item name="android:textColor">@color/colorPrimary</item> </style>

and set on your AndridManifest.xml
<activity android:name=".business.qrcode.qrcode_design.QrcodeDesignActivity" android:theme="@style/DesignActivityTheme"/>

@floweri
Copy link

floweri commented Dec 12, 2020

you can set on your styles.xml
<style name="DesignActivityTheme" parent="ActivityTheme"> <item name="buttonBarPositiveButtonStyle">@style/positiveBtnStyle</item> </style> <!--confirm button--> <style name="positiveBtnStyle" parent="Widget.AppCompat.Button.ButtonBar.AlertDialog"> <item name="android:textColor">@color/colorPrimary</item> </style>

and set on your AndridManifest.xml
<activity android:name=".business.qrcode.qrcode_design.QrcodeDesignActivity" android:theme="@style/DesignActivityTheme"/>

thanks it works for select button, but how to change title text color?

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

4 participants