-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hotfix: dark theme on android < 10 (#10)
* refactoring * hotfix: dark mode on android < 10
- Loading branch information
Showing
19 changed files
with
29 additions
and
47 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
<h1 align="start">Unicode</h1> | ||
<h4 align="start">Application for searching, viewing and copying characters from Unicode 15</h1> | ||
<h4 align="start">Application for searching, viewing and copying characters from Unicode 15</h4> | ||
|
||
<img src="https://raw.githubusercontent.com/vadiole/Unicode/master/assets/Screenshot-1.png" alt="screenshot 1" width="24.6%" height="24%"> <img src="https://raw.githubusercontent.com/vadiole/Unicode/master/assets/Screenshot-2.png" alt="screenshot 2" width="24.6%" height="23%"> <img src="https://raw.githubusercontent.com/vadiole/Unicode/master/assets/Screenshot-3.png" alt="screenshot 2" width="24.6%" height="24%"> <img src="https://raw.githubusercontent.com/vadiole/Unicode/master/assets/Screenshot-4.png" alt="screenshot 4" width="24.6%" height="24%"> | ||
|
||
|
||
### Caution | ||
### Caution ⚠️ | ||
I decided to develop an app without using the classic modern-android-development stack. | ||
There is no mvvm or clean architecture, no dagger, no room, no app compat and material libraries, no fragments and navigation component, no constraint layout and basically no xml. The motivation is to learn to create applications with as few dependencies as possible. As for xml – I just don't like it. | ||
|
||
The Ui is in pure Kotlin. The navigation is made with views, the database is a plain sqlite. Dependencies injection is done via constructor, and async using coroutines (thinking about moving to executors). | ||
|
||
### Design | ||
### Design 📱 | ||
I tried to make ui close to iOS in appearance and behavior using spring animations, squircle for roundings, self-written themes, etc. This is one of the reasons why I had to get rid of fragments and xml. | ||
|
||
### Conclusion | ||
### Conclusion 📍 | ||
This is an interesting experiment. I will be glad if you try the application, share with friends, leave feedback or find something useful for yourself in the source code. |
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
/build | ||
/release | ||
/debug |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
package vadiole.unicode.data | ||
|
||
|
||
@JvmInline | ||
value class CodePoint(val value: Int) { | ||
val char: String | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,4 +84,4 @@ class AppTheme(scheme: Scheme) : Theme() { | |
) | ||
); | ||
} | ||
} | ||
} |
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.