Created
June 4, 2019 18:59
-
-
Save AlexPrestonSB/145b59c8c57be9c05479050d129a7750 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"?> | |
<android.support.constraint.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_message_body" | |
android:text="hello, hello!" | |
android:background="@drawable/rounded_rectangle_blue" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:maxWidth="272dp" | |
android:paddingLeft="12dp" | |
android:paddingRight="12dp" | |
android:paddingTop="6dp" | |
android:paddingBottom="6dp" | |
android:textSize="16sp" | |
android:textColor="#ffffff" | |
android:layout_marginRight="8dp" | |
app:layout_constraintRight_toRightOf="parent" | |
app:layout_constraintTop_toTopOf="parent" /> | |
<TextView | |
android:id="@+id/text_message_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_message_body" | |
app:layout_constraintRight_toLeftOf="@+id/text_message_body" /> | |
</android.support.constraint.ConstraintLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment