-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Implement multi brush color for Graphics note
* Do not resize/push up layout when opening soft keyboard to prevent views being overlapped * Modify Paste text's ripple effect
- Loading branch information
1 parent
e0d33d8
commit 22e81ab
Showing
9 changed files
with
138 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
app/src/main/java/dev/arkbuilders/arkmemo/graphics/Color.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package dev.arkbuilders.arkmemo.graphics | ||
|
||
enum class Color(val code: Int, val value: String) { | ||
|
||
BLACK(ColorCode.black, "black"), | ||
|
||
GRAY(ColorCode.gray, "gray"), | ||
|
||
RED(ColorCode.red, "red"), | ||
|
||
ORANGE(ColorCode.orange, "orange"), | ||
|
||
GREEN(ColorCode.green, "green"), | ||
|
||
BLUE(ColorCode.blue, "blue"), | ||
|
||
PURPLE(ColorCode.purple, "purple") | ||
} |
11 changes: 11 additions & 0 deletions
11
app/src/main/java/dev/arkbuilders/arkmemo/graphics/ColorCode.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package dev.arkbuilders.arkmemo.graphics | ||
|
||
object ColorCode { | ||
val black by lazy { android.graphics.Color.parseColor("#000000") } | ||
val gray by lazy { android.graphics.Color.parseColor("#667085") } | ||
val red by lazy { android.graphics.Color.parseColor("#F04438") } | ||
val orange by lazy { android.graphics.Color.parseColor("#F79009") } | ||
val green by lazy { android.graphics.Color.parseColor("#17B26A") } | ||
val blue by lazy { android.graphics.Color.parseColor("#0BA5EC") } | ||
val purple by lazy { android.graphics.Color.parseColor("#7A5AF8") } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters