Skip to content

Instantly share code, notes, and snippets.

@cuber5566
Last active August 29, 2015 14:21
Show Gist options
  • Save cuber5566/2bba51a3b9601cddb1d1 to your computer and use it in GitHub Desktop.
Save cuber5566/2bba51a3b9601cddb1d1 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="@dimen/default_padding"
>
<com.cuber.ezpay.views.CircleImageView
android:id="@+id/item_single_chat_left_img"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_gravity="bottom"
android:layout_marginRight="@dimen/default_padding"
android:src="@drawable/ic_launcher"/>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:id="@+id/item_single_chat_left_message"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/ic_dialog_01"
android:paddingBottom="8dp"
android:paddingLeft="16dp"
android:paddingRight="8dp"
android:paddingTop="8dp"
android:text="Hi~Hi~Hi~Hi~Hi~Hi~Hi~Hi~Hi~Hi~Hi~Hi~"
android:textColor="@color/black_text"/>
<TextView
android:id="@+id/item_single_chat_left_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="@dimen/default_padding"
android:paddingRight="@dimen/default_padding"
android:text="3:21 PM"
android:textColor="@color/black_text"/>
</LinearLayout>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment