google-developer-training / first-android-app

Repository for Build Your First Android App codelabs (Java and Kotlin)
7 stars 6 forks source link

First Android app codelab: #216

Open Gkozman opened 2 years ago

Gkozman commented 2 years ago

at step 7 (changing the button background color): can't do that as it is tied to the app theme somehow and i can't figure out how to change it

at step 8 (make your app interactive): i hit a brick wall, i don't understand where exactly i'm supposed to write the code in "FirstFragment.kt", also copy pasting the code doesn't work wherever i put it, is it different in recent android studio versions?

jeanpeng1103 commented 2 years ago

i also want to know. "In the FirstFragment class, add the method countMe() that takes a single View argument. This method will be invoked when the Count button is clicked and the click listener called." Does this mean that whole method should be added under public void onClick(View view) { countMe(view); } or where should I add it. Bc when i added this there and compile it said Failed to compile values file.