aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java/me/texx/Texx/PhotoEditorActivity.kt
diff options
context:
space:
mode:
authorMarvin Borner2018-09-08 12:11:39 +0200
committerMarvin Borner2018-09-08 12:11:39 +0200
commit1f100b2221ab66087e3f5932cef4b73ec912f0dd (patch)
treeeb9678f16cf4fc3a907ca51f93f09a31a73031cc /app/src/main/java/me/texx/Texx/PhotoEditorActivity.kt
parentc6647c0a6b136de1d369f9e629d47c36e20c4ea7 (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.kt11
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)