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"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent" >
|
|
|
|
|
2015-07-09 12:26:19 +00:00
|
|
|
<RelativeLayout
|
2015-07-19 12:09:49 +00:00
|
|
|
android:id="@+id/key_data"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
2015-08-08 12:09:02 +00:00
|
|
|
android:paddingTop="8dp"
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:paddingBottom="8dp">
|
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"
|
2015-07-09 12:26:19 +00:00
|
|
|
android:layout_alignParentLeft="true"
|
2015-07-19 12:09:49 +00:00
|
|
|
android:layout_toLeftOf="@+id/tgl_trust"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:textSize="?attr/TextSizeBody"
|
2015-07-20 13:43:28 +00:00
|
|
|
android:typeface="monospace"
|
|
|
|
android:fontFamily="monospace"/>
|
2014-10-22 16:38:44 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/key_type"
|
|
|
|
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_secondary"
|
2015-07-09 12:26:19 +00:00
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_below="@+id/key"
|
2015-07-29 18:21:37 +00:00
|
|
|
android:maxLines="1"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:textSize="?attr/TextSizeInfo"/>
|
2015-07-09 12:26:19 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/key_trust"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_below="@+id/key"
|
|
|
|
android:visibility="gone"
|
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-07-09 12:26:19 +00:00
|
|
|
android:textSize="?attr/TextSizeInfo"/>
|
2014-10-22 16:38:44 +00:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/button_remove"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
2015-07-19 12:09:49 +00:00
|
|
|
android:layout_toRightOf="@+id/key"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:background="?android:selectableItemBackground"
|
2015-04-28 12:46:52 +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"
|
2015-01-22 04:00:35 +00:00
|
|
|
android:src="?attr/icon_remove"
|
2015-07-19 12:09:49 +00:00
|
|
|
android:visibility="gone" />
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2015-07-19 12:09:49 +00:00
|
|
|
|
|
|
|
<eu.siacs.conversations.ui.widget.Switch
|
|
|
|
android:id="@+id/tgl_trust"
|
|
|
|
android:visibility="invisible"
|
2015-07-10 00:56:44 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_centerVertical="true"
|
2015-07-20 12:14:27 +00:00
|
|
|
style="@style/MD"/>
|
2015-07-19 12:09:49 +00:00
|
|
|
|
|
|
|
</RelativeLayout>
|
2014-10-22 16:38:44 +00:00
|
|
|
</RelativeLayout>
|