I'm making an animal pictorial book using the 4th edition of the first Android Studio.
I added a constraint in android studio so that the imageView is in the center of the screen, but I get a yellow error.
Android Studio version 3.3.1
kotlin
API 19 Android 4.4 (kitkat)
Thank you.
xml version = "1.0" encoding = "utf-8"?>
xmlns: app = "http://schemas.android.com/apk/res-auto" xmlns: tools = "http://schemas.android.com/tools"
android: layout_width = "match_parent"
android: layout_height = "match_parent"
tools: context = ". GiraffeFragment" android: id = "@ + id/frameLayout3">
android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
android: id = "@ + id/imageView4" app: layout_constraintTop_toTopOf = "parent"
android: layout_marginTop = "8dp" app: layout_constraintStart_toStartOf = "parent"
android: layout_marginStart = "8dp" app: layout_constraintBottom_toBottomOf = "parent"
android: layout_marginBottom = "8dp" app: layout_constraintEnd_toEndOf = "parent"
android: layout_marginEnd = "8dp" />
-
Answer # 1
Related articles
- android emulator - android studio refactoring preview method
- java - i want to fix an error in android studio
- about error in android studio xml file
- i get an error when i try to put opencv into android studio
- android studio - null-related error, the application crashes and cannot be resolved
- i get an error in android studio and can't run
- android studio - about error resolution of flutter package cover
- why the android studio emulator is moving too slowly
- java - error in android studio
- java - error when building android studio ml kit for firebase [plugin with id'comandroidapplication' not found]
- i get an error when building in android studio
- xamarin android emulator decryption error
- android studio emulator does not start
- visual studio android emulator does not start and a placement error occurs
- i got an unexpected error when i moved the files i had created to the latest version of android studio
- onclick - i am developing an application in android studio if you execute it, it will be forcibly terminated
- module name is not displayed in android studio
- java - i want to open a site with a fixed url when i tap the icon of the android studio app
- android studio - i want to write a program that switches images using viewpager2
- java - i want to reflect the data selected with android studio spinner in the textview
- android emulator - the image set in the emulator is not displayed
- android - about display of kotlin images
- android emulator - kotlin android studio dialog does not appear
- android emulator - google map cannot be displayed on android studio emulator
- android emulator - when developing flutter with android studio, the problem that the disk capacity of mac runs out
- java - i want to start a mail application such as gmail from my own application with the destination, subject and body filled (a
- xml - android studio "class never used"
- android emulator - build error in android studio
- how to search for a place name using android studio google map
When I tried referring to the following, I got an error.
Resource settings
In the string setting, literals are not recommended and should be set in the resource.
strings.xml (app_name should match your app_name)
1
2
3
Four