Remove unused resources

This commit is contained in:
topjohnwu
2020-08-11 04:33:07 -07:00
parent 5e3c9e5022
commit 6c8fe46590
60 changed files with 17 additions and 1063 deletions
-5
View File
@@ -83,9 +83,4 @@
<item>@string/settings_update_custom</item>
</string-array>
<string-array name="span_count">
<item>@string/settings_grid_column_count_1</item>
<item>@string/settings_grid_column_count_2</item>
</string-array>
</resources>
+1 -7
View File
@@ -1,12 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="card_elevation">2dp</dimen>
<dimen name="fab_padding">16dp</dimen>
<dimen name="margin_generic_double">32dp</dimen>
<dimen name="margin_generic">16dp</dimen>
<dimen name="margin_generic_half">8dp</dimen>
<dimen name="radius_generic">8dp</dimen>
<dimen name="l_125">2dp</dimen>
<dimen name="l_25">4dp</dimen>
@@ -19,7 +14,6 @@
<dimen name="r1">8dp</dimen>
<!--l1 + fab size-->
<dimen name="margin_fab">80dp</dimen>
<dimen name="internal_action_bar_size">56dp</dimen>
</resources>
</resources>
-2
View File
@@ -3,7 +3,6 @@
<!-- Static strings -->
<string name="app_name" translatable="false">Magisk Manager</string>
<string name="re_app_name" translatable="false">Manager</string>
<string name="magisk" translatable="false">Magisk</string>
<string name="magiskhide" translatable="false">MagiskHide</string>
<string name="empty" translatable="false"/>
@@ -13,6 +12,5 @@
<string name="paypal" translatable="false">PayPal</string>
<string name="patreon" translatable="false">Patreon</string>
<string name="twitter" translatable="false">Twitter</string>
<string name="xda" translatable="false">XDA</string>
</resources>
-26
View File
@@ -16,27 +16,17 @@
<string name="app_changelog">Changelog</string>
<string name="manager">Manager</string>
<string name="loading">Loading…</string>
<string name="info">Info</string>
<string name="uninstall">Uninstall</string>
<string name="update">Update</string>
<string name="not_available">N/A</string>
<string name="hide">Hide</string>
<string name="status">Status</string>
<string name="home_package">Package</string>
<string name="details">Details</string>
<string name="home_notice_content">Always make sure you\'re using open-source Magisk Manager. Manager of unknown source can perform malicious actions.</string>
<string name="home_support_title">Support Us</string>
<string name="home_links_project">Project links</string>
<string name="home_item_source">Source</string>
<string name="home_support_content">Magisk is, and always will be, free and open-source. You can however show us that you care by sending a small donation.</string>
<string name="home_device_title">Device</string>
<string name="home_device_extra_manufacturer">Manufacturer</string>
<string name="home_device_extra_model">Model</string>
<string name="home_device_extra_board">Board</string>
<string name="home_device_system">System</string>
<string name="home_status_normal">Normal</string>
<string name="home_status_safe">Safe Mode</string>
<string name="home_status_stub">Stub</string>
<string name="home_installed_version">Installed</string>
<string name="home_latest_version">Latest</string>
@@ -78,7 +68,6 @@
<string name="sixtymin">60 mins</string>
<string name="su_allow_toast">%1$s was granted Superuser rights</string>
<string name="su_deny_toast">%1$s was denied Superuser rights</string>
<string name="no_apps_found">No apps found</string>
<string name="su_snack_grant">Superuser rights of %1$s are granted</string>
<string name="su_snack_deny">Superuser rights of %1$s are denied</string>
<string name="su_snack_notif_on">Notifications of %1$s are enabled</string>
@@ -110,7 +99,6 @@
<string name="safetynet_attest_failure">Attestation failed!</string>
<string name="safetynet_attest_loading">Just a sec…</string>
<string name="safetynet_attest_restart">Try again</string>
<string name="safetynet_system">System</string>
<!-- MagiskHide -->
<string name="show_system_app">Show system apps</string>
@@ -121,20 +109,16 @@
<!--Module -->
<string name="no_info_provided">(No info provided)</string>
<string name="no_modules_found">No modules found</string>
<string name="reboot_recovery">Reboot to Recovery</string>
<string name="reboot_bootloader">Reboot to Bootloader</string>
<string name="reboot_download">Reboot to Download</string>
<string name="reboot_edl">Reboot to EDL</string>
<string name="module_safe_mode_message">You\'re in safe mode. None of user modules will work.\nThis message will disappear once safe mode is disabled.</string>
<string name="module_version_author">%1$s by %2$s</string>
<string name="module_section_pending">Updates</string>
<string name="module_section_pending_action">Update all</string>
<string name="module_section_remote">Remote</string>
<string name="module_state_remove">Remove</string>
<string name="module_state_restore">Restore</string>
<string name="module_action_install_external">Install from storage</string>
<string name="module_update_none">Your modules are up to date!</string>
<string name="update_available">Update Available</string>
<string name="module_installed">@string/home_installed_version</string>
<string name="module_section_online">Online</string>
@@ -146,12 +130,6 @@
<string name="settings_dark_mode_light">Always Light</string>
<string name="settings_dark_mode_system">Follow System</string>
<string name="settings_dark_mode_dark">Always Dark</string>
<string name="settings_safe_mode_title">Safe Mode</string>
<string name="settings_core_only_summary" deprecated="true">Enable only core features. MagiskSU and MagiskHide will still be enabled, but no modules will be loaded</string>
<string name="settings_grid_column_count_title">List arrangement</string>
<string name="settings_grid_column_count_summary">Sets item width in a list. Restart app to apply changes.</string>
<string name="settings_grid_column_count_1">Standard</string>
<string name="settings_grid_column_count_2">Squished</string>
<string name="settings_download_path_title">Download path</string>
<string name="settings_download_path_message">Files will be saved to %1$s</string>
<string name="settings_clear_cache_title">Clear Repo Cache</string>
@@ -212,7 +190,6 @@
<string name="global_summary">All root sessions use the global mount namespace</string>
<string name="requester_summary">Root sessions will inherit their requester\'s namespace</string>
<string name="isolate_summary">Each root session will have its own isolated namespace</string>
<string name="settings_download_path_error">Error creating folder. It must be accessible from storage root directory and must not be a file.</string>
<!--Notifications-->
<string name="update_channel">Magisk Updates</string>
@@ -231,11 +208,8 @@
<string name="repo_install_msg">Do you want to install %1$s now?</string>
<string name="download">Download</string>
<string name="reboot">Reboot</string>
<string name="settings_reboot_toast">Reboot to apply settings</string>
<string name="release_notes">Release notes</string>
<string name="repo_cache_cleared">Repo cache cleared</string>
<string name="dtbo_patched_title">DTBO was patched!</string>
<string name="dtbo_patched_reboot">Magisk Manager has patched dtbo.img. Please reboot.</string>
<string name="flashing">Flashing…</string>
<string name="done">Done!</string>
<string name="failure">Failed</string>
+1 -25
View File
@@ -7,30 +7,6 @@
<style name="W.Home" />
<!--remove-->
<style name="W.Home.Extra" />
<!--remove-->
<style name="W.Home.Extra.Title">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:textAppearance">@style/AppearanceFoundation.Caption.Variant</item>
<item name="android:singleLine">true</item>
</style>
<!--remove-->
<style name="W.Home.Extra.Value">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:textAppearance">@style/AppearanceFoundation.Caption</item>
<item name="android:textStyle">bold</item>
<item name="android:layout_marginStart">@dimen/l_50</item>
<item name="layout_constrainedWidth">true</item>
<item name="layout_constraintHorizontal_bias">0</item>
<item name="android:ellipsize">middle</item>
<item name="android:singleLine">true</item>
</style>
<style name="W.Home.Card" parent="WidgetFoundation.Card">
<item name="android:layout_marginStart">@dimen/l1</item>
<item name="android:focusable">true</item>
@@ -113,4 +89,4 @@
<!--endregion-->
</resources>
</resources>