Created
June 1, 2020 08:36
-
-
Save pdog18/a3acd99fd3dbd43ba61d2281ef8b2094 to your computer and use it in GitHub Desktop.
double textview
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<androidx.constraintlayout.widget.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"> | |
<androidx.appcompat.widget.AppCompatTextView | |
android:id="@+id/textView1" | |
android:layout_width="wrap_content" | |
android:layout_height="20dp" | |
android:background="@color/colorPrimary" | |
android:ellipsize="end" | |
android:maxLines="1" | |
android:text="ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ" | |
app:layout_constrainedWidth="true" | |
app:layout_constraintEnd_toStartOf="@id/textView2" | |
app:layout_constraintHorizontal_bias="0" | |
app:layout_constraintHorizontal_chainStyle="packed" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toTopOf="parent" /> | |
<androidx.appcompat.widget.AppCompatTextView | |
android:id="@+id/textView2" | |
android:layout_width="wrap_content" | |
android:layout_height="20dp" | |
android:background="@color/colorAccent" | |
android:text="zzzzzzz" | |
app:layout_constrainedWidth="true" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintStart_toEndOf="@id/textView1" | |
app:layout_constraintTop_toTopOf="parent" /> | |
</androidx.constraintlayout.widget.ConstraintLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment