Commit Graph

374 Commits

Author SHA1 Message Date
topjohnwu
5d400fbe90 Check REQUEST_INSTALL_PACKAGES before actions 2022-02-14 02:15:50 -08:00
topjohnwu
256ff31d11 Show notification after app upgrade 2022-02-13 18:35:35 -08:00
Madis Otenurm
97037f7d03 Update strings.xml 2022-02-06 06:51:11 -08:00
topjohnwu
d742cfa48f Label Zygisk as beta 2022-01-25 01:41:51 -08:00
topjohnwu
d3eb61e0e4 Fix string resources 2022-01-23 02:41:56 -08:00
vvb2060
bf8b74e996 Module json add changelog 2022-01-22 14:44:37 -08:00
topjohnwu
a73acfb9c2 Show unloaded Zygisk modules in UI 2022-01-21 05:37:47 -08:00
canyie
454e5dfc5d Show confirmation dialog before restore app 2022-01-21 01:35:11 -08:00
topjohnwu
abfd3c3e5d Remove unused resources 2022-01-20 03:32:08 -08:00
vvb2060
2997258fd0 Cleanup code 2022-01-18 02:02:41 -08:00
vvb2060
11600fc116 Use libs instead of copy 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
topjohnwu
a7af8b5722 Add DoH back
JSDelivr is no longer China friendly
2022-01-13 03:50:29 -08:00
vvb2060
fd7bf2bc3a Support PATCHVBMETAFLAG env variable 2022-01-12 02:29:34 -08:00
Allan Nordhøy
69617309f8
English language string fixes 2021-12-14 02:51:54 -08:00
RikkaW
28b5faab0c Visual changes 2021-11-14 03:58:35 -08:00
topjohnwu
82a01c22d3 Cleanup resources 2021-11-14 00:45:39 -08:00
topjohnwu
ddd153c00d Show module suspend notice
Close #4862
2021-11-09 23:59:37 -08:00
topjohnwu
98deec232b Minor adjustments 2021-11-05 13:55:18 -07:00
topjohnwu
022c217cfe Migrate to SplashScreen API 2021-11-05 04:16:58 -07:00
RikkaW
627ec91687 Fix visual issues for ActionBar 2021-11-04 20:09:19 -07:00
topjohnwu
db590091b3 Propagate Zygisk state to Magisk app 2021-09-18 02:38:53 -07:00
topjohnwu
c0be5383de Support enable/disable Zygisk 2021-09-15 02:49:54 -07:00
topjohnwu
8d59caf635 Cleanup unused code 2021-09-13 01:06:43 -07:00
topjohnwu
acf25aa4d3 Remove DoH 2021-09-13 00:44:49 -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
649b49ff45 Don't hold resources in Settings objects 2021-04-18 04:14:43 -07:00
topjohnwu
1f0a35f073 Set minSdkVersion to 21 2021-04-09 20:01:32 -07: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
860a05abf2 Simplify UpdateChannel 2021-02-22 03:08:51 -08:00
vvb2060
bba2ac8817 Add unsupport env check 2021-02-22 03:08:51 -08:00
topjohnwu
75584e2b19 App string resources overhaul 2021-02-11 02:34:27 -08:00
topjohnwu
c609a01e55 Proper shortcut name 2021-01-24 08:00:17 -08:00
vvb2060
ec1af9dc1e Delete useless arrays 2020-12-09 00:17:58 -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
RikkaW
fa3ef8a1c1 Significantly simplify MagiskDialog layout
The goal of original implementation, wrap view again and again, seems to be use the shadow and customizable round corners from MaterialCardView. But this can be done with use MaterialShapeDrawable which used in MaterialCardView directly. This will significantly simplify the layout and MagiskDialog class.
2020-11-19 23:21:36 -08:00
RikkaW
c93ada03c7 Implement Edge-to-edge with newer APIs
The implementation adds a "Base" family styles, making creating themes across multiple API versions more clearer and easier.
2020-11-19 23:21:36 -08:00
Ilya Kushnir
4d9f58ee72
Update RU strings & tidying up EN 2020-11-13 03:03:35 -08:00
vvb2060
533cb8eb58 Tapjacking protection 2020-10-22 02:40:47 -07:00
vvb2060
468796c23d Add option to show OS apps 2020-10-17 05:57:43 -07:00
topjohnwu
9087207dc0 Minor changes 2020-10-17 04:14:12 -07:00
vvb2060
2760f37e6b Add userspace reboot 2020-10-17 03:54:51 -07:00
topjohnwu
2e4dc91b96 Better stub hiding experience 2020-10-17 03:40:43 -07:00
Rikka
bc3fbe09f5
Update several colors in themes
* Change color for Mew theme

The original color looks like disabled color.

* Change color for Zapdos theme

The original colors have extremely poor readability. For yellow colors, it is difficult to balance readability and beauty, maybe remove it is a better choice?

* Change colors

- Use original colors for dark themes
- Adjust light colors

* Change colorError for dark themes
2020-09-27 04:34:38 -07:00
vvb2060
7ac55068db Catch ActivityNotFoundException 2020-09-27 04:33:46 -07:00
nikk
f575155a41
Fix focus on main elements in Modern UI
Co-authored-by: John Wu <topjohnwu@gmail.com>
2020-09-21 03:27:29 -07:00
RikkaW
fc76673802 Black splash screen background for dark theme 2020-09-21 03:15:59 -07:00
topjohnwu
2dbaf9595c Remove strokes from most cards 2020-09-17 02:27:43 -07:00
RikkaW
d5a7a75d9d Set android:windowContentOverlay to null so that there will be not "shadow" on pre-21 2020-09-13 12:40:40 -07:00