diff --git a/jni/dc_wrapper.c b/jni/dc_wrapper.c
index 5fb506242..be434731c 100644
--- a/jni/dc_wrapper.c
+++ b/jni/dc_wrapper.c
@@ -1410,6 +1410,27 @@ JNIEXPORT void Java_com_b44t_messenger_DcMsg_setLocation(JNIEnv *env, jobject ob
}
+JNIEXPORT void Java_com_b44t_messenger_DcMsg_setQuoteCPtr(JNIEnv *env, jobject obj, jlong quoteCPtr)
+{
+ dc_msg_set_quote(get_dc_msg(env, obj), (dc_msg_t*)quoteCPtr);
+}
+
+
+JNIEXPORT jstring Java_com_b44t_messenger_DcMsg_getQuotedText(JNIEnv *env, jobject obj)
+{
+ char* temp = dc_msg_get_quoted_text(get_dc_msg(env, obj));
+ jstring ret = JSTRING_NEW(temp);
+ dc_str_unref(temp);
+ return ret;
+}
+
+
+JNIEXPORT jlong Java_com_b44t_messenger_DcMsg_getQuotedMsgCPtr(JNIEnv *env, jobject obj)
+{
+ return (jlong)dc_msg_get_quoted_msg(get_dc_msg(env, obj));
+}
+
+
/*******************************************************************************
* DcContact
diff --git a/res/drawable-hdpi/ic_close_white_18dp.webp b/res/drawable-hdpi/ic_close_white_18dp.webp
new file mode 100644
index 000000000..63a6bf18b
Binary files /dev/null and b/res/drawable-hdpi/ic_close_white_18dp.webp differ
diff --git a/res/drawable-mdpi/ic_close_white_18dp.webp b/res/drawable-mdpi/ic_close_white_18dp.webp
new file mode 100644
index 000000000..779b7b513
Binary files /dev/null and b/res/drawable-mdpi/ic_close_white_18dp.webp differ
diff --git a/res/drawable-xhdpi/ic_close_white_18dp.webp b/res/drawable-xhdpi/ic_close_white_18dp.webp
new file mode 100644
index 000000000..541301f06
Binary files /dev/null and b/res/drawable-xhdpi/ic_close_white_18dp.webp differ
diff --git a/res/drawable-xxhdpi/ic_close_white_18dp.webp b/res/drawable-xxhdpi/ic_close_white_18dp.webp
new file mode 100644
index 000000000..1b7a9e54d
Binary files /dev/null and b/res/drawable-xxhdpi/ic_close_white_18dp.webp differ
diff --git a/res/drawable-xxxhdpi/ic_close_white_18dp.webp b/res/drawable-xxxhdpi/ic_close_white_18dp.webp
new file mode 100644
index 000000000..1ae09899e
Binary files /dev/null and b/res/drawable-xxxhdpi/ic_close_white_18dp.webp differ
diff --git a/res/drawable/circle_alpha.xml b/res/drawable/circle_alpha.xml
new file mode 100644
index 000000000..82142dd34
--- /dev/null
+++ b/res/drawable/circle_alpha.xml
@@ -0,0 +1,5 @@
+
+
+
+
diff --git a/res/drawable/dismiss_background.xml b/res/drawable/dismiss_background.xml
new file mode 100644
index 000000000..d373de262
--- /dev/null
+++ b/res/drawable/dismiss_background.xml
@@ -0,0 +1,5 @@
+
+
+
+
diff --git a/res/layout/conversation_input_panel.xml b/res/layout/conversation_input_panel.xml
index 16ca265b6..cd10ed3c7 100644
--- a/res/layout/conversation_input_panel.xml
+++ b/res/layout/conversation_input_panel.xml
@@ -1,21 +1,25 @@
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:id="@+id/bottom_panel"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_vertical"
+ android:clickable="true"
+ android:paddingTop="6dp"
+ android:paddingBottom="6dp"
+ android:clipChildren="false"
+ android:clipToPadding="false"
+ android:background="?attr/input_panel_bg_color">
+ android:paddingLeft="12dp"
+ android:paddingRight="12dp"
+ android:layout_gravity="center_vertical"
+ android:gravity="center_vertical"
+ android:orientation="horizontal"
+ tools:visibility="gone">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+ android:src="?quick_camera_icon"
+ android:paddingLeft="11dp"
+ android:paddingRight="11dp"
+ android:paddingTop="6dp"
+ android:paddingBottom="6dp"
+ android:background="@drawable/touch_highlight_background"
+ android:contentDescription="@string/camera" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ android:layout_gravity="center_vertical"
+ android:layout_marginRight="2dp"
+ android:layout_marginEnd="2dp"
+ android:paddingLeft="11dp"
+ android:paddingRight="11dp"
+ android:paddingTop="6dp"
+ android:paddingBottom="6dp"
+ android:src="?quick_mic_icon"
+ android:background="@null"
+ android:contentDescription="@string/audio" />
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
diff --git a/res/layout/conversation_item_received.xml b/res/layout/conversation_item_received.xml
index 9ed821a61..2a108c631 100644
--- a/res/layout/conversation_item_received.xml
+++ b/res/layout/conversation_item_received.xml
@@ -25,6 +25,18 @@
android:clipToPadding="false"
android:clipChildren="false">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/res/menu/conversation_context.xml b/res/menu/conversation_context.xml
index 8fc78f365..7316ef546 100644
--- a/res/menu/conversation_context.xml
+++ b/res/menu/conversation_context.xml
@@ -7,7 +7,6 @@
@@ -37,4 +36,7 @@
android:icon="?menu_forward_icon"
app:showAsAction="always" />
+
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index 319c85e49..f803aa234 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -119,6 +119,9 @@
+
+
+
@@ -236,4 +239,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index a77bc1605..55312072e 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -18,7 +18,7 @@
1.5dp
8dp
4dp
- 8dp
+ 6dp
6dp
32dp
6dp
@@ -41,6 +41,10 @@
52dp
1dp
+ 10dp
+ 2.5dp
+ 18dp
+
52dp
10dp
@@ -50,5 +54,6 @@
4dp
12sp
8dp
+ 45dp
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 309a6d278..8b623baca 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -709,5 +709,7 @@
Requires a permanent notification
Tap here to receive messages while Delta Chat is in the background.
You already allowed Delta Chat to receive messages in the background.\n\nIf messages still do not arrive in background, please also check your system settings.
+ Original message not found
+ Reply privately
diff --git a/res/values/text_styles.xml b/res/values/text_styles.xml
index 401849765..2070a49ae 100644
--- a/res/values/text_styles.xml
+++ b/res/values/text_styles.xml
@@ -11,6 +11,11 @@
- sans-serif
+
+