diff options
author | Marvin Borner | 2018-09-08 12:11:39 +0200 |
---|---|---|
committer | Marvin Borner | 2018-09-08 12:11:39 +0200 |
commit | 1f100b2221ab66087e3f5932cef4b73ec912f0dd (patch) | |
tree | eb9678f16cf4fc3a907ca51f93f09a31a73031cc /app/src/main/java/me/texx/Texx/PhotoEditorActivity.kt | |
parent | c6647c0a6b136de1d369f9e629d47c36e20c4ea7 (diff) |
Began emoji selector fragment :sparkles: :construction:
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) |