1. Are you ready for the Galaxy S20? Here is everything we know so far!

brentc's Recent Activity

  1. brentc replied to the thread Java issue.

    Ok here is the correct code: if (txtEmail.getText().toString().indexOf('@' , 0) == -1) { showSnackbar("Test Invalid Email"); }

    Apr 11, 2022
  2. brentc replied to the thread Java issue.

    I do this: txtEmail = findViewById(R.id.txtEmail); and the value of txtEmail does not get transfered.. Why not?

    Apr 11, 2022
  3. brentc replied to the thread Java issue.

    The string is not getting transfered. Not the compilers ' fault.

    Apr 11, 2022
  4. brentc replied to the thread Java issue.

    If I do this: if ("Test@ String".indexOf("@" ) == -1) { showSnackbar("Invalid Email"); } showSnackbar() does not get executed....

    Apr 11, 2022
  5. brentc posted a new thread.

    Java issue

    The following Java code: if (txtEmail.toString().indexOf('@' , 0) == -1) { showSnackbar("Test Invalid Email"); } It executes...

    Forum: Android Development

    Apr 8, 2022
  6. brentc replied to the thread xml error in Android Studio.

    Ok I got it! The line.... android:centerHorizontal="true" was screwing it up. It should be android:layout_centerHorizontal="true"

    Feb 1, 2022
  7. brentc posted a new thread.

    xml error in Android Studio

    I have this code. I get an error at <ImageView....The error message is Resource Linking Failed...Why? <?xml version="1.0"...

    Forum: Android Development

    Feb 1, 2022
  8. brentc replied to the thread Cannot set Button background color in Android Studio.

    The XML is android:backgroundTint="#FF00FF"

    Jan 21, 2022
  9. brentc replied to the thread Android Studio emulator does not display updates.

    Ok, I found the solution. I simply created a new project with the same layout. What I did to cause the problem I don't know...

    Jan 18, 2022
  10. brentc posted a new thread.

    Android Studio emulator does not display updates

    I tried different virtual devices. It only displays a strip at the top with the current time but not my layout. Thanks anyone for your...

    Forum: Android Development

    Jan 17, 2022
  11. brentc replied to the thread Cannot set Button background color in Android Studio.

    I got the onClick to work. I didn't have the word android: to the left of onClick - silly me. But I still can't change the background...

    Jan 15, 2022
  12. brentc posted a new thread.

    Cannot set Button background color in Android Studio

    Can't change the button background and onClick to execute the Java code doesn't work

    Forum: Android Development

    Jan 15, 2022
  13. brentc replied to the thread Android Studio has strange error.

    Ok I have the solution: In the Android files tree on the left go to Gradle Scripts then to build.gradle (Module) and change compileSdk...

    Nov 29, 2021
  14. brentc posted a new thread.

    Android Studio has strange error

    When I start a new project and do a click to build the project I get this error: app:checkDebugAarMetaData issues found when checking...

    Forum: Android Development

    Nov 26, 2021