diff options
author | Marvin Borner | 2018-09-01 18:49:16 +0200 |
---|---|---|
committer | Marvin Borner | 2018-09-01 18:49:16 +0200 |
commit | 8ab9ed2a0ef2a73b7e61a68321f8e99475593483 (patch) | |
tree | 6e913a056bbbd4944e4f380bce85baaa943e8c99 /app/src/main/java/me/texx/Texx/PhotoEditorActivity.kt | |
parent | 2295bd4f8f4a1d565e69ab5931ae2f0108d24407 (diff) |
Small drawing UI fixes
Diffstat (limited to 'app/src/main/java/me/texx/Texx/PhotoEditorActivity.kt')
-rw-r--r-- | app/src/main/java/me/texx/Texx/PhotoEditorActivity.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/me/texx/Texx/PhotoEditorActivity.kt b/app/src/main/java/me/texx/Texx/PhotoEditorActivity.kt index dd537a7..38031ad 100644 --- a/app/src/main/java/me/texx/Texx/PhotoEditorActivity.kt +++ b/app/src/main/java/me/texx/Texx/PhotoEditorActivity.kt @@ -2,6 +2,7 @@ package me.texx.Texx import android.net.Uri import android.os.Bundle +import android.support.v4.content.ContextCompat import android.support.v7.app.AppCompatActivity import android.view.View import android.view.Window @@ -55,7 +56,7 @@ class PhotoEditorActivity : AppCompatActivity() { if (currentlyDrawing) drawColorSeekbar.visibility = View.VISIBLE else { drawColorSeekbar.visibility = View.GONE - photoDrawButton.setBackgroundColor(View.INVISIBLE) + photoDrawButton.background = ContextCompat.getDrawable(this, R.drawable.ic_mode_edit_white_24dp) } } |