Commit Graph

75 Commits

Author SHA1 Message Date
topjohnwu 357d913f18 Dynamically generate component names at runtime 2022-08-26 06:31:51 -07:00
topjohnwu 928a16d8cc Update app to target API 33
Close #6206
2022-08-23 03:59:09 -07:00
topjohnwu 317153c53a Better stub launch flow 2022-06-05 19:15:43 -07:00
残页 2106751ea4 Fix SnackBar shows behind window insets 2022-06-03 03:21:56 -07:00
南宫雪珊 580c993c0b Display module status 2022-05-29 01:40:20 -07:00
topjohnwu 683cfee88b Cleanup and move things around 2022-05-26 22:05:28 -07:00
topjohnwu 3bcaf0ed5b Move more files into core 2022-05-25 05:48:02 -07:00
vvb2060 77a275cbcd Show notification when stub is updated to full 2022-02-16 23:04:03 -08:00
topjohnwu 256ff31d11 Show notification after app upgrade 2022-02-13 18:35:35 -08:00
topjohnwu 8eac6c0b48 Cleanup arch classes 2022-01-22 14:44:46 -08:00
vvb2060 a01a3404fe Ignore duplicate clicks on BottomNavigationView
Co-authored-by: RikkaW <rikka@shizuku.moe>
2022-01-21 02:12:41 -08:00
topjohnwu 47545b45b8 Clean up MagiskDialog 2022-01-21 00:50:02 -08:00
topjohnwu 7dfe3e53d5 Optimize imports 2022-01-18 03:58:47 -08:00
vvb2060 2997258fd0 Cleanup code 2022-01-18 02:02:41 -08:00
RikkaW bfe6bc3095 Fix bottom nav sometimes not hide correctly
Replace homemade animation with StateListAnimator
2022-01-18 00:24:16 -08:00
RikkaW 1df2a04713 Find suitable anchor view for SnackBar
This will fix the SnackBar position if BottomNav or FAB is visible.

Fix #5163
Fix #5135
2022-01-10 23:10:42 -08:00
RikkaW 5fa127c415 Disable modules section if Magisk is not active
Fix #4925
2021-11-12 03:02:26 -08:00
topjohnwu 022c217cfe Migrate to SplashScreen API 2021-11-05 04:16:58 -07:00
vvb2060 82f303e1c6 Allow save app log when not activated
may be useful for patch boot.
2021-09-16 19:44:45 -07:00
topjohnwu 16de4674ec Move denylist fragment to settings 2021-09-13 00:33:36 -07:00
topjohnwu 65b0ea792e MagiskHide is no more 2021-09-12 12:40:34 -07:00
topjohnwu fc6b02f607 Move denylist fragment to its own section 2021-09-12 00:39:24 -07:00
RikkaW 383192784d Use standard BottomNav & Remove hide on scroll for AppBar and BottomNav 2021-09-03 10:22:46 -07:00
topjohnwu 038f73a5f7 Remove Koin
Non static DI is bad
2021-04-18 04:46:11 -07:00
topjohnwu 1f0a35f073 Set minSdkVersion to 21 2021-04-09 20:01:32 -07:00
topjohnwu bd935b0553 Cleanup fragment navigations 2021-03-16 04:58:02 -07:00
Shaka Huang ba1ce16b8b Fix error in pure 64-bit environment
In Android S preview, there’s no 32-bit libraries in x86_64 system image for emulator.

Signed-off-by: Shaka Huang <shakalaca@gmail.com>
2021-02-22 03:28:54 -08:00
topjohnwu 68090943f4 Several changes
- Change error message strings
- Move non-root stub error to SplashActivity
- Skip shell init in non-root stub
2021-02-22 03:28:19 -08:00
vvb2060 bba2ac8817 Add unsupport env check 2021-02-22 03:08:51 -08:00
topjohnwu f88e812b63 Move behavior to XML 2021-02-13 15:26:32 -08:00
vvb2060 039d4936cb Disable superuser fragment properly 2020-12-09 01:16:30 -08:00
RikkaW 0df891b336 Handle window insets with a new way
For example, switching pages in home should only have scale and alpha animations, but a "translate y" animation shows. This is because Data Binding is triggered later (like "in the next frame"), causing the animation runs before view attribute changes.

This commit introduces WindowInsetsHelper class and use it to handle all window insets. With the help of LayoutInflaterFactory from the previous commit, we can control insets behavior by adding our attributes to the XML and anything is done by WindowInsetsHelper class.

As changes are highly coupling, this commit also contains new ItemDecoration for lists, replacing the random combination of padding and empty drawable. And "fixEdgeEffect" extension for RecyclerView, making edge effects respect padding.
2020-11-19 23:24:39 -08:00
vvb2060 de4e26b488 Allow download modules when Magisk is not installed 2020-09-23 20:57:19 -07:00
Viktor De Pasquale 3c0630bfc0 Added forced checks on view being attached to window before performing hiding on it 2020-09-22 20:40:28 -07:00
topjohnwu d7f7508fa2 Move setContentView out of onCreate 2020-09-11 02:31:41 -07:00
vvb2060 e0642b018d Update zh-rCN translation 2020-08-28 04:54:32 -07:00
topjohnwu a22a1dd284 Only offer shortcuts when running as stub 2020-08-22 10:51:32 -07:00
topjohnwu 4b238a9cd0 Add feature to create launch shortcuts 2020-08-21 03:36:12 -07:00
topjohnwu 105b2fc114 Ensure SplashActivity is ran before MainActivity 2020-08-19 05:19:24 -07:00
topjohnwu 7c319f5fc3 Moar refactoring 2020-08-19 05:19:24 -07:00
topjohnwu 846bbb4da1 Reorganize app source code 2020-08-18 06:31:15 -07:00
topjohnwu 2c12fe6eb2 More efficient databinding 2020-07-12 03:17:50 -07:00
topjohnwu b41b2283f4 Rename package 2020-07-11 05:36:31 -07:00
topjohnwu 18dab28c32 Remove usage of KObservableField 2020-07-08 06:14:32 -07:00
Viktor De Pasquale d9cf33d1ba Fixed shortcuts
This has been broken due to recent transition to navigation components
2020-04-12 05:40:19 -07:00
Viktor De Pasquale 51402e68d2 Fixed log not displaying back button when alternative view is shown 2020-03-26 03:42:52 -07:00
Viktor De Pasquale 1b8813228b Updated the app to use navigation components instead of custom solution
Welcome to mid 2018.
2020-03-26 03:42:52 -07:00
Viktor De Pasquale edff094626 Added log as primary fragment 2020-03-26 03:42:52 -07:00
topjohnwu 200bf993d8 Show unsupported message when running low versions 2020-02-28 21:09:52 -08:00
topjohnwu d0112f989c Cleanup classes 2020-01-29 01:49:59 +08:00