2016-04-22 19:25:06 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?android:attr/activatedBackgroundIndicator"
|
2018-03-01 18:44:08 +00:00
|
|
|
android:padding="12dp"
|
2016-04-22 19:25:06 +00:00
|
|
|
android:id="@+id/presence_template">
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-03-01 18:44:08 +00:00
|
|
|
android:minHeight="48dp"
|
2016-04-22 19:25:06 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_toLeftOf="@+id/delete_button"
|
|
|
|
android:layout_toStartOf="@+id/delete_button"
|
|
|
|
android:layout_marginRight="8dp">
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/presence_status_message"
|
2018-02-28 21:18:33 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1"/>
|
2016-04-22 19:25:06 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/status"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingBottom="1dp"
|
|
|
|
android:paddingLeft="4dp"
|
|
|
|
android:paddingRight="4dp"
|
|
|
|
android:paddingTop="1dp"
|
|
|
|
android:textAllCaps="true"
|
2018-03-01 18:44:08 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.Conversations.Tag"
|
2016-04-22 19:25:06 +00:00
|
|
|
android:layout_marginTop="4dp"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<ImageButton
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/delete_button"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentEnd="true"
|
2018-02-17 21:53:54 +00:00
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
2016-04-22 19:25:06 +00:00
|
|
|
android:padding="@dimen/image_button_padding"
|
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:alpha="?attr/icon_alpha"
|
2016-04-22 19:25:06 +00:00
|
|
|
android:src="?attr/icon_remove"/>
|
|
|
|
</RelativeLayout>
|