skip to Main Content

ConstraintLayout – avoid overlapping – Photoshop

There is a ConstraintLayout layout: <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent"> <Button android:id="@+id/button10" android:layout_width="wrap_content" android:layout_height="wrap_content" android:ellipsize="end" android:singleLine="true" android:text="small text" app:layout_constraintLeft_toLeftOf="parent"/> <Button android:ellipsize="end" android:singleLine="true" android:id="@+id/button11" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="small text" app:layout_constraintRight_toRightOf="parent"/> </android.support.constraint.ConstraintLayout> It is displayed like this: Now is Ok, but if i…

VIEW QUESTION
Back To Top
Search