First try ConstraintLayout

First try ConstraintLayout - Hello Friend GENERAL INFO FOR ANDROID DEVELOPMENT, In the article you read this time with the title First try ConstraintLayout, We have prepared this article for you to read and retrieve information there in. Hopefully the contents of postings Artikel ConstraintLayout, We write this you can understand. Alright, good read.

The Title : First try ConstraintLayout
link : First try ConstraintLayout

Read also

First try ConstraintLayout

ConstraintLayout allows you to create large and complex layouts with a flat view hierarchy (no nested view groups). It's similar to RelativeLayout in that all views are layed out according to relationships between sibling views and the parent layout, but it's more flexible than RelativeLayout and easier to use with Android Studio's Layout Editor.

To use ConstraintLayout, make sure to install Support Repository of ConstraintLayout for Android and Solver for ConstraintLayout in Android SDK Manager:

Add dependency of ConstraintLayout library in your module-level build.gradle file:

dependencies {
compile ''

In the toolbar or sync notification, click Sync Project with Gradle Files.

We can convert an existing layout to a constraint layout in Android Studio's Layout Editor:
- Open your layout in Android Studio and click the Design tab at the bottom of the editor window.
- In the Component Tree window, right-click the layout and click Convert layout to ConstraintLayout.

After finished, the helloworld default layout converted to:

<?xml version="1.0" encoding="utf-8"?>
< xmlns:android=""

android:text="Hello World!"
app:layout_constraintTop_toTopOf="parent" />

This video show howto, step-by-step:

Build a Responsive UI with ConstraintLayout

Building interfaces with ConstraintLayout in Android Studio

Thus Article First try ConstraintLayout

The End Article First try ConstraintLayout This time, hopefully can give benefits to all of you. well, see you in posting other articles.

You are now reading the article First try ConstraintLayout with the link address

0 Response to "First try ConstraintLayout"

Post a Comment