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"
|
2016-11-15 19:00:52 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:longClickable="true">
|
2014-10-22 16:38:44 +00:00
|
|
|
|
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"
|
2018-02-18 14:17:11 +00:00
|
|
|
android:padding="@dimen/list_padding">
|
2014-10-22 16:38:44 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/key"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-07-09 12:26:19 +00:00
|
|
|
android:layout_alignParentLeft="true"
|
2016-11-15 19:00:52 +00:00
|
|
|
android:layout_toLeftOf="@+id/action_container"
|
|
|
|
android:fontFamily="monospace"
|
|
|
|
android:textColor="?attr/color_text_primary"
|
2014-10-22 16:38:44 +00:00
|
|
|
android:textSize="?attr/TextSizeBody"
|
2015-07-20 13:43:28 +00:00
|
|
|
android:typeface="monospace"
|
2017-04-25 13:23:01 +00:00
|
|
|
android:longClickable="true"
|
|
|
|
android:clickable="true"/>
|
2014-10-22 16:38:44 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/key_type"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
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"
|
2016-11-15 19:00:52 +00:00
|
|
|
android:textColor="?attr/color_text_secondary"
|
|
|
|
android:textSize="?attr/TextSizeInfo"
|
2017-04-25 13:23:01 +00:00
|
|
|
android:longClickable="true"
|
|
|
|
android:clickable="true"/>
|
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"
|
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"
|
2016-11-15 19:00:52 +00:00
|
|
|
android:textSize="?attr/TextSizeInfo"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:longClickable="true"/>
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/action_container"
|
2018-02-18 17:38:46 +00:00
|
|
|
android:layout_width="@dimen/key_action_width"
|
|
|
|
android:layout_height="48dp"
|
2016-11-15 19:00:52 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_alignParentRight="true"
|
2018-02-18 17:38:46 +00:00
|
|
|
android:gravity="center"
|
2016-11-15 19:00:52 +00:00
|
|
|
android:layout_centerVertical="true">
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/button_remove"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:alpha="?attr/icon_alpha"
|
2018-02-18 17:38:46 +00:00
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
2016-11-15 19:00:52 +00:00
|
|
|
android:padding="@dimen/image_button_padding"
|
|
|
|
android:src="?attr/icon_remove"
|
|
|
|
android:visibility="gone" />
|
2018-02-18 17:38:46 +00:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/button_enable_device"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:alpha="?attr/icon_alpha"
|
|
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
|
android:padding="@dimen/image_button_padding"
|
|
|
|
android:src="?attr/icon_enable_undecided_device"
|
|
|
|
android:visibility="gone" />
|
2014-10-22 16:38:44 +00:00
|
|
|
|
2016-11-15 19:00:52 +00:00
|
|
|
<ImageView
|
|
|
|
android:visibility="gone"
|
|
|
|
android:id="@+id/verified_fingerprint"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/ic_verified_fingerprint" />
|
2015-07-19 12:09:49 +00:00
|
|
|
|
2018-02-17 10:18:23 +00:00
|
|
|
<android.support.v7.widget.SwitchCompat
|
2016-11-15 19:00:52 +00:00
|
|
|
android:id="@+id/tgl_trust"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:visibility="gone" />
|
|
|
|
</LinearLayout>
|
2015-07-19 12:09:49 +00:00
|
|
|
|
|
|
|
</RelativeLayout>
|
2014-10-22 16:38:44 +00:00
|
|
|
</RelativeLayout>
|