mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-26 03:40:56 +01:00
Add initial send support to CFv2.
This commit is contained in:
committed by
Greyson Parrelli
parent
5c78de2f46
commit
2aaeda6ca8
@@ -3,6 +3,7 @@ package org.thoughtcrime.securesms.components;
|
||||
import android.content.Context;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.WindowInsets;
|
||||
import android.widget.EditText;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
@@ -76,6 +77,10 @@ public class InsetAwareConstraintLayout extends ConstraintLayout {
|
||||
}
|
||||
}
|
||||
|
||||
public void showSoftkey(@NonNull EditText editText) {
|
||||
ViewUtil.focusAndShowKeyboard(editText);
|
||||
}
|
||||
|
||||
public interface WindowInsetsTypeProvider {
|
||||
|
||||
WindowInsetsTypeProvider ALL = () ->
|
||||
|
||||
@@ -216,7 +216,7 @@ class SendButton(context: Context, attributeSet: AttributeSet?) : AppCompatImage
|
||||
.show(items)
|
||||
}
|
||||
|
||||
interface SendTypeChangedListener {
|
||||
fun interface SendTypeChangedListener {
|
||||
fun onSendTypeChanged(newType: MessageSendType, manuallySelected: Boolean)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user