Created
June 28, 2019 08:18
-
-
Save cuber5566/9d4602568327658afee862dac50c302a to your computer and use it in GitHub Desktop.
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" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"> | |
<androidx.appcompat.widget.AppCompatTextView | |
android:id="@+id/textMyTime" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
app:layout_constraintBottom_toBottomOf="@+id/textMyMessage" | |
app:layout_constraintEnd_toStartOf="@+id/textMyMessage" | |
app:layout_constraintHorizontal_bias="1.0" | |
app:layout_constraintHorizontal_chainStyle="packed" | |
app:layout_constraintStart_toStartOf="parent" | |
tools:text="12:34" /> | |
<androidx.appcompat.widget.AppCompatTextView | |
android:id="@+id/textMyMessage" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="8dp" | |
android:layout_marginBottom="8dp" | |
android:padding="12dp" | |
android:textColor="@color/white" | |
app:layout_constrainedWidth="true" | |
android:background="#00ff00" | |
app:layout_constraintBottom_toBottomOf="parent" | |
app:layout_constraintEnd_toEndOf="parent" | |
android:gravity="end" | |
app:layout_constraintHorizontal_bias="0.5" | |
app:layout_constraintStart_toEndOf="@+id/textMyTime" | |
app:layout_constraintTop_toTopOf="parent" | |
tools:text="hello world hello world hello world hello world hello world hello world " /> | |
</androidx.constraintlayout.widget.ConstraintLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment