mirror of
https://github.com/gsantner/dandelion
synced 2024-11-24 13:22:08 +01:00
Fixed lint issues by removing some unused resources
This commit is contained in:
parent
b07a1eba1e
commit
c6764f4b38
10 changed files with 3 additions and 72 deletions
|
@ -336,7 +336,7 @@ public class AboutActivity extends ThemedActivity
|
||||||
PackageInfo pInfo = getActivity().getPackageManager().getPackageInfo(getActivity().getPackageName(), 0);
|
PackageInfo pInfo = getActivity().getPackageManager().getPackageInfo(getActivity().getPackageName(), 0);
|
||||||
AppSettings appSettings = ((App) getActivity().getApplication()).getSettings();
|
AppSettings appSettings = ((App) getActivity().getApplication()).getSettings();
|
||||||
DiasporaUrlHelper urls = new DiasporaUrlHelper(appSettings);
|
DiasporaUrlHelper urls = new DiasporaUrlHelper(appSettings);
|
||||||
packageName.setText(pInfo.packageName);
|
packageName.setText(getString(R.string.fragment_debug__package_name, pInfo.packageName));
|
||||||
appVersion.setText(getString(R.string.fragment_debug__app_version, pInfo.versionName + " (" + pInfo.versionCode + ")"));
|
appVersion.setText(getString(R.string.fragment_debug__app_version, pInfo.versionName + " (" + pInfo.versionCode + ")"));
|
||||||
|
|
||||||
osVersion.setText(getString(R.string.fragment_debug__android_version, Build.VERSION.RELEASE));
|
osVersion.setText(getString(R.string.fragment_debug__android_version, Build.VERSION.RELEASE));
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
<vector android:height="24dp" android:viewportHeight="24.0"
|
|
||||||
android:viewportWidth="24.0" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
<path android:fillColor="#000000" android:pathData="M12,4l-1.41,1.41L16.17,11H4v2h12.17l-5.58,5.59L12,20l8,-8z"/>
|
|
||||||
</vector>
|
|
|
@ -1,4 +0,0 @@
|
||||||
<vector android:height="24dp" android:viewportHeight="24.0"
|
|
||||||
android:viewportWidth="24.0" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
<path android:fillColor="#FF5300" android:pathData="M20,4L4,4c-1.1,0 -1.99,0.9 -1.99,2L2,18c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2L22,6c0,-1.1 -0.9,-2 -2,-2zM20,8l-8,5 -8,-5L4,6l8,5 8,-5v2z"/>
|
|
||||||
</vector>
|
|
|
@ -1,19 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:width="24dp"
|
|
||||||
android:height="24dp"
|
|
||||||
android:viewportWidth="24"
|
|
||||||
android:viewportHeight="24">
|
|
||||||
|
|
||||||
<path
|
|
||||||
android:pathData="M0 0h24v24H0z" />
|
|
||||||
<path
|
|
||||||
android:fillColor="#000000"
|
|
||||||
android:pathData="M18 16.08c-.76 0-1.44 .3 -1.96 .77 L8.91 12.7c.05-.23 .09 -.46 .09
|
|
||||||
-.7s-.04-.47-.09-.7l7.05-4.11c.54 .5 1.25 .81 2.04 .81 1.66 0 3-1.34
|
|
||||||
3-3s-1.34-3-3-3-3 1.34-3 3c0 .24 .04 .47 .09 .7L8.04 9.81C7.5 9.31 6.79 9 6
|
|
||||||
9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05 .21 -.08
|
|
||||||
.43 -.08 .65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31
|
|
||||||
2.92-2.92s-1.31-2.92-2.92-2.92z" />
|
|
||||||
</vector>
|
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:width="24dp"
|
|
||||||
android:height="24dp"
|
|
||||||
android:viewportWidth="24"
|
|
||||||
android:viewportHeight="24">
|
|
||||||
|
|
||||||
<path
|
|
||||||
android:fillColor="#000000"
|
|
||||||
android:pathData="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59
|
|
||||||
19 19 17.59 13.41 12z" />
|
|
||||||
<path
|
|
||||||
android:pathData="M0 0h24v24H0z" />
|
|
||||||
</vector>
|
|
|
@ -5,15 +5,7 @@
|
||||||
<dimen name="activity_horizontal_margin">16dp</dimen>
|
<dimen name="activity_horizontal_margin">16dp</dimen>
|
||||||
<dimen name="activity_horizontal_margin_half">8dp</dimen>
|
<dimen name="activity_horizontal_margin_half">8dp</dimen>
|
||||||
<dimen name="activity_vertical_margin">16dp</dimen>
|
<dimen name="activity_vertical_margin">16dp</dimen>
|
||||||
<dimen name="fab_margin">16dp</dimen>
|
|
||||||
<dimen name="appbar_padding_top">8dp</dimen>
|
|
||||||
<dimen name="bottom_toolbar_height">45dp</dimen>
|
<dimen name="bottom_toolbar_height">45dp</dimen>
|
||||||
|
|
||||||
<!-- Per the design guidelines, navigation drawers should be between 240dp and 320dp:
|
|
||||||
https://developer.android.com/design/patterns/navigation-drawer.html -->
|
|
||||||
<dimen name="navigation_drawer_width">250dp</dimen>
|
|
||||||
|
|
||||||
|
|
||||||
<dimen name="textsize_badge_count">11sp</dimen>
|
<dimen name="textsize_badge_count">11sp</dimen>
|
||||||
<dimen name="color_picker_circle_size">30dp</dimen>
|
<dimen name="color_picker_circle_size">30dp</dimen>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<integer name="fade_time">1300</integer>
|
<integer name="fade_time">1300</integer>
|
||||||
<integer name="splash_delay">1500</integer>
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||||
<!-- License & help (large amount of text) -->
|
<!-- License & help (large amount of text) -->
|
||||||
<string name="fragment_license__copyright_years" translatable="false">Copyright © 2015–2016</string>
|
<string name="fragment_license__copyright_years" translatable="false">Copyright © 2015–2016</string>
|
||||||
<string name="fragment_license__license_content" translatable="false">
|
<string name="fragment_license__license_content" translatable="false">
|
||||||
|
@ -45,5 +45,5 @@
|
||||||
Also feel free to tell your friends about #DiasporaForAndroid!</string>
|
Also feel free to tell your friends about #DiasporaForAndroid!</string>
|
||||||
|
|
||||||
<!-- Lorem ipsum -->
|
<!-- Lorem ipsum -->
|
||||||
<string name="lorem_ipsum" translatable="false">Auch gibt es niemanden, der den Schmerz an sich liebt, sucht oder wünscht, nur, weil er Schmerz ist, es sei denn, es kommt zu zufälligen Umständen, in denen Mühen und Schmerz ihm große Freude bereiten können. Um ein triviales Beispiel zu nehmen, wer von uns unterzieht sich je anstrengender körperlicher Betätigung, außer um Vorteile daraus zu ziehen? Aber wer hat irgend ein Recht, einen Menschen zu tadeln, der die Entscheidung trifft, eine Freude zu genießen, die keine unangenehmen Folgen hat, oder einen, der Schmerz vermeidet, welcher keine daraus resultierende Freude nach sich zieht? Auch gibt es niemanden, der den Schmerz an sich liebt, sucht oder wünscht, nur, weil er Schmerz ist, es sei denn, es kommt zu zufälligen Umständen, in denen Mühen und Schmerz ihm große Freude bereiten können. Um ein triviales Beispiel zu nehmen, wer von uns unterzieht sich je anstrengender körperlicher Betätigung, außer um Vorteile daraus zu ziehen? Aber wer hat irgend ein Recht, einen Menschen zu tadeln, der die Entscheidung trifft, eine Freude zu genießen, die keine unangenehmen Folgen hat, oder einen, der Schmerz vermeidet, welcher keine daraus resultierende Freude nach sich zieht?</string>
|
<string name="lorem_ipsum" translatable="false" tools:ignore="UnusedResources">Auch gibt es niemanden, der den Schmerz an sich liebt, sucht oder wünscht, nur, weil er Schmerz ist, es sei denn, es kommt zu zufälligen Umständen, in denen Mühen und Schmerz ihm große Freude bereiten können. Um ein triviales Beispiel zu nehmen, wer von uns unterzieht sich je anstrengender körperlicher Betätigung, außer um Vorteile daraus zu ziehen? Aber wer hat irgend ein Recht, einen Menschen zu tadeln, der die Entscheidung trifft, eine Freude zu genießen, die keine unangenehmen Folgen hat, oder einen, der Schmerz vermeidet, welcher keine daraus resultierende Freude nach sich zieht? Auch gibt es niemanden, der den Schmerz an sich liebt, sucht oder wünscht, nur, weil er Schmerz ist, es sei denn, es kommt zu zufälligen Umständen, in denen Mühen und Schmerz ihm große Freude bereiten können. Um ein triviales Beispiel zu nehmen, wer von uns unterzieht sich je anstrengender körperlicher Betätigung, außer um Vorteile daraus zu ziehen? Aber wer hat irgend ein Recht, einen Menschen zu tadeln, der die Entscheidung trifft, eine Freude zu genießen, die keine unangenehmen Folgen hat, oder einen, der Schmerz vermeidet, welcher keine daraus resultierende Freude nach sich zieht?</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -5,13 +5,10 @@
|
||||||
<string name="pref_key__current_pod_0" translatable="false">pref_key__current_pod_0</string>
|
<string name="pref_key__current_pod_0" translatable="false">pref_key__current_pod_0</string>
|
||||||
<string name="pref_key__font_size" translatable="false">pref_key_font_size</string>
|
<string name="pref_key__font_size" translatable="false">pref_key_font_size</string>
|
||||||
<string name="pref_key__intellihide_toolbars" translatable="false">pref_key_intellihide_toolbars</string>
|
<string name="pref_key__intellihide_toolbars" translatable="false">pref_key_intellihide_toolbars</string>
|
||||||
<string name="pref_catkey__pod_settings" translatable="false">pref_key_category_pod_settings</string>
|
|
||||||
<string name="pref_catkey__category_visuals" translatable="false">pref_key_category_visuals</string>
|
|
||||||
<string name="pref_key__personal_settings" translatable="false">pref_key_personal_settings</string>
|
<string name="pref_key__personal_settings" translatable="false">pref_key_personal_settings</string>
|
||||||
<string name="pref_key__manage_tags" translatable="false">pref_key_manage_tags</string>
|
<string name="pref_key__manage_tags" translatable="false">pref_key_manage_tags</string>
|
||||||
<string name="pref_key__manage_contacts" translatable="false">pref_key_manage_contacts</string>
|
<string name="pref_key__manage_contacts" translatable="false">pref_key_manage_contacts</string>
|
||||||
<string name="pref_key__change_account" translatable="false">pref_key_change_account</string>
|
<string name="pref_key__change_account" translatable="false">pref_key_change_account</string>
|
||||||
<string name="pref_catkey__network" translatable="false">pref_key_category_network</string>
|
|
||||||
<string name="pref_key__load_images" translatable="false">pref_key_load_images</string>
|
<string name="pref_key__load_images" translatable="false">pref_key_load_images</string>
|
||||||
<string name="pref_key__clear_cache" translatable="false">pref_key_clear_cache</string>
|
<string name="pref_key__clear_cache" translatable="false">pref_key_clear_cache</string>
|
||||||
<string name="pref_key__chrome_custom_tabs_enabled" translatable="false">pref_key__chrome_custom_tabs_enabled</string>
|
<string name="pref_key__chrome_custom_tabs_enabled" translatable="false">pref_key__chrome_custom_tabs_enabled</string>
|
||||||
|
@ -33,7 +30,6 @@
|
||||||
<string name="pref_key__proxy_was_enabled" translatable="false">wasProxyEnabled</string>
|
<string name="pref_key__proxy_was_enabled" translatable="false">wasProxyEnabled</string>
|
||||||
|
|
||||||
<!-- Navigiation Slider -->
|
<!-- Navigiation Slider -->
|
||||||
<string name="pref_catkey__visibility_nav" translatable="false">pref_catkey__visibility_navslider</string>
|
|
||||||
<string name="pref_key__visibility_nav__exit" translatable="false">pref_key__visibility_navslider__exit</string>
|
<string name="pref_key__visibility_nav__exit" translatable="false">pref_key__visibility_navslider__exit</string>
|
||||||
<string name="pref_key__visibility_nav__help_license" translatable="false">pref_key__visibility_nav__help_license</string>
|
<string name="pref_key__visibility_nav__help_license" translatable="false">pref_key__visibility_nav__help_license</string>
|
||||||
<string name="pref_key__visibility_nav__public_activities" translatable="false">pref_key__visibility_nav__public_activities</string>
|
<string name="pref_key__visibility_nav__public_activities" translatable="false">pref_key__visibility_nav__public_activities</string>
|
||||||
|
@ -58,7 +54,6 @@
|
||||||
<string name="pref_key__podprofile_notification_count" translatable="false">podUserProfile_NotificationCount</string>
|
<string name="pref_key__podprofile_notification_count" translatable="false">podUserProfile_NotificationCount</string>
|
||||||
|
|
||||||
<!-- More -->
|
<!-- More -->
|
||||||
<string name="pref_catkey__category_more" translatable="false">pref_catkey__category_more</string>
|
|
||||||
<string name="pref_key__logging_spam_enabled" translatable="false">pref_key__logging_spam_enabled</string>
|
<string name="pref_key__logging_spam_enabled" translatable="false">pref_key__logging_spam_enabled</string>
|
||||||
<string name="pref_key__logging_enabled" translatable="false">pref_key__logging_enabled</string>
|
<string name="pref_key__logging_enabled" translatable="false">pref_key__logging_enabled</string>
|
||||||
<string name="pref_key__wipe_settings" translatable="false">pref_key__wipe_settings</string>
|
<string name="pref_key__wipe_settings" translatable="false">pref_key__wipe_settings</string>
|
||||||
|
@ -73,7 +68,6 @@
|
||||||
<!-- Navigiation Slider -->
|
<!-- Navigiation Slider -->
|
||||||
<string name="pref_title__sub_nav_slider">Navigation Slider</string>
|
<string name="pref_title__sub_nav_slider">Navigation Slider</string>
|
||||||
<string name="pref_desc__sub_nav_slider">Control visibility of entries in the navigation drawer</string>
|
<string name="pref_desc__sub_nav_slider">Control visibility of entries in the navigation drawer</string>
|
||||||
<string name="pref_cat__visibility_nav_items">Item visibility</string>
|
|
||||||
|
|
||||||
<!-- Themes -->
|
<!-- Themes -->
|
||||||
<string name="pref_title__themes">Theme and Colors</string>
|
<string name="pref_title__themes">Theme and Colors</string>
|
||||||
|
@ -171,7 +165,6 @@
|
||||||
<string name="pref_key__title__network" translatable="false">pref_key__title__network</string>
|
<string name="pref_key__title__network" translatable="false">pref_key__title__network</string>
|
||||||
<string name="pref_key__title__more" translatable="false">pref_key__title__more</string>
|
<string name="pref_key__title__more" translatable="false">pref_key__title__more</string>
|
||||||
<string name="pref_key__title__debugging" translatable="false">pref_key__title__debugging</string>
|
<string name="pref_key__title__debugging" translatable="false">pref_key__title__debugging</string>
|
||||||
<string name="pref_key__title__visibility_nav" translatable="false">pref_key__title__visibility_nav</string>
|
|
||||||
<string name="pref_key__title__proxy" translatable="false">pref_key__title__proxy</string>
|
<string name="pref_key__title__proxy" translatable="false">pref_key__title__proxy</string>
|
||||||
<string name="pref_key__title__themes" translatable="false">pref_key__title__themes</string>
|
<string name="pref_key__title__themes" translatable="false">pref_key__title__themes</string>
|
||||||
|
|
||||||
|
|
|
@ -9,11 +9,9 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- Application -->
|
<!-- Application -->
|
||||||
<string name="prefix_https" translatable="false">https://</string>
|
|
||||||
<string name="navigation_drawer_open">Open navigation drawer</string>
|
<string name="navigation_drawer_open">Open navigation drawer</string>
|
||||||
<string name="navigation_drawer_close">Close navigation drawer</string>
|
<string name="navigation_drawer_close">Close navigation drawer</string>
|
||||||
<string name="reload">Reload</string>
|
<string name="reload">Reload</string>
|
||||||
<string name="new_notifications">Unread notification. Want to read it?</string>
|
|
||||||
|
|
||||||
<!-- Common Words -->
|
<!-- Common Words -->
|
||||||
<string name="settings">Settings</string>
|
<string name="settings">Settings</string>
|
||||||
|
@ -42,17 +40,10 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- Pod Activity -->
|
<!-- Pod Activity -->
|
||||||
<string name="title_activity_pods">Select Pod</string>
|
|
||||||
<string name="filter_hint">Enter pod domain</string>
|
|
||||||
<string name="confirm_url">Confirm pod url</string>
|
|
||||||
<string name="search_for_pod">Search for Pod…</string>
|
|
||||||
<string name="podlist_source_note">Note: The podlist is populated by secure pods listed on https://podupti.me. You can enter in the edit field any pod not listed.</string>
|
|
||||||
<string name="valid_pod">Please enter a valid domain name</string>
|
|
||||||
<string name="podlist_error">Error: Could not retrieve list of pods!</string>
|
<string name="podlist_error">Error: Could not retrieve list of pods!</string>
|
||||||
|
|
||||||
<string name="no_internet">Sorry, you must be connected to the Internet to proceed</string>
|
<string name="no_internet">Sorry, you must be connected to the Internet to proceed</string>
|
||||||
<string name="confirmation">Confirmation</string>
|
<string name="confirmation">Confirmation</string>
|
||||||
<string name="confirm_pod">Do you really want to use\nhttps://%1$s\nas your Diaspora Pod?</string>
|
|
||||||
<string name="confirm_exit">Do you want to exit?</string>
|
<string name="confirm_exit">Do you want to exit?</string>
|
||||||
|
|
||||||
|
|
||||||
|
@ -64,7 +55,6 @@
|
||||||
<string name="nav_activities" translatable="false">@string/activities</string>
|
<string name="nav_activities" translatable="false">@string/activities</string>
|
||||||
<string name="nav_aspects" translatable="false">@string/aspects</string>
|
<string name="nav_aspects" translatable="false">@string/aspects</string>
|
||||||
<string name="nav_profile" translatable="false">@string/profile</string>
|
<string name="nav_profile" translatable="false">@string/profile</string>
|
||||||
<string name="nav_settings" translatable="false">@string/settings</string>
|
|
||||||
<string name="nav_menu_more">More</string>
|
<string name="nav_menu_more">More</string>
|
||||||
<string name="nav_help_license">About | Help</string>
|
<string name="nav_help_license">About | Help</string>
|
||||||
<string name="nav_followed_tags">Followed Tags</string>
|
<string name="nav_followed_tags">Followed Tags</string>
|
||||||
|
@ -101,9 +91,7 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- More from MainActivity -->
|
<!-- More from MainActivity -->
|
||||||
<string name="toast_set_proxy_failed">Warning: Could not set network proxy…</string>
|
|
||||||
<string name="unable_to_load_image">Unable to load image</string>
|
<string name="unable_to_load_image">Unable to load image</string>
|
||||||
<string name="all_tags">All tags</string>
|
|
||||||
|
|
||||||
<!-- Permissions -->
|
<!-- Permissions -->
|
||||||
<string name="permissions_screenshot">You must grant \"Access Storage Permission\" to save screenshots. After that you should
|
<string name="permissions_screenshot">You must grant \"Access Storage Permission\" to save screenshots. After that you should
|
||||||
|
|
Loading…
Reference in a new issue