Skip to content

Instantly share code, notes, and snippets.

@yishai-glide
Created September 14, 2014 19:47
Show Gist options
  • Save yishai-glide/3b18fa797520d1481854 to your computer and use it in GitHub Desktop.
Save yishai-glide/3b18fa797520d1481854 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="wrap_content"
android:layout_height="match_parent"
android:background="@drawable/my_nine_patch"
android:orientation="horizontal"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:weightSum="10" >
<TextView
android:id="@+id/txt_bubble"
android:layout_weight="2"
android:linksClickable="true"
android:textSize="@dimen/text_size_normal" />
<TextView
android:id="@+id/bubble_timestamp"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="8"
android:textColor="@color/gray_light"
android:textSize="@dimen/text_size_m_small" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment