mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-19 16:19:33 +01:00
Add key transparency UI.
This commit is contained in:
committed by
Greyson Parrelli
parent
279f9578cc
commit
69f4c89f84
@@ -28,6 +28,7 @@ import androidx.core.content.ContextCompat
|
||||
import androidx.core.graphics.drawable.toBitmap
|
||||
import androidx.core.widget.ImageViewCompat
|
||||
import androidx.interpolator.view.animation.FastOutSlowInInterpolator
|
||||
import com.google.android.material.button.MaterialButton
|
||||
import org.signal.core.util.dp
|
||||
import org.signal.libsignal.protocol.fingerprint.Fingerprint
|
||||
import org.thoughtcrime.securesms.R
|
||||
@@ -65,6 +66,7 @@ class SafetyNumberQrView : ConstraintLayout {
|
||||
val qrCodeContainer: View
|
||||
|
||||
val shareButton: ImageView
|
||||
val verifyButton: MaterialButton
|
||||
|
||||
private val loading: View
|
||||
private val qrCode: ImageView
|
||||
@@ -97,6 +99,7 @@ class SafetyNumberQrView : ConstraintLayout {
|
||||
)
|
||||
|
||||
shareButton = findViewById(R.id.share)
|
||||
verifyButton = findViewById(R.id.verify_button)
|
||||
|
||||
outlineProvider = object : ViewOutlineProvider() {
|
||||
override fun getOutline(view: View, outline: Outline) {
|
||||
|
||||
Reference in New Issue
Block a user