Droppers / AnimatedBottomBar

A customizable and easy to use BottomBar navigation view with sleek animations, with support for ViewPager, ViewPager2, NavController, and badges.
MIT License
1.37k stars 109 forks source link

Add more properties for controlling text rendering behaviour #55

Open pelmenstar1 opened 2 years ago

pelmenstar1 commented 2 years ago

Adds textGravity, textMaxLines, textBreakStrategy, textHyphenationFrequency properties. These can be useful when a text should be on two and more lines.

Maybe View.setTextAlignment method should be used instead of TextView.setGravity, but setTextAlignment is supported only from API level 17 and I don't know what is better to do when device API level is 16.

Fixes #51