Created
January 5, 2018 21:03
-
-
Save alkjez/83d022aee7f967285ed0cb295c2c23f0 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_green" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:maxWidth="240dp" | |
android:padding="8dp" | |
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