Styling text in Compose
33.2 هزار بار بازدید -
2 سال پیش
-
Text styling can give your
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
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
2 سال پیش
در تاریخ 1401/08/02 منتشر شده
است.
33,258
بـار بازدید شده