Skip to content

Commit

Permalink
cleanup resource using lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tranleduy2000 committed Jun 9, 2018
1 parent df0853f commit 005a4f4
Show file tree
Hide file tree
Showing 407 changed files with 5 additions and 13,634 deletions.
8 changes: 0 additions & 8 deletions androidlogcat/src/main/res/drawable/shadow.xml

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 0 additions & 2 deletions androidlogcat/src/main/res/values-xlarge/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@

<dimen name="log_level_width">20dp</dimen>

<dimen name="main_button_height">60dp</dimen>
<dimen name="main_button_width">65dp</dimen>
</resources>
5 changes: 0 additions & 5 deletions androidlogcat/src/main/res/values/arrays.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
<item>@string/pref_theme_choice_tmobile_name</item>
</string-array>

<string-array name="filter_choices">
<item>@string/filter_choice_tag</item>
<item>@string/filter_choice_pid</item>
</string-array>

<string-array name="log_levels">
<item>@string/log_level_verbose</item>
<item>@string/log_level_debug</item>
Expand Down
16 changes: 0 additions & 16 deletions androidlogcat/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
<resources>

<color name="imageBackground">#DDFFFFFF</color>
<color name="imageBorder">#FF333333</color>

<color name="orange1">#FFf26700</color>
<color name="orange2">#FFff9000</color>
<color name="yellow1">#FFfbad00</color>
<color name="yellow2">#FFffc600</color>

<color name="action_bar_start">#FFFBFBFB</color>
<color name="action_bar_end">#FFCCCCCC</color>

<color name="linkColorBlue">#0099dd</color>

<color name="dark_divider">#33cccccc</color>

<color name="background_wtf">#FF999900</color>
<color name="background_error">#FFCC0000</color>
Expand All @@ -37,7 +24,6 @@
<color name="main_background_sprint">#FF000000</color>
<color name="main_background_tmobile">#FFeaeff3</color>

<color name="main_foreground_dark">@android:color/darker_gray</color>
<color name="main_foreground_light">@android:color/black</color>
<color name="main_foreground_android">@android:color/black</color>
<color name="main_foreground_verizon">#FFed1f24</color>
Expand Down Expand Up @@ -115,8 +101,6 @@
<color name="android_theme_tag_color_16">#FFCC3399</color>
<color name="android_theme_tag_color_17">#FFFFCC00</color>

<color name="primary">#F44336</color>
<color name="primary_dark">#D32F2F</color>
<color name="accent">#448AFF</color>


Expand Down
3 changes: 0 additions & 3 deletions androidlogcat/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,5 @@
<dimen name="tag_width">70dp</dimen>
<dimen name="pid_width">85dp</dimen>

<dimen name="main_button_height">47dp</dimen>
<dimen name="main_button_width">52dp</dimen>

<dimen name="fab_compat_margin">0dp</dimen>
</resources>
4 changes: 1 addition & 3 deletions androidlogcat/src/main/res/values/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#607D8B</color>
</resources>
<resources></resources>
19 changes: 0 additions & 19 deletions androidlogcat/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
<string name="log_level_warn">Warn</string>
<string name="log_level_wtf">What a Terrible Failure</string>

<string name="pref_about">about</string>
<string name="pref_buffer">buffer</string>
<string name="pref_buffer_choice_events_value">events</string>
<string name="pref_buffer_choice_main_value">main</string>
Expand Down Expand Up @@ -72,7 +71,6 @@
<string name="delete_saved_log">Delete Saved Logs</string>
<string name="delimiter">, </string>
<string name="dialog_compiling_log">Compiling log…</string>
<string name="dialog_for_widget">For a <b>widget</b>,\ndo Home → Long\npress → Widgets</string>
<string name="dialog_initializing_recorder">Loading recorder…</string>
<string name="dialog_loading_updates">Loading updates…</string>
<string name="dialog_partial_select_explanation">1. Select the <b>first</b> line.\n2. Then select the <b>last</b> line.</string>
Expand All @@ -91,18 +89,12 @@
<string name="filter_choice_tag">Tag</string>
<string name="filter_text_colon">Filter text:</string>

<string name="first_run_pref_summary">Show introductory message again.</string>
<string name="first_run_pref_title">Reset Introduction</string>
<string name="first_run_title">Welcome to log cat!</string>

<string name="log_cleared">Logs cleared</string>
<string name="log_level">Log Level</string>
<string name="log_level_colon">Log level:</string>
<string name="log_recording_started">Log recording started.</string>
<string name="log_saved">Log saved.</string>

<string name="main_edit_text_hint">Search logs</string>

<string name="manage_saved_logs">Manage Saved Logs</string>

<string name="menu_title_partial_select">Save Partial</string>
Expand Down Expand Up @@ -143,13 +135,9 @@
<string name="pref_theme_choice_sprint_name">Big Yellow</string>
<string name="pref_theme_choice_tmobile_name">T-Mo</string>
<string name="pref_theme_choice_verizon_name">Big Red</string>
<string name="pref_theme_summary_free">Requires donate version.</string>
<string name="pref_theme_title">Color Scheme</string>

<string name="record_log">Record Log</string>

<string name="recording_in_progress">Recording already in progress.</string>

<string name="save">Save</string>
<string name="save_as">Save As…</string>
<string name="save_log">Save Log</string>
Expand All @@ -158,8 +146,6 @@

<string name="select_logs_to_delete">Select which logs to delete.</string>

<string name="send_as_attachment">Send as Attachment</string>
<string name="send_as_text">Send as Text</string>
<string name="send_log">Send</string>
<string name="send_log_title">Send Log</string>

Expand All @@ -169,8 +155,6 @@

<string name="start_recording_log">Record</string>

<string name="stop_recording_log">Stop Recording</string>

<string name="subject_log_report">Log report</string>

<string name="text_filter_ellipsis">Filter…</string>
Expand All @@ -194,15 +178,12 @@
<item quantity="other">Log too large; showing last %d lines.</item>
</plurals>

<string name="toast_no_root">Could not obtain root. You will only see own logs.</string>
<string name="toast_pref_changed_restart_required">Setting updated. Restart app to see the changes.</string>
<string name="toast_request_root">Logcat requires root (superuser) access to read logs.</string>
<string name="toast_started_select_partial">Select Partial mode enabled</string>

<string name="unable_to_save_log">Unable to save log. Did you enter a valid filename?</string>

<string name="version">Version %s</string>

<string name="widget_recording_in_progress">Recording…</string>
<string name="widget_start_recording">Record\nLog</string>
<string name="as_text_not_work">\"As text\" may not work due to the large amount of characters. Please try \"As attachment\"</string>
Expand Down
13 changes: 0 additions & 13 deletions androidlogcat/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
<resources>

<style name="Theme.MatLog.AlertDialog" parent="@style/Theme.AppCompat.Dialog.Alert">
<item name="colorPrimary">@color/primary</item>
<item name="colorPrimaryDark">@color/primary_dark</item>
<item name="colorAccent">@color/accent</item>

<item name="android:colorPrimary">@color/primary</item>
<item name="android:colorPrimaryDark">@color/primary_dark</item>
<item name="android:colorAccent">@color/accent</item>

<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>

</resources>

This file was deleted.

9 changes: 2 additions & 7 deletions app/src/main/java/com/duy/ide/javaide/JavaIdeActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -216,13 +216,8 @@ private void compileAndroidProject() {
}
//check launcher activity
if (((AndroidAppProject) mProject).getLauncherActivity() == null) {
String msg = getString(R.string.can_not_find_launcher_activity);
Snackbar.make(findViewById(R.id.coordinate_layout), msg, Snackbar.LENGTH_LONG)
.setAction(R.string.config, new View.OnClickListener() {
@Override
public void onClick(View view) {
}
}).show();
String message = getString(R.string.can_not_find_launcher_activity);
Toast.makeText(this, message, Toast.LENGTH_SHORT).show();
return;
}

Expand Down
3 changes: 1 addition & 2 deletions app/src/main/res-color-picker/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
<dimen name="default_slider_margin">24dp</dimen>
<dimen name="default_slider_bar_height">4dp</dimen>
<dimen name="default_slider_handler_radius">10dp</dimen>
<dimen name="default_padding_side">24dp</dimen>
<dimen name="default_preview_height">40dp</dimen>
<dimen name="default_preview_height">40dp</dimen>
<dimen name="default_preview_image_height">36dp</dimen>
<dimen name="default_slider_margin_btw_title">20dp</dimen>
</resources>
Binary file removed app/src/main/res/drawable-hdpi/app_terminal.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/atari_small.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/btn_close_window.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/ic_apk_file_white.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/ic_apps_white_24dp.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/ic_build_white_24dp.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/ic_cloud_white_24dp.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/ic_dns_white_24dp.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/ic_donate_white.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/ic_edit_white_24dp.png
Binary file not shown.
Binary file removed app/src/main/res/drawable-hdpi/ic_error_red.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-hdpi/ic_java_file_white.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-hdpi/ic_label_white_24dp.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-hdpi/ic_list_white_24dp.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-hdpi/ic_menu_add.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-hdpi/ic_menu_back.png
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-hdpi/ic_menu_forward.png
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-hdpi/ic_menu_windows.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-hdpi/ic_play_store.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-hdpi/ic_refresh_white.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-hdpi/ic_replay_white_24dp.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-hdpi/ic_search_white_24dp.png
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-hdpi/ic_stars_white_18dp.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-hdpi/ic_sync_white_24dp.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-hdpi/ic_warning_yellow.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-hdpi/ic_web_white_24dp.png
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-hdpi/sym_keyboard_delete.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-hdpi/sym_keyboard_done.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-hdpi/sym_keyboard_return.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-hdpi/sym_keyboard_space.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-ldpi/ic_calc_app.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-ldpi/ic_github.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-ldpi/ic_github_light.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-ldpi/ic_menu_add.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-ldpi/ic_sort_app.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/app_terminal.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/atari_small.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/btn_close_window.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_apk_file_white.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_apps_white_24dp.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_build_white_24dp.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_cloud_white_24dp.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_dns_white_24dp.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_donate_white.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_edit_white_24dp.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_error_red.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_java_file_white.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_label_white_24dp.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_list_white_24dp.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_menu_add.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_menu_back.png
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_menu_forward.png
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_menu_windows.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_play_store.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_refresh_white.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_replay_white_24dp.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_search_white_24dp.png
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_stars_white_18dp.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_sync_white_24dp.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_warning_yellow.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/ic_web_white_24dp.png
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/sym_keyboard_delete.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/sym_keyboard_done.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/sym_keyboard_return.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-mdpi/sym_keyboard_space.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-nodpi/atari_small_nodpi.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-nodpi/graph_bk_slash.png
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-nodpi/graph_hatch_fill.png
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-nodpi/graph_it_slash.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-nodpi/graph_line_fill.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-nodpi/graph_lt_bk_slash.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-nodpi/graph_slash_fill.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-nodpi/graph_wide_dot_fill.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-nodpi/graph_xhatch_fill.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-nodpi/ic_bar_code.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_apk_file_white.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_apps_white_24dp.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_build_white_24dp.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_cloud_white_24dp.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_dns_white_24dp.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_donate_white.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_edit_white_24dp.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_error_red.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_java_file_white.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_label_white_24dp.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_list_white_24dp.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_play_store.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_refresh_white.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_stars_white_18dp.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_sync_white_24dp.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_warning_yellow.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xhdpi/ic_web_white_24dp.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxhdpi/ic_dns_white_24dp.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxhdpi/ic_donate_white.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxhdpi/ic_edit_white_24dp.png
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxhdpi/ic_error_red.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxhdpi/ic_play_store.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxhdpi/ic_sync_white_24dp.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxhdpi/ic_web_white_24dp.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/drawable-xxxhdpi/ic_dns_white_24dp.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Loading

0 comments on commit 005a4f4

Please sign in to comment.