Commit Graph

35 Commits

Author SHA1 Message Date
Kirill Kamakin
50c8e14593 Implement showing authentication progress 2022-04-09 18:56:25 +05:00
Kirill Kamakin
9db89965c0 Start migration to Material 3
Theme was generated here
https://material-foundation.github.io/material-theme-builder/#/custom
Primary: BB86FC
Secondary: 655A70
Tertiary: 805159
Neutral: 605D62
2022-04-09 17:32:19 +05:00
Kirill Kamakin
096b5389bd Use AccountManager 2022-04-08 17:54:21 +05:00
Kirill Kamakin
468aa8c02a Implement login/logout functionality 2022-04-04 16:42:22 +05:00
Kirill Kamakin
f44f54522d Extract Base URL from authentication 2022-04-04 03:34:50 +05:00
Kirill Kamakin
f74973e40a Fix expanding bottom sheet when not enough content (#15)
This commit makes sure bottom sheet dialog has the size
of its contents. That way it doesn't expand further than it
should. Fixes #4
2021-11-27 16:40:41 +00:00
Kirill Kamakin
44458dd146 Fix a number of lint issues (#2)
* Fix systemUiVisibility deprecation warnings

This commit extracts setSystemUiVisibility as
an extension and uses the new API depending on
the Build.VERSION

* Fix splash fragment vector issues

Clip-path isn't available before V24 and
width/height should not exceed 200 dp.

* Remove unused disclaimer fragment header

* Remove unused ic_launcher_round

* Ignore IconMissingDensityFolder lint

Ignoring it because all the images are vector

* Ignore UnusedAttribute lint

It warns about networkSecurityConfig which
is used only in debug builds to allow
user SSL certificates. Lint says it's not
available before v24. But it doesn't matter
since before v24 the user SSL certificates
were allowed by default.

* Use plurals for disclaimer count down
2021-11-27 13:10:00 +00:00
Kirill Kamakin
339f8327de Implement URL input format checks 2021-11-27 12:27:25 +03:00
Kirill Kamakin
e701b5d7df Show recipe info in bottom sheet dialog 2021-11-25 20:06:53 +03:00
Kirill Kamakin
d2032380c7 Extract corner radius dimension 2021-11-25 19:06:46 +03:00
Kirill Kamakin
54753f6ee9 Improve view holder recipe layout 2021-11-23 20:17:24 +03:00
Kirill Kamakin
9e39b286b9 Set new primary color 2021-11-21 20:42:11 +03:00
Kirill Kamakin
9f0b85127a Remove "tools:targetApi=l" because minSdk is already L 2021-11-21 20:39:58 +03:00
Kirill Kamakin
552d0d2f6c Disable overScrollMode entirely 2021-11-21 20:38:05 +03:00
Kirill Kamakin
d36ebfe50c Show auth errors to the user 2021-11-21 17:29:44 +03:00
Kirill Kamakin
0121e90c99 Make bottom left toolbar corner rounded 2021-11-21 15:41:27 +03:00
Kirill Kamakin
e5edf045d8 Improve disclaimer wording and fill README.md 2021-11-21 11:42:38 +03:00
Kirill Kamakin
5067e1e98f Add bottom padding to instructions list 2021-11-20 22:52:39 +03:00
Kirill Kamakin
35612d14ad Update disclaimer text 2021-11-20 22:42:06 +03:00
Kirill Kamakin
32b9e2b32c Add Russian translation 2021-11-20 20:28:58 +03:00
Kirill Kamakin
1d2c5584a8 Read instructions step header from resources 2021-11-20 20:21:46 +03:00
Kirill Kamakin
4b817ba404 Add disclaimer fragment 2021-11-20 18:43:33 +03:00
Kirill Kamakin
5866584d14 Replace "Mealie" with "Mealient" everywhere 2021-11-20 13:44:07 +03:00
Kirill Kamakin
7ebe89adfc Implement loading and saving full recipe info 2021-11-17 20:44:14 +03:00
Kirill Kamakin
9da3c44d40 Support showing placeholders in recipe view holders 2021-11-15 19:43:30 +03:00
Kirill Kamakin
e4ec2a9e94 Reuse menu option name as its content description 2021-11-14 11:55:44 +03:00
Kirill Kamakin
07484113d5 Implement showing logout menu option 2021-11-14 10:39:25 +03:00
Kirill Kamakin
1a136b6ade Replace action bar with material toolbar 2021-11-14 09:41:30 +03:00
Kirill Kamakin
587b9609c3 Update layout of view holders for recipes 2021-11-13 21:15:53 +03:00
Kirill Kamakin
740dd12f3b Enable lint rules and fix found issues 2021-11-13 16:46:00 +03:00
Kirill Kamakin
734dff68a7 Use margin instead of four attrs with same value 2021-11-13 15:09:38 +03:00
Kirill Kamakin
7637fb5f7c Extract styles 2021-11-13 15:09:38 +03:00
Kirill Kamakin
ea4b5d49b9 Extract margin_small 2021-11-13 15:09:38 +03:00
Kirill Kamakin
b0a53b5991 Implement initial authentication flow 2021-11-13 15:09:30 +03:00
Kirill Kamakin
8bae6205b9 Initial commit
This commit contains Fragment + ViewModel template from Android Studio
2021-11-13 15:09:26 +03:00