Created
February 7, 2021 21:59
-
-
Save bumie-e/f5fee613869d8cea5d3dd99fe492203a 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" | |
android:paddingTop="8dp"> | |
<TextView | |
android:id="@+id/text_messagesender_body" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="0dp" | |
android:layout_marginRight="12dp" | |
android:background="@drawable/greenrectangle" | |
android:maxWidth="240dp" | |
android:padding="8dp" | |
android:text="hello, hello!" | |
android:textColor="#ffffff" | |
app:layout_constraintRight_toRightOf="parent" | |
app:layout_constraintTop_toTopOf="parent" /> | |
<TextView | |
android:id="@+id/text_messagesender_time" | |
android:text="11:40" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:textSize="10sp" | |
android:layout_marginRight="4dp" | |
app:layout_constraintBottom_toBottomOf="@+id/text_messagesender_body" | |
app:layout_constraintRight_toLeftOf="@+id/text_messagesender_body"/> | |
</androidx.constraintlayout.widget.ConstraintLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment