Anki-Custom-Card-Layout
Anki-Custom-Card-Layout copied to clipboard
Anki Custom Card Layout
AnkiDroid Custom Card Layout
Use AnkiDroid JavaScript functions to get cards details and design card like below. Turn on full screen and start reviewing in your custom Anki design. The API can also be used to hide JS API features on AnkiDesktop and AnkiMobile
ankidroid-js-addon moved here
Note: AnkiDroid alpha parallel version can be downloaded for testing it. [AnkiDroid.A] also change directory to AnkiDroid.A in settings
AnkiDroid version > 2.13
Download Example Decks
- Decks
Usage
- Turn on Gestures in AnkiDroid
- Map all Swipe gestures to No Action
- Turn on Full Screen
- Now open the downloaded decks
Example 1
Custom design for show answer button, /Again/Hard/Good/Easy/ button,
mark card, toggle flag, review time, card count etc.
Demo

Example 2

Example 3

- progress bar
- 110 commands
- font
Orbitron
- open ttyd in termux and view in ankidroid using
iframe
. For more view Add ttyd to termux and practice command
Example 4

- Neumorphism design (Credits: Codepen/myacode)
- smooth progress bar (View front.html)
- HSK1 word lists
- Random select from
[Simplified, Traditional, Pinyin, Meaning]
for quiz at front - Audio
(Not supported night mode)
Disclaimer
The software, code and website links available in this GitHub repo are provided "as is" without warranty of any kind, either express or implied.
Use at your own risk.
Contribution
Share custom card design made using AnkiDroid JS API.
- front card template,
front.html
- back card template,
back.html
- card template css,
card.css
- Sample deck
Todo
- To add example commands to
example 3
deck
For more visit
Resources
- 1-Line Layouts
- JavascriptInterface
- pass-non-primitive-object-from-java-to-js-by-android
- check-if-a-string-is-a-valid-number
- grid.layoutit.com
- codepen.io
- www.w3schools.com
License
Anki-Custom-Card-Layout
Mani (Infinyte7)
Must give attribution, if using full or part of this project.
CC-BY-SA 4.0