mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-25 23:37:27 +00:00
Add support for "delivery notifications." Currently SMS-only.
This commit is contained in:
BIN
res/drawable-hdpi/ic_sms_mms_delivered.png
Normal file
BIN
res/drawable-hdpi/ic_sms_mms_delivered.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 927 B |
BIN
res/drawable-mdpi/ic_sms_mms_delivered.png
Normal file
BIN
res/drawable-mdpi/ic_sms_mms_delivered.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 692 B |
BIN
res/drawable-xhdpi/ic_sms_mms_delivered.png
Normal file
BIN
res/drawable-xhdpi/ic_sms_mms_delivered.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
@@ -96,6 +96,13 @@
|
||||
android:orientation="horizontal"
|
||||
android:gravity="left">
|
||||
|
||||
<ImageView android:id="@+id/delivered_indicator"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingRight="3dip"
|
||||
android:src="@drawable/ic_sms_mms_delivered"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView android:id="@+id/group_message_status"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -105,8 +112,7 @@
|
||||
android:textColor="#ffcccccc"
|
||||
android:visibility="gone"
|
||||
android:layout_marginRight="8dip"
|
||||
android:paddingTop="1dip"/>
|
||||
|
||||
android:paddingTop="1dip"/>
|
||||
|
||||
<TextView android:id="@+id/conversation_item_date"
|
||||
android:autoLink="all"
|
||||
|
@@ -118,6 +118,13 @@
|
||||
android:orientation="horizontal"
|
||||
android:gravity="right">
|
||||
|
||||
<ImageView android:id="@+id/delivered_indicator"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingRight="3dip"
|
||||
android:src="@drawable/ic_sms_mms_delivered"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView android:id="@+id/group_message_status"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
@@ -1,22 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
* Copyright (C) 2007-2008 Esmertec AG.
|
||||
* Copyright (C) 2007-2008 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
-->
|
||||
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<PreferenceCategory android:title="@string/preferences__use_settings">
|
||||
<CheckBoxPreference android:defaultValue="true"
|
||||
@@ -31,6 +14,19 @@
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="Delivery Reports">
|
||||
<CheckBoxPreference android:defaultValue="false"
|
||||
android:key="pref_delivery_report_sms"
|
||||
android:summary="Request a delivery report for each SMS message you send"
|
||||
android:title="SMS delivery reports" />
|
||||
|
||||
<CheckBoxPreference android:defaultValue="false"
|
||||
android:key="pref_delivery_report_mms"
|
||||
android:summary="Request a delivery report for each MMS message you send"
|
||||
android:enabled="false"
|
||||
android:title="MMS delivery reports" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="@string/preferences__input_settings">
|
||||
<CheckBoxPreference android:defaultValue="false"
|
||||
android:key="pref_enter_sends"
|
||||
|
Reference in New Issue
Block a user