2014-10-22 16:38:44 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-07-21 00:21:34 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingBottom="5dp"
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:paddingRight="8dp"
|
|
|
|
android:paddingTop="5dp">
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2016-02-04 13:39:16 +00:00
|
|
|
<Button
|
|
|
|
android:id="@+id/load_more_messages"
|
|
|
|
style="?android:attr/borderlessButtonStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/load_more_messages"
|
|
|
|
android:textColor="@color/accent" android:layout_centerVertical="true"
|
|
|
|
android:layout_centerHorizontal="true"/>
|
|
|
|
|
2015-07-21 00:21:34 +00:00
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
2014-10-22 16:38:44 +00:00
|
|
|
android:id="@+id/message_photo"
|
2015-07-19 20:34:47 +00:00
|
|
|
android:layout_width="32dp"
|
|
|
|
android:layout_height="32dp"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_marginRight="-1.5dp"
|
|
|
|
android:padding="0dp"
|
|
|
|
android:scaleType="fitXY"
|
2015-07-21 00:21:34 +00:00
|
|
|
android:src="@drawable/ic_profile"
|
|
|
|
app:riv_corner_radius="1dp"/>
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2015-01-18 12:44:18 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/status_message"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_toEndOf="@+id/message_photo"
|
|
|
|
android:layout_toRightOf="@+id/message_photo"
|
|
|
|
android:text="@string/contact_has_read_up_to_this_point"
|
Dark theme, theme switch, icons, style, strings
added some white icons,
changed hardcoded icons to theme attributes,
changed icon_edit_dark to icon_edit_body to reflect icons position,
grey message bubbles in dark theme,
misc
purged ic_action_chat as it wasn't used
preference use_white_background changed to use_green_background, default true
grey chat bubbles darker, text white
replaced all grey600 with black icons and 0.54 alpha attribute
highlightColor in dark grey chat bubble now darker than background
2016-05-12 18:00:18 +00:00
|
|
|
android:textColor="?attr/color_text_secondary"
|
2015-01-18 12:44:18 +00:00
|
|
|
android:textSize="?attr/TextSizeInfo"
|
|
|
|
android:textStyle="italic"/>
|
|
|
|
|
2014-10-22 16:38:44 +00:00
|
|
|
</RelativeLayout>
|