diff --git a/res/drawable-hdpi/ic_arrow_up.png b/res/drawable-hdpi/ic_arrow_up.png new file mode 100644 index 0000000000..049dfa4e81 Binary files /dev/null and b/res/drawable-hdpi/ic_arrow_up.png differ diff --git a/res/drawable-mdpi/ic_arrow_up.png b/res/drawable-mdpi/ic_arrow_up.png new file mode 100644 index 0000000000..f1303d14d9 Binary files /dev/null and b/res/drawable-mdpi/ic_arrow_up.png differ diff --git a/res/drawable-xhdpi/ic_arrow_up.png b/res/drawable-xhdpi/ic_arrow_up.png new file mode 100644 index 0000000000..58525ede27 Binary files /dev/null and b/res/drawable-xhdpi/ic_arrow_up.png differ diff --git a/res/drawable-xxhdpi/ic_arrow_up.png b/res/drawable-xxhdpi/ic_arrow_up.png new file mode 100644 index 0000000000..7c0c106380 Binary files /dev/null and b/res/drawable-xxhdpi/ic_arrow_up.png differ diff --git a/res/drawable-xxxhdpi/ic_arrow_up.png b/res/drawable-xxxhdpi/ic_arrow_up.png new file mode 100644 index 0000000000..e44b0815c9 Binary files /dev/null and b/res/drawable-xxxhdpi/ic_arrow_up.png differ diff --git a/res/drawable/compose_background_dark.xml b/res/drawable/compose_background_dark.xml index e4a6237f43..56859db153 100644 --- a/res/drawable/compose_background_dark.xml +++ b/res/drawable/compose_background_dark.xml @@ -4,11 +4,11 @@ android:shape="rectangle"> + android:width="1px" + android:color="@color/separator" /> + android:color="@color/compose_text_view_background" /> diff --git a/res/drawable/ic_circle_plus.xml b/res/drawable/ic_circle_plus.xml new file mode 100644 index 0000000000..b222f9a9ae --- /dev/null +++ b/res/drawable/ic_circle_plus.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/drawable/ic_microphone.xml b/res/drawable/ic_microphone.xml new file mode 100644 index 0000000000..ec9f8e76f2 --- /dev/null +++ b/res/drawable/ic_microphone.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/drawable/permission_rationale_dialog_corners.xml b/res/drawable/permission_rationale_dialog_corners.xml index 749c9a74bc..cce2c87f18 100644 --- a/res/drawable/permission_rationale_dialog_corners.xml +++ b/res/drawable/permission_rationale_dialog_corners.xml @@ -1,5 +1,7 @@ - - + + + + \ No newline at end of file diff --git a/res/layout/attachment_type_selector.xml b/res/layout/attachment_type_selector.xml index df5a5b9d3f..1b145d5bd8 100644 --- a/res/layout/attachment_type_selector.xml +++ b/res/layout/attachment_type_selector.xml @@ -233,6 +233,7 @@ android:id="@+id/close_button" android:layout_width="53dp" android:layout_height="53dp" + android:paddingTop="4dp" android:src="@drawable/ic_keyboard_arrow_down_white_24dp" android:scaleType="center" android:contentDescription="@string/attachment_type_selector__drawer_description" diff --git a/res/layout/conversation_activity.xml b/res/layout/conversation_activity.xml index 05bdcd233c..228db22551 100644 --- a/res/layout/conversation_activity.xml +++ b/res/layout/conversation_activity.xml @@ -112,7 +112,9 @@ + android:orientation="vertical" + android:clipChildren="false" + android:clipToPadding="false"> diff --git a/res/layout/conversation_input_panel.xml b/res/layout/conversation_input_panel.xml index f400205167..b2f64984b2 100644 --- a/res/layout/conversation_input_panel.xml +++ b/res/layout/conversation_input_panel.xml @@ -9,6 +9,7 @@ android:gravity="center_vertical" android:orientation="horizontal" android:clickable="true" + android:background="@color/compose_view_background" android:paddingStart="16dp" android:paddingEnd="16dp" android:paddingTop="6dp" @@ -96,8 +97,11 @@ android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:layout_weight="1" + android:textColorHint="#99FFFFFF" + android:textSize="@dimen/small_font_size" android:nextFocusForward="@+id/send_button" android:nextFocusRight="@+id/send_button" + android:textCursorDrawable="@drawable/session_edit_text_cursor" tools:visibility="invisible" tools:hint="Send TextSecure message" > @@ -178,7 +182,6 @@ android:layout_width="@dimen/conversation_compose_height" android:layout_height="@dimen/conversation_compose_height" android:layout_marginStart="12dp" - android:background="@drawable/circle_tintable" android:layout_gravity="bottom"> @@ -195,11 +198,7 @@ android:id="@+id/send_button" android:layout_width="match_parent" android:layout_height="match_parent" - android:paddingTop="6dp" - android:paddingEnd="6dp" - android:paddingBottom="6dp" - android:paddingStart="11dp" - android:scaleType="fitCenter" + android:scaleType="centerInside" android:contentDescription="@string/conversation_activity__send" android:nextFocusLeft="@+id/embedded_text_editor" android:src="?conversation_transport_sms_indicator" diff --git a/res/layout/microphone_recorder_view.xml b/res/layout/microphone_recorder_view.xml index ace424f178..6fed405950 100644 --- a/res/layout/microphone_recorder_view.xml +++ b/res/layout/microphone_recorder_view.xml @@ -7,14 +7,14 @@ + android:scaleType="centerInside" + android:tint="@color/text" + app:srcCompat="@drawable/ic_microphone" /> diff --git a/res/layout/permissions_rationale_dialog.xml b/res/layout/permissions_rationale_dialog.xml index 20e49d5e32..93a0d7d1db 100644 --- a/res/layout/permissions_rationale_dialog.xml +++ b/res/layout/permissions_rationale_dialog.xml @@ -1,29 +1,29 @@ - + - + - + \ No newline at end of file diff --git a/res/layout/recording_layout.xml b/res/layout/recording_layout.xml index 0082e30f94..79731c0e67 100644 --- a/res/layout/recording_layout.xml +++ b/res/layout/recording_layout.xml @@ -13,13 +13,14 @@ @@ -70,19 +71,33 @@ app:layout_constraintStart_toEndOf="@+id/record_time" app:layout_constraintTop_toTopOf="parent"> - + tools:visibility="visible"> + + + + + + diff --git a/res/values-v21/themes.xml b/res/values-v21/themes.xml index 4c967517fc..c3189760de 100644 --- a/res/values-v21/themes.xml +++ b/res/values-v21/themes.xml @@ -2,11 +2,11 @@ diff --git a/res/values/colors.xml b/res/values/colors.xml index 3622104343..3ecef42c72 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -20,6 +20,8 @@ #000000 #333132 #0AFFFFFF + #1B1B1B + #141414 diff --git a/res/values/dimens.xml b/res/values/dimens.xml index cc41589e8a..d2ca0597f4 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -155,7 +155,7 @@ 14dp - -150dp + -96dp 16dp 24dp diff --git a/res/values/strings.xml b/res/values/strings.xml index bb6ad0713d..08225a371f 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -172,13 +172,13 @@ Unable to record audio! There is no app available to handle this link on your device. - To send audio messages, allow Loki Messenger access to your microphone. - Loki Messenger requires the Microphone permission in order to send audio messages, but it has been permanently denied. Please continue to app settings, select \"Permissions\", and enable \"Microphone\". - To call %s, Loki Messenger needs access to your microphone and camera. - Loki Messenger needs the Microphone and Camera permissions in order to call %s, but they have been permanently denied. Please continue to app settings, select \"Permissions\", and enable \"Microphone\" and \"Camera\". - To capture photos and video, allow Loki Messenger access to the camera. - Loki Messenger needs the Camera permission to take photos or video, but it has been permanently denied. Please continue to app settings, select \"Permissions\", and enable \"Camera\". - Loki Messenger needs Camera permissions to take photos or video + Session needs microphone access to send audio messages. + Session needs microphone access to send audio messages, but it has been permanently denied. Please continue to app settings, select \"Permissions\", and enable \"Microphone\". + Session needs microphone and camera access to make calls. + Session needs microphone and camera access to call %s, but they have been permanently denied. Please continue to app settings, select \"Permissions\", and enable \"Microphone\" and \"Camera\". + Session needs camera access to take photos and videos. + Session needs camera access to take photos and videos, but it has been permanently denied. Please continue to app settings, select \"Permissions\", and enable \"Camera\". + Session needs camera access to take photos or videos. %1$s %2$s Loki Messenger cannot send SMS/MMS messages because it is not your default SMS app. Would you like to change this in your Android settings? diff --git a/res/values/styles.xml b/res/values/styles.xml index 05b0508599..3e32d8793c 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -332,8 +332,8 @@