ConstraintLayout
is not part of AppCompat. It’s a standalone library.
Add the dependency in your build.gradle
file
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
and click Sync now
.
Related Contents:
- ConstraintLayout max width percentage
- How to center the elements in ConstraintLayout
- Differences between ConstraintLayout and RelativeLayout
- Evenly spacing views using ConstraintLayout
- ConstraintLayout: change constraints programmatically
- Android – how to make a scrollable constraintlayout?
- Wrap_content view inside a ConstraintLayout stretches outside the screen
- Nested Recycler view height doesn’t wrap its content
- Preview layout with merge root tag in Intellij IDEA/Android Studio
- Is it possible to put a ConstraintLayout inside a ScrollView?
- Android ConstraintLayout – Put one view on top of another view
- Gradle Sync failed could not find constraint-layout:1.0.0-alpha2
- The following classes could not be found: android.support.v7.internal.app.WindowDecorActionBar
- ConstraintLayout aspect ratio
- How to position below the lowest of two views in ConstraintLayout?
- Android Studio: Newly Created Directory Not Appearing In Folders View
- Android Studio does not show layout preview
- Unknown attribute android:layout_width, layout_height, id, gravity, layout_gravity, padding
- How to include constraint layout to another constraint layout and set constraint between each
- How to center multiple Views together using ConstraintLayout?
- Android Studio (Dolphin | 2021.3.1) & (Electric Eel | 2022.1.1) does not show layout preview
- Placeholder text (design process only) in Android layout?
- How to add different weight to ConstraintLayout views
- Android DataBinding Custom Binding Adapter Warning
- Removing/Adding constraint programmatically in ConstraintLayout
- ConstraintLayout, when constraint dependent view is gone, the layout view behave weirdly
- No “Docked Mode” option in “Preview” settings in Android Studio once undocked
- Failed to find style ‘coordinatorLayoutStyle’ in current theme
- error: cannot find symbol variable abc_ic_ab_back_mtrl_am_alpha
- Resources$NotFoundException: File res/drawable/abc_ic_ab_back_material.xml
- What is the role of content_main.xml in android studio 1.4?
- Why Android Studio is slowing down when editing xml file or changing the design?
- ConstraintLayout Chains and Text Ellipsis + Image on the Right
- Android add other layout in ConstraintLayout using include tag
- How to specify list item count in preview of recyclerview in Android Studio?
- Group views in ConstraintLayout to treat them as a single view
- ViewPager preview layout in Android Studio
- Scrollview inside constraint layout does not scroll to the bottom of the parent constraint
- How to group multiple views in a ConstraintLayout
- How can I get the latest version of ConstraintLayout for Android?
- Newer versions of Android Studio add only two drawable directories – drawable and drawable-v21
- How to switch from the default ConstraintLayout to RelativeLayout in Android Studio
- Using with in ConstraintLayout
- ConstraintLayout views in top left corner
- Android Studio Google Map V2 fragment rendering
- Android Studio 2.2 Preview all screen sizes missing
- How to make Constraint Layout Guideline in center
- How to set a maximum width for a view in an android constraintLayout?
- Drag/Drop feature in Android studio not working
- Android Studio (not installed) , when run flutter doctor while Android Studio installed on machine