google-developer-training / android-fundamentals-apps-v2

Other
649 stars 2.63k forks source link

Android Java Fundamentals codelab: #267

Closed VolkRiot closed 1 year ago

VolkRiot commented 3 years ago

Describe the problem

In Android fundamentals w/ Java lesson 2.3 implicit intents, there is an error in the final code sample on Step 3.

In the second EditText, from the top, for the Open Location intent example the android:text attribute is currently set to the @string/edittext_uri which is the string resource for the first EditText for opening a URL.

It seems that instead, it should be the @string/edittext_loc resource added to the strings.xml as the second EditText is presented with that string in the demo image for the app, and it aligns with the functionality to demonstrate location intent.

In which lesson and step of the codelab can this issue be found? Lesson 2.3, Step 3.

How to reproduce? Look at the code sample for the layout at the bottom of Lesson 2.3, Step 3.

codelab: android-fundamentals