grandstaish
03/04/2021, 5:53 PMFontFamily , FontWeight, and FontStyle into a platform Typeface? It looks like TypefaceAdapter is what I want but it’s internalColton Idle
03/05/2021, 1:56 AMval MyTypography = Typography(
h1 = TextStyle(
fontFamily = Rubik,
fontWeight = FontWeight.W300,
fontSize = 96.sp
),
which sounds like what you want?grandstaish
03/05/2021, 12:55 PMTextStyle to a view-based TextView component. The only tricky part really was applying the right Typeface. In the end I nope’d out of that plan and did a more limited solution instead lolColton Idle
03/05/2021, 2:48 PM