codeslubber
02/28/2020, 12:28 AMdev05
today and cannot get MaterialTheme.typography().h3
(or any other style) to work. Reports a code generation error and says see the log? also, if you just type MaterialTheme.typ and choose the code completion suggestion, it drops in a crazy string that includes a package name?Leland Richardson [G]
02/28/2020, 1:46 AMtypography()
from a composable function as it itself is a composable function?codeslubber
02/28/2020, 1:51 AMLeland Richardson [G]
02/28/2020, 1:52 AMAdam Powell
02/28/2020, 2:29 AMcodeslubber
02/28/2020, 4:25 AMIan Warwick
02/28/2020, 9:31 AMcodeslubber
02/28/2020, 3:03 PMIan Warwick
02/28/2020, 3:05 PMcodeslubber
02/28/2020, 3:06 PMIan Warwick
02/28/2020, 3:07 PMText(text = "Hello", style = MaterialTheme.typography().h3)
codeslubber
02/28/2020, 3:08 PMIan Warwick
02/28/2020, 3:08 PMcodeslubber
02/28/2020, 3:10 PMIan Warwick
02/28/2020, 3:12 PMBuild
pane in AS?codeslubber
02/28/2020, 3:15 PM<http://java.io|java.io>.IOException: '/Users/robwilliams/Documents/workspaces/android/suntimerandroid/.idea/codeStyles' is not a directory in VFS
so for whatever reason I guess the directory it thought it setup for putting theme style info is not thereIan Warwick
02/28/2020, 3:16 PM.idea
folder 🤔codeslubber
02/28/2020, 3:17 PMIan Warwick
02/28/2020, 3:17 PMcodeslubber
02/28/2020, 3:17 PMAdam Powell
02/28/2020, 3:24 PMcodeslubber
02/28/2020, 3:27 PMAdam Powell
02/28/2020, 3:28 PMcodeslubber
02/28/2020, 3:30 PM// Text(text = timerState.value.currentStatus, style = TextStyle(fontSize = 36.sp))
Text(text = timerState.value.currentStatus, style = MaterialTheme.typography().h3)
Ian Warwick
02/28/2020, 3:35 PMLouis Pullen-Freilich [G]
02/28/2020, 3:46 PMcodeslubber
02/28/2020, 3:51 PMLouis Pullen-Freilich [G]
02/28/2020, 3:51 PMcodeslubber
02/28/2020, 3:53 PMLouis Pullen-Freilich [G]
02/28/2020, 4:02 PMcodeslubber
02/28/2020, 4:06 PMLouis Pullen-Freilich [G]
02/28/2020, 4:13 PMcodeslubber
02/28/2020, 4:13 PMKazemihabib1996
03/02/2020, 12:44 PMcode generation error
by adding
composeOptions {
kotlinCompilerVersion "1.3.61-dev-withExperimentalGoogleExtensions-20200129"
kotlinCompilerExtensionVersion "0.1.0-dev05"
}
in app build.gradlecodeslubber
03/02/2020, 3:55 PMKazemihabib1996
03/02/2020, 5:07 PM