mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
meshtastic#73 change icon, bugfixes
This commit is contained in:
parent
b6056c4e52
commit
7e1e78fb64
4 changed files with 24 additions and 12 deletions
|
|
@ -307,11 +307,14 @@ class MessagesFragment : Fragment(), Logging {
|
|||
}
|
||||
R.id.resendButton -> {
|
||||
debug("User clicked resendButton")
|
||||
var resendText:String = ""
|
||||
var resendText = ""
|
||||
selectedList.forEach {
|
||||
resendText = resendText + it.text + System.lineSeparator()
|
||||
binding.messageInputText.setText(resendText)
|
||||
}
|
||||
if (resendText!="")
|
||||
resendText = resendText.substring(0, resendText.length - 1)
|
||||
binding.messageInputText.setText(resendText)
|
||||
mode.finish()
|
||||
}
|
||||
}
|
||||
return true
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:viewportHeight="20"
|
||||
android:viewportWidth="20"
|
||||
android:width="24dp">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M14.189,10.329l-1.4,-1.385 -1.061,1.061 3.9,3.884 3.865,-3.866 -1.06,-1.06 -1.055,1.055L16.5,11.344V10a7.75,7.75 0,1 0,-2.27 5.48l-1.061,-1.061A6.249,6.249 0,1 1,15 10v1.671Z"/>
|
||||
</vector>
|
||||
18
app/src/main/res/drawable/ic_twotone_content_paste_go_24.xml
Normal file
18
app/src/main/res/drawable/ic_twotone_content_paste_go_24.xml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
<path
|
||||
android:pathData="M10,17c0,-3.31 2.69,-6 6,-6h3V5h-2v3H7V5H5v14h5v-2z"
|
||||
android:strokeAlpha="0.3"
|
||||
android:fillColor="@android:color/white"
|
||||
android:fillAlpha="0.3"/>
|
||||
<path
|
||||
android:pathData="M10,19L5,19L5,5h2v3h10L17,5h2v6h2L21,5c0,-1.1 -0.9,-2 -2,-2h-4.18C14.4,1.84 13.3,1 12,1s-2.4,0.84 -2.82,2L5,3c-1.1,0 -2,0.9 -2,2v14c0,1.1 0.9,2 2,2h5v-2zM12,3c0.55,0 1,0.45 1,1s-0.45,1 -1,1s-1,-0.45 -1,-1s0.45,-1 1,-1z"
|
||||
android:fillColor="@android:color/white"/>
|
||||
<path
|
||||
android:pathData="m18.01,13l-1.42,1.41l1.58,1.58H12v2h6.17l-1.58,1.59l1.42,1.41l3.99,-4z"
|
||||
android:fillColor="@android:color/white"/>
|
||||
</vector>
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item
|
||||
android:id="@+id/resendButton"
|
||||
android:icon="@drawable/ic_retry_24"
|
||||
android:icon="@drawable/ic_twotone_content_paste_go_24"
|
||||
android:title="@string/resend"
|
||||
app:showAsAction="ifRoom" />
|
||||
<item
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue