Styling text in Compose

Subscribers:
1,350,000
Published on ● Video Link: https://www.youtube.com/watch?v=_qls2CEAbxI



Duration: 9:53
11,241 views
335


Text styling can give your app character. In this talk, we use Jetchat to learn how to use Material APIs to configure typography, including using downloadable fonts and variable fonts. We’ll then customize our chat bubble so it collapses depending on how long the message is. We’ll end by styling the message box: giving it a gradient border, a cursor that changes color as you type, and a fully custom decorated box.

Chapters:
00:00 - Intro
00:43 - Text Typography block and Text parameters
02:00 - Material implementation
03:09 - onTextLayout() API
04:10 - Downloadable fonts
05:19 - Variable Fonts
06:07 - AnnotatedString
06:48 - Styling TextField
07:46 - Styling BasicTextField
09:08 - Outro

Resources:
Text in Compose → https://goo.gle/compose-text
Compose samples → https://goo.gle/compose-jetchat

Speaker: Alejandra Stamato

Watch more:
Watch all the Android Dev Summit sessions → https://goo.gle/ADS-All
Watch all the Modern Android Development track sessions → https://goo.gle/ADS-MAD

Subscribe to Android Developers → https://goo.gle/AndroidDevs

#Featured #AndroidDevSummit #Compose







Tags:
text styling
Jetchat
Material APIs
configure typography
downloadable fonts
variable fonts
customizing chat bubble
custom decorated text box
Android Dev Summit
Android Developers Summit
Android Dev Summit 2022
ADS
ADS 22
ADS ‘22
ADS 2022
Developers Summit
Dev Summit
Android developer
android developers
android dev
android devs
android announcements
android announcement
app developer
developer
application developer