1
0
mirror of https://github.com/ultrasonic/ultrasonic synced 2024-12-12 08:46:51 +01:00
ultrasonic-app-subsonic-and.../res/layout/chat_item.xml

48 lines
1.5 KiB
XML
Raw Normal View History

2013-05-22 07:47:40 +02:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
a:layout_width="fill_parent"
a:layout_height="wrap_content"
a:orientation="vertical" >
<TextView
a:id="@+id/chat_username"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:layout_marginLeft="6dip"
a:layout_marginRight="6dip"
a:ellipsize="marquee"
a:singleLine="true"
a:text="User"
a:textAppearance="?android:attr/textAppearanceMedium"
a:textStyle="bold" />
<LinearLayout
a:id="@+id/chat_message_layout"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:layout_marginTop="2dip"
a:orientation="horizontal" >
<TextView
a:id="@+id/chat_time"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:layout_marginLeft="6dip"
a:singleLine="true"
a:text="00:00"
a:textAppearance="?android:attr/textAppearanceMedium" />
<TextView
a:id="@+id/chat_message"
a:layout_width="wrap_content"
a:layout_height="wrap_content"
a:layout_marginLeft="6dip"
a:layout_marginRight="6dip"
a:autoLink="all"
a:linksClickable="true"
a:singleLine="false"
a:text="Message Text Goes Here"
a:textAppearance="?android:attr/textAppearanceMedium" />
</LinearLayout>
</LinearLayout>