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="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?android:attr/activatedBackgroundIndicator"
|
2018-02-18 14:17:11 +00:00
|
|
|
android:padding="@dimen/list_padding">
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2015-07-21 00:21:34 +00:00
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
2014-10-22 16:38:44 +00:00
|
|
|
android:id="@+id/contact_photo"
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:scaleType="centerCrop"
|
2015-07-21 00:21:34 +00:00
|
|
|
app:riv_corner_radius="2dp" />
|
2014-10-22 16:38:44 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_toRightOf="@+id/contact_photo"
|
|
|
|
android:orientation="vertical"
|
2018-02-18 17:38:46 +00:00
|
|
|
android:paddingLeft="@dimen/avatar_item_distance" >
|
2014-10-22 16:38:44 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/contact_display_name"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
2018-02-18 11:13:51 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead" />
|
2014-10-22 16:38:44 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/contact_jid"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
2018-02-18 11:13:51 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.Conversations.Body1.Secondary"/>
|
2016-08-26 14:34:42 +00:00
|
|
|
<com.wefika.flowlayout.FlowLayout
|
2014-11-16 16:21:21 +00:00
|
|
|
android:id="@+id/tags"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-08-26 14:34:42 +00:00
|
|
|
android:layout_marginLeft="-2dp"
|
2014-11-16 16:21:21 +00:00
|
|
|
android:orientation="horizontal">
|
2016-08-26 14:34:42 +00:00
|
|
|
</com.wefika.flowlayout.FlowLayout>
|
2014-10-22 16:38:44 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/key"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
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_primary"
|
2017-04-25 13:23:01 +00:00
|
|
|
android:textSize="?attr/TextSizeBody"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:typeface="monospace"
|
2015-07-20 13:43:28 +00:00
|
|
|
android:fontFamily="monospace"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:visibility="gone" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|