aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-04-25 22:15:58 +0200
committerChristian Schneppe <christian@pix-art.de>2018-04-25 22:29:16 +0200
commitebaa9dcfab701117ff6b0e13979ee46b941c4607 (patch)
treec0005f8f840e4a5c0e2b7c9c8e935d538e86a3d3 /src/main/res/layout
parent8fcedc431111bf33d3f23b922793cd721cdc1df9 (diff)
some theme fixes
Diffstat (limited to 'src/main/res/layout')
-rw-r--r--src/main/res/layout/activity_contact_details.xml1
-rw-r--r--src/main/res/layout/contact_key.xml4
-rw-r--r--src/main/res/layout/message_received.xml5
-rw-r--r--src/main/res/layout/message_sent.xml3
4 files changed, 9 insertions, 4 deletions
diff --git a/src/main/res/layout/activity_contact_details.xml b/src/main/res/layout/activity_contact_details.xml
index 93fdffbe9..7c93e5be2 100644
--- a/src/main/res/layout/activity_contact_details.xml
+++ b/src/main/res/layout/activity_contact_details.xml
@@ -33,6 +33,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:gravity="center_horizontal"
android:orientation="vertical"
android:padding="@dimen/card_padding_regular">
diff --git a/src/main/res/layout/contact_key.xml b/src/main/res/layout/contact_key.xml
index 8e908881c..dec322f68 100644
--- a/src/main/res/layout/contact_key.xml
+++ b/src/main/res/layout/contact_key.xml
@@ -47,7 +47,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:alpha="?attr/icon_alpha"
- android:background="?attr/color_background_secondary"
+ android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/image_button_padding"
android:src="?attr/icon_remove"
android:visibility="gone" />
@@ -57,7 +57,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:alpha="?attr/icon_alpha"
- android:background="?attr/color_background_secondary"
+ android:background="?attr/selectableItemBackgroundBorderless"
android:padding="@dimen/image_button_padding"
android:src="?attr/icon_enable_undecided_device"
android:visibility="gone" />
diff --git a/src/main/res/layout/message_received.xml b/src/main/res/layout/message_received.xml
index 2460367e5..dbc379aaf 100644
--- a/src/main/res/layout/message_received.xml
+++ b/src/main/res/layout/message_received.xml
@@ -65,7 +65,7 @@
android:layout_marginRight="4sp"
android:alpha="0.70"
android:gravity="center_vertical"
- android:src="@drawable/ic_lock_white_18dp" />
+ android:src="@drawable/ic_lock_black_18dp" />
<ImageView
android:id="@+id/edit_indicator"
@@ -73,8 +73,9 @@
android:layout_height="?attr/TextSizeCaption"
android:layout_gravity="center_vertical"
android:layout_marginRight="4sp"
+ android:alpha="0.70"
android:gravity="center_vertical"
- android:src="@drawable/ic_mode_edit_white_18dp" />
+ android:src="@drawable/ic_mode_edit_black_18dp" />
<TextView
android:id="@+id/message_time"
diff --git a/src/main/res/layout/message_sent.xml b/src/main/res/layout/message_sent.xml
index b1c44cbdd..df904e98d 100644
--- a/src/main/res/layout/message_sent.xml
+++ b/src/main/res/layout/message_sent.xml
@@ -82,6 +82,7 @@
android:layout_height="?attr/TextSizeCaption"
android:layout_gravity="center_vertical"
android:layout_marginLeft="4sp"
+ android:alpha="0.54"
android:gravity="center_vertical"
android:src="@drawable/ic_mode_edit_black_18dp" />
@@ -91,6 +92,7 @@
android:layout_height="?attr/TextSizeCaption"
android:layout_gravity="center_vertical"
android:layout_marginLeft="4sp"
+ android:alpha="0.54"
android:gravity="center_vertical"
android:src="@drawable/ic_received_indicator" />
@@ -101,6 +103,7 @@
android:layout_gravity="center_vertical"
android:layout_marginLeft="-8sp"
android:adjustViewBounds="false"
+ android:alpha="0.54"
android:gravity="center_vertical"
android:src="@drawable/ic_read_indicator" />
</LinearLayout>