14 lines
2.6 KiB
XML
14 lines
2.6 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<RelativeLayout android:orientation="vertical" android:background="@drawable/drawable_bg_settings_item" android:paddingLeft="10.0dip" android:paddingRight="10.0dip" android:layout_width="fill_parent" android:layout_height="36.0dip"
|
||
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fresco="http://schemas.android.com/apk/res-auto">
|
||
|
<RelativeLayout android:id="@id/chat_input_item_avatar_wrap" android:layout_width="20.0dip" android:layout_height="20.0dip" android:layout_marginTop="1.25dip" android:layout_centerVertical="true">
|
||
|
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_input_item_avatar" style="@style/Avatar.Small" />
|
||
|
<RelativeLayout android:layout_width="8.0dip" android:layout_height="8.0dip" android:layout_alignParentRight="true" android:layout_alignParentBottom="true">
|
||
|
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_input_item_presence_canvas" android:layout_width="fill_parent" android:layout_height="fill_parent" fresco:placeholderImage="@color/theme_white" fresco:roundAsCircle="true" />
|
||
|
<com.facebook.drawee.view.SimpleDraweeView android:id="@id/chat_input_item_presence" android:layout_width="6.0dip" android:layout_height="6.0dip" android:layout_centerInParent="true" fresco:placeholderImage="@color/theme_status_grey" fresco:roundAsCircle="true" />
|
||
|
</RelativeLayout>
|
||
|
<TextView android:textSize="12.0sp" android:textColor="@color/theme_black" android:gravity="center" android:id="@id/chat_input_item_emoji" android:layout_width="fill_parent" android:layout_height="fill_parent" fontPath="@string/font_whitney_medium" />
|
||
|
</RelativeLayout>
|
||
|
<TextView android:textSize="12.0sp" android:textColor="@color/theme_status_grey" android:ellipsize="end" android:gravity="center_vertical" android:id="@id/chat_input_item_name" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="10.0dip" android:singleLine="true" android:layout_toLeftOf="@id/chat_input_item_name_right" android:layout_toRightOf="@id/chat_input_item_avatar_wrap" fontPath="@string/font_whitney_medium" />
|
||
|
<TextView android:textSize="12.0sp" android:textColor="@color/theme_status_grey" android:ellipsize="end" android:gravity="center" android:id="@id/chat_input_item_name_right" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="10.0dip" android:maxWidth="200.0dip" android:singleLine="true" android:layout_alignParentRight="true" fontPath="@string/font_whitney_medium" />
|
||
|
</RelativeLayout>
|