Relative Content

Tag Archive for androidxmlandroid-studio

how can i do responsive layout android studio

how can do a responsive layout on android studio i tryed a lot of méthodes non of them had Works and layout does not work same as in the emulator and xml and the color does not show the same

Why my projects has suddenly stopped running after adding the Material design library?

After adding the implementation ‘com.google.android.material:material:1.13.0-alpha03’ dependency to include the material design library for a show password button in my EditText, the project successfully synced without any errors related to this change. However, now the project fails to load on any device or emulator.
Upon removing the implementation ‘com.google.android.material:material:1.13.0-alpha03’ dependency from the Gradle file and eliminating the TextInputLayout code from the activity_main file, the project runs successfully on all devices and emulators.
The following is my build.gradle file