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
715e63a1d4
Specify RecipeInfoFragment's layout managers in xml
2021-11-27 10:39:57 +03:00
Kirill Kamakin
cc5c9edb1f
Refactor RecipesFragment
...
This commit extracts SwipeRefreshLayout extension to a
separate file. Additionally, it refactors RecipesFragment in
order to move all the logic to the ViewModel from the View.
2021-11-27 00:22:52 +03:00
Kirill Kamakin
7ecad55a60
Update recipe view holder ellipsize params
2021-11-25 20:18:21 +03:00
Kirill Kamakin
0d3dfeebd9
Use rounded corners for recipe view holder
2021-11-25 20:15:01 +03:00
Kirill Kamakin
e701b5d7df
Show recipe info in bottom sheet dialog
2021-11-25 20:06:53 +03:00
Kirill Kamakin
6c41c4fcf6
Use center crop for recipe images
2021-11-25 19:34:31 +03:00
Kirill Kamakin
5070f975c4
Use placeholder_recipe in layout designer
2021-11-25 19:07:49 +03:00
Kirill Kamakin
d2032380c7
Extract corner radius dimension
2021-11-25 19:06:46 +03:00
Kirill Kamakin
cf9bd407a4
Add new splash fragment image
2021-11-23 22:15:48 +03:00
Kirill Kamakin
6e92d6a233
Improve disclaimer fragment layout
2021-11-23 22:07:26 +03:00
Kirill Kamakin
0b00868acc
Add icon to the app toolbar
2021-11-23 21:03:43 +03:00
Kirill Kamakin
b69034ec49
Replace app icon
2021-11-23 20:28:34 +03:00
Kirill Kamakin
54753f6ee9
Improve view holder recipe layout
2021-11-23 20:17:24 +03:00
Kirill Kamakin
5639fe4517
Implement toolbar hiding on scroll
2021-11-21 20:45:15 +03:00
Kirill Kamakin
263ebbd431
Replace recipe placeholder image
2021-11-21 20:42:25 +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
ecd41c9dc6
Make sure recycler view scrolls recipes
2021-11-21 20:38:38 +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
e8089c6684
Allow using user's SSL certificates in Debug mode
...
This is required for Charles Proxy
2021-11-21 16:35: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
ff4be6807f
Add splash screen
2021-11-20 20:11:19 +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
d64a49b31f
Fix opening recipe info without ingredients/instructions
2021-11-17 23:21:37 +03:00
Kirill Kamakin
a67a3a5de0
Implement opening of recipe info card
2021-11-17 22:59:01 +03:00
Kirill Kamakin
7ebe89adfc
Implement loading and saving full recipe info
2021-11-17 20:44:14 +03:00
Kirill Kamakin
c2129c763e
Implement proper loading of recipe summaries
2021-11-16 22:41:21 +03:00
Kirill Kamakin
9da3c44d40
Support showing placeholders in recipe view holders
2021-11-15 19:43:30 +03:00
Kirill Kamakin
96d337e7a1
Fit image
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
7e1576e8f6
Implement logout feature
2021-11-14 11:51:31 +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
284f32588f
Add new launcher icon
2021-11-13 15:09:39 +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
ef3c010f96
Rearrange auth inputs
2021-11-13 15:09:38 +03:00
Kirill Kamakin
3d7048a381
Forget we were on auth screen after it's gone
2021-11-13 15:09:34 +03:00