Copy hex data from hex dump
Add a tap handler to the hex dump so binary content can be copied as a continuous hex string directly from the decode screen.
This commit is contained in:
@@ -347,6 +347,9 @@ class DecodeActivity : AbstractBaseActivity() {
|
||||
hexView.showIf(prefs.showHexDump) { v ->
|
||||
hexHeadlineView.visibility = View.VISIBLE
|
||||
v.text = hexDump(bytes)
|
||||
v.setOnClickListener {
|
||||
copyToClipboard(bytes.toHexString())
|
||||
}
|
||||
}
|
||||
if (!prefs.showHexDump) {
|
||||
hexHeadlineView.visibility = View.GONE
|
||||
|
||||
Reference in New Issue
Block a user