diff options
Diffstat (limited to 'app/src/main/java/me/texx/Texx/PhotoEditorActivity.kt')
-rw-r--r-- | app/src/main/java/me/texx/Texx/PhotoEditorActivity.kt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/src/main/java/me/texx/Texx/PhotoEditorActivity.kt b/app/src/main/java/me/texx/Texx/PhotoEditorActivity.kt index 1dd39c9..7aa9b07 100644 --- a/app/src/main/java/me/texx/Texx/PhotoEditorActivity.kt +++ b/app/src/main/java/me/texx/Texx/PhotoEditorActivity.kt @@ -70,6 +70,9 @@ class PhotoEditorActivity : AppCompatActivity() { // draw button button_draw.setOnClickListener { toggleDrawing() } + // emoji button + button_emoji.setOnClickListener { toggleEmojiMenu() } + // type button button_type.setOnClickListener { toggleTextEditing("") } @@ -93,6 +96,14 @@ class PhotoEditorActivity : AppCompatActivity() { }) } + private fun toggleEmojiMenu() { + + } + + fun onEmojiSelection() { + + } + private fun toggleDrawing() { currentlyDrawing = !currentlyDrawing photoEditor.setBrushDrawingMode(currentlyDrawing) |