douglasjunior / android-simple-tooltip

A simple library based on PopupWindow to create Tooltips on Android. 💚
MIT License
796 stars 192 forks source link

Text size change #17

Closed S1LL closed 8 years ago

S1LL commented 8 years ago

Hey, awesome library! Is there a way to change text size inside tooltip without using custom layout?

Thanks, have a nice day.

douglasjunior commented 8 years ago

Today, you can change the style attributes by creating a custom style named simpletooltip_default.

    <style name="simpletooltip_default" parent="@android:style/TextAppearance">
        <item name="android:textSize">50sp</item>
    </style>

This will override the https://github.com/douglasjunior/android-simple-tooltip/blob/master/library/src/main/res/values/styles.xml

🎉

S1LL commented 8 years ago

awesome, thanks

rakaadinugroho commented 5 years ago

just changed from Style <style name="simpletooltip_default" parent="@android:style/TextAppearance.Small" /> if you want to change to small text