|
@@ -2,6 +2,10 @@
|
|
|
~ Nextcloud Talk application
|
|
|
~
|
|
|
~ @author Mario Danic
|
|
|
+ ~ @author Marcel Hibbe
|
|
|
+ ~ @author Andy Scherzinger
|
|
|
+ ~ Copyright (C) 2021 Andy Scherzinger <info@andy-scherzinger.de>
|
|
|
+ ~ Copyright (C) 2021 Marcel Hibbe <dev@mhibbe.de>
|
|
|
~ Copyright (C) 2017-2018 Mario Danic <mario@lovelyhq.com>
|
|
|
~
|
|
|
~ This program is free software: you can redistribute it and/or modify
|
|
@@ -36,24 +40,25 @@
|
|
|
|
|
|
<ImageButton
|
|
|
android:id="@id/attachmentButton"
|
|
|
- android:layout_width="28dp"
|
|
|
- android:layout_height="28dp"
|
|
|
+ android:layout_width="48dp"
|
|
|
+ android:layout_height="48dp"
|
|
|
+ android:padding="10dp"
|
|
|
android:layout_below="@id/quotedChatMessageView"
|
|
|
+ android:background="@color/transparent"
|
|
|
+ app:tint="?attr/colorControlNormal"
|
|
|
android:scaleType="centerCrop"
|
|
|
- android:layout_marginTop="5dp"
|
|
|
android:contentDescription="@string/nc_add_attachment" />
|
|
|
|
|
|
<ImageButton
|
|
|
android:id="@+id/smileyButton"
|
|
|
- android:layout_width="28dp"
|
|
|
- android:layout_height="28dp"
|
|
|
+ android:layout_width="48dp"
|
|
|
+ android:layout_height="48dp"
|
|
|
+ android:padding="10dp"
|
|
|
android:layout_below="@id/quotedChatMessageView"
|
|
|
android:layout_toEndOf="@id/attachmentButton"
|
|
|
android:background="@color/transparent"
|
|
|
android:src="@drawable/ic_insert_emoticon_black_24dp"
|
|
|
android:scaleType="centerCrop"
|
|
|
- android:layout_marginTop="5dp"
|
|
|
- android:layout_marginStart="8dp"
|
|
|
app:tint="?attr/colorControlNormal"
|
|
|
android:contentDescription="@string/nc_add_emojis" />
|
|
|
|
|
@@ -63,11 +68,12 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_below="@+id/quotedChatMessageView"
|
|
|
android:layout_centerHorizontal="true"
|
|
|
- android:layout_toEndOf="@id/smileyButton"
|
|
|
android:layout_toStartOf="@id/messageSendButton"
|
|
|
+ android:layout_toEndOf="@id/smileyButton"
|
|
|
android:imeOptions="actionDone"
|
|
|
android:inputType="textAutoCorrect|textMultiLine|textCapSentences"
|
|
|
- android:lineSpacingMultiplier="1.2" />
|
|
|
+ android:lineSpacingMultiplier="1.2"
|
|
|
+ android:minHeight="48dp" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/slideToCancelDescription"
|
|
@@ -88,14 +94,14 @@
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/microphoneEnabledInfoBackground"
|
|
|
- android:layout_width="35dp"
|
|
|
- android:layout_height="35dp"
|
|
|
+ android:layout_width="48dp"
|
|
|
+ android:layout_height="48dp"
|
|
|
android:layout_below="@id/quotedChatMessageView"
|
|
|
android:scaleType="centerInside"
|
|
|
android:layout_alignParentStart="true"
|
|
|
android:background="@color/bg_default"
|
|
|
android:visibility="gone"
|
|
|
- tools:visibility="visible"
|
|
|
+ tools:visibility="gone"
|
|
|
android:contentDescription="@null" />
|
|
|
|
|
|
<!-- the height of this ImageView is used to define the overall height of the
|
|
@@ -104,15 +110,15 @@
|
|
|
linebreaks. -->
|
|
|
<ImageView
|
|
|
android:id="@+id/microphoneEnabledInfo"
|
|
|
- android:layout_width="35dp"
|
|
|
- android:layout_height="43dp"
|
|
|
+ android:layout_width="48dp"
|
|
|
+ android:layout_height="48dp"
|
|
|
android:layout_below="@id/quotedChatMessageView"
|
|
|
android:scaleType="centerInside"
|
|
|
android:layout_alignParentStart="true"
|
|
|
android:src="@drawable/ic_baseline_mic_red_24"
|
|
|
android:contentDescription="@null"
|
|
|
android:visibility="gone"
|
|
|
- tools:visibility="visible"/>
|
|
|
+ tools:visibility="gone"/>
|
|
|
|
|
|
<Chronometer
|
|
|
android:id="@+id/audioRecordDuration"
|
|
@@ -128,12 +134,12 @@
|
|
|
android:paddingEnd="5dp"
|
|
|
android:background="@color/bg_default"
|
|
|
android:visibility="gone"
|
|
|
- tools:visibility="visible" />
|
|
|
+ tools:visibility="gone" />
|
|
|
|
|
|
<ImageButton
|
|
|
android:id="@id/messageSendButton"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ android:layout_width="48dp"
|
|
|
+ android:layout_height="48dp"
|
|
|
android:layout_below="@id/quotedChatMessageView"
|
|
|
android:layout_alignParentEnd="true"
|
|
|
android:adjustViewBounds="true"
|
|
@@ -142,8 +148,8 @@
|
|
|
|
|
|
<ImageButton
|
|
|
android:id="@+id/recordAudioButton"
|
|
|
- android:layout_width="36dp"
|
|
|
- android:layout_height="36dp"
|
|
|
+ android:layout_width="48dp"
|
|
|
+ android:layout_height="48dp"
|
|
|
android:layout_below="@id/quotedChatMessageView"
|
|
|
android:layout_alignParentEnd="true"
|
|
|
android:background="@color/transparent"
|