0
0
mirror of https://github.com/markusfisch/BinaryEye.git synced 2024-09-19 19:42:18 +02:00

Rename ic_crop_handle to button_crop

It's not an icon but a button.
This commit is contained in:
Markus Fisch 2020-06-01 19:58:29 +02:00
parent 0539468d3d
commit eafcf0dba6
4 changed files with 1 additions and 7 deletions

View File

@ -19,7 +19,6 @@ import kotlin.math.min
import kotlin.math.round
import kotlin.math.roundToInt
class DetectorView : View {
val roi = Rect()
@ -32,7 +31,7 @@ class DetectorView : View {
}
private val roiPaint = context.getDashedBorderPaint()
private val handleBitmap = resources.getBitmapFromDrawable(
R.drawable.ic_crop_handle
R.drawable.button_crop
)
private val handleXRadius = handleBitmap.width / 2
private val handleYRadius = handleBitmap.height / 2

View File

Before

Width:  |  Height:  |  Size: 885 B

After

Width:  |  Height:  |  Size: 885 B

View File

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<svg height="48px" viewBox="0 0 48 48" width="48px" xmlns="http://www.w3.org/2000/svg">
<circle style="fill: rgb(182, 212, 111);" cx="24" cy="24" r="24"/>
<path d="M 29 27 L 31 27 L 31 19 C 31 17.9 30.1 17 29 17 L 21 17 L 21 19 L 29 19 L 29 27 Z M 19 29 L 19 13 L 17 13 L 17 17 L 13 17 L 13 19 L 17 19 L 17 29 C 17 30.1 17.9 31 19 31 L 29 31 L 29 35 L 31 35 L 31 31 L 35 31 L 35 29 L 19 29 Z" style="fill: rgb(255, 255, 255);"/>
</svg>

Before

Width:  |  Height:  |  Size: 478 B