Hi,
I try to use the ConstraintLayout and it works so far, as I expected. But I get a hint from Android Studio, that ConstraintLayout is deprecated.
In the SDK-Tools I can see that the version 1.0.2 is installed and this is also registered in the build.gradle-file:
This is the xml-file for the activity, where I get the failure:
What is wrong?
Kind regards,
Mark
I try to use the ConstraintLayout and it works so far, as I expected. But I get a hint from Android Studio, that ConstraintLayout is deprecated.
In the SDK-Tools I can see that the version 1.0.2 is installed and this is also registered in the build.gradle-file:
Code:
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
}
This is the xml-file for the activity, where I get the failure:
Code:
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
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="com.example.leichtabnehmen.Tagebuch">
</android.support.constraint.ConstraintLayout>
What is wrong?
Kind regards,
Mark