| .idea | ||
| app | ||
| gradle | ||
| .gitignore | ||
| build.gradle.kts | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| README.md | ||
| settings.gradle.kts | ||
changes-wearable
Basic I Ching oracle divination app for Android mobile devices
Designed to create hexagrams with accurate probabilities related to yarrow stalk divination. See the Yarrow stalks section of the I Ching divination Wikipedia page.
Dependencies
Add material-icons-extended dependency to project for Icons.AutoMirrored.Filled.ArrowBack and Icons.Filled.Menu
Icon
- https://developer.android.com/studio/write/create-app-icons#create-adaptive https://developer.android.com/develop/ui/views/launch/icon_design_adaptive
Unicode trigrams: https://en.wikipedia.org/wiki/Bagua#In_Unicode
Unicode hexagrams: https://en.wikipedia.org/wiki/Yijing_Hexagram_Symbols_(Unicode_block)
Image Asset
Foreground: Text ䷱ DejaVu Sans Color: 244 20 4 F41404
Background: Color: 10 10 20 0A0A14
Fonts that support Unicode hexagrams:
DejaVu Sans DejaVu Sans Condensed Dialog Inter - very blocky Monospaced Sans Serif Segoe UI Symbol Serif
Parent theme
themes.xml
<style name="Theme.Changes" parent="android:Theme.DeviceDefault.NoActionBar" />
Button color
Button( onClick = { }, colors = ButtonDefaults.buttonColors( containerColor = Color.White, contentColor = Color.Red) )
Package and Distribute
https://developer.android.com/training/wearables/packaging
App Bundles
https://developer.android.com/guide/app-bundle
Signing
https://developer.android.com/studio/publish/app-signing#sign-apk
Splash screen
https://developer.android.com/training/wearables/apps/splash-screen
https://developer.android.com/develop/ui/views/launch/splash-screen#kts
<item name="android:windowIsTranslucent">true</item>
TODO
Merge the mobile and wearable versions into one
Implement Room to store hexagrams
Add date and annotations to hexagrams
Use SVG images for lines instead of monospace font text