7932244c51
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
130 lines
5.3 KiB
XML
130 lines
5.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/color_background_secondary" >
|
|
<ScrollView
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_above="@+id/button_bar"
|
|
android:layout_alignParentTop="true" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/key_error_message_card"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
|
android:layout_marginRight="@dimen/activity_horizontal_margin"
|
|
android:layout_marginTop="@dimen/activity_vertical_margin"
|
|
android:layout_marginBottom="@dimen/activity_vertical_margin"
|
|
android:background="?attr/infocard_border"
|
|
android:orientation="vertical"
|
|
android:padding="@dimen/infocard_padding"
|
|
android:visibility="gone">
|
|
|
|
<TextView
|
|
android:id="@+id/key_error_message_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="?attr/color_text_primary"
|
|
android:textSize="?attr/TextSizeHeadline"
|
|
android:textStyle="bold"
|
|
android:text="@string/error_trustkeys_title"/>
|
|
|
|
<TextView
|
|
android:id="@+id/key_error_message"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="?attr/color_text_primary"
|
|
android:textSize="?attr/TextSizeBody"
|
|
android:padding="8dp"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/own_keys_card"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
|
android:layout_marginRight="@dimen/activity_horizontal_margin"
|
|
android:layout_marginTop="@dimen/activity_vertical_margin"
|
|
android:layout_marginBottom="@dimen/activity_vertical_margin"
|
|
android:background="?attr/infocard_border"
|
|
android:orientation="vertical"
|
|
android:padding="@dimen/infocard_padding"
|
|
android:visibility="gone">
|
|
|
|
<TextView
|
|
android:id="@+id/own_keys_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="?attr/color_text_primary"
|
|
android:textSize="?attr/TextSizeHeadline"
|
|
android:textStyle="bold"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/own_keys_details"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:divider="?android:dividerHorizontal"
|
|
android:showDividers="middle"
|
|
android:orientation="vertical">
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/foreign_keys"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone"
|
|
android:orientation="vertical">
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
<LinearLayout
|
|
android:id="@+id/button_bar"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentEnd="true"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentRight="true" >
|
|
|
|
<Button
|
|
android:id="@+id/cancel_button"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/cancel"
|
|
android:textColor="?attr/color_text_primary" />
|
|
|
|
<View
|
|
android:layout_width="1dp"
|
|
android:layout_height="fill_parent"
|
|
android:layout_marginBottom="7dp"
|
|
android:layout_marginTop="7dp"
|
|
android:background="?attr/divider" />
|
|
|
|
<Button
|
|
android:id="@+id/save_button"
|
|
style="?android:attr/borderlessButtonStyle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:enabled="true"
|
|
android:textColor="?attr/color_text_secondary"
|
|
android:text="@string/done"/>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|