diff --git a/res/drawable/ic_outline_notifications_off_24.xml b/res/drawable/ic_outline_notifications_off_24.xml new file mode 100644 index 0000000000..cdb23eefa6 --- /dev/null +++ b/res/drawable/ic_outline_notifications_off_24.xml @@ -0,0 +1,10 @@ + + + diff --git a/res/layout/conversation_activity.xml b/res/layout/conversation_activity.xml index 8151fbefba..b2279351a1 100644 --- a/res/layout/conversation_activity.xml +++ b/res/layout/conversation_activity.xml @@ -44,10 +44,10 @@ diff --git a/res/layout/conversation_fragment.xml b/res/layout/conversation_fragment.xml index 4931b36efd..9476a0f9ff 100644 --- a/res/layout/conversation_fragment.xml +++ b/res/layout/conversation_fragment.xml @@ -26,8 +26,8 @@ android:paddingBottom="4dp" android:layout_marginTop="8dp" android:textSize="@dimen/small_font_size" - android:textColor="#99FFFFFF" - android:background="?attr/conversation_item_sticky_date_background" + android:textColor="?conversation_item_sticky_date_text_color" + android:background="?conversation_item_sticky_date_background" android:elevation="10dp" android:visibility="gone" tools:text="March 1, 2015" /> diff --git a/res/layout/conversation_item_header.xml b/res/layout/conversation_item_header.xml index 80721f010f..588ddd64ef 100644 --- a/res/layout/conversation_item_header.xml +++ b/res/layout/conversation_item_header.xml @@ -15,7 +15,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center" - android:textColor="#99FFFFFF" + android:textColor="?conversation_item_sticky_date_text_color" android:textSize="@dimen/small_font_size" tools:text="March 1, 2015" /> diff --git a/res/layout/view_conversation.xml b/res/layout/view_conversation.xml index 0df9155353..26e9647fdb 100644 --- a/res/layout/view_conversation.xml +++ b/res/layout/view_conversation.xml @@ -69,11 +69,12 @@ + android:layout_marginEnd="6dp" /> @color/core_grey_45 @color/core_grey_05 @drawable/sticky_date_header_background_dark - @color/core_grey_25 + @color/core_grey_45 @color/transparent_white_30 @drawable/contact_list_divider_dark diff --git a/src/org/thoughtcrime/securesms/loki/views/ConversationView.kt b/src/org/thoughtcrime/securesms/loki/views/ConversationView.kt index 73463326d7..382ac63a84 100644 --- a/src/org/thoughtcrime/securesms/loki/views/ConversationView.kt +++ b/src/org/thoughtcrime/securesms/loki/views/ConversationView.kt @@ -38,7 +38,7 @@ class ConversationView : LinearLayout { } private fun setUpViewHierarchy() { - val inflater = context.applicationContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE) as LayoutInflater + val inflater = context.getSystemService(Context.LAYOUT_INFLATER_SERVICE) as LayoutInflater val contentView = inflater.inflate(R.layout.view_conversation, null) addView(contentView) }