Skip to content

Commit

Permalink
Added some icons to 'High-Contrast' theme.
Browse files Browse the repository at this point in the history
Added xxhdpi, xxxhdpi resolution of icons.
  • Loading branch information
virxkane committed Apr 1, 2018
1 parent 269ff27 commit 089695a
Show file tree
Hide file tree
Showing 195 changed files with 2,945 additions and 98 deletions.
Binary file added android/res/drawable-hdpi/cr3_browser_back_hc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added android/res/drawable-hdpi/cr3_browser_find_hc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/res/drawable-hdpi/cr3_button_bookmarks_hc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/res/drawable-hdpi/cr3_button_go_percent_hc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/res/drawable-hdpi/cr3_option_font_face_hc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added android/res/drawable-hdpi/cr3_option_other_hc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/res/drawable-hdpi/cr3_viewer_find_hc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added android/res/drawable-hdpi/folder_big_hc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added android/res/drawable-hdpi/media_flash_microsd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added android/res/drawable-ldpi/cr3_browser_back_hc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added android/res/drawable-ldpi/cr3_browser_find_hc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/res/drawable-ldpi/cr3_button_bookmarks_hc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/res/drawable-ldpi/cr3_button_go_percent_hc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/res/drawable-ldpi/cr3_option_font_face_hc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added android/res/drawable-ldpi/cr3_option_other_hc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/res/drawable-ldpi/cr3_viewer_find_hc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added android/res/drawable-ldpi/folder_big_bookmark_hc.png
Binary file added android/res/drawable-ldpi/folder_big_hc.png
Binary file added android/res/drawable-ldpi/media_flash_microsd.png
Binary file added android/res/drawable-mdpi/cr3_browser_back_hc.png
Binary file added android/res/drawable-mdpi/cr3_browser_find_hc.png
Binary file modified android/res/drawable-mdpi/cr3_button_bookmarks_hc.png
Binary file modified android/res/drawable-mdpi/cr3_button_go_percent_hc.png
Binary file modified android/res/drawable-mdpi/cr3_option_font_face_hc.png
Binary file added android/res/drawable-mdpi/cr3_option_other_hc.png
Binary file modified android/res/drawable-mdpi/cr3_viewer_find_hc.png
Binary file added android/res/drawable-mdpi/folder_big_hc.png
Binary file added android/res/drawable-mdpi/media_flash_microsd.png
Binary file modified android/res/drawable-xhdpi/cr3_button_bookmarks_hc.png
Binary file modified android/res/drawable-xhdpi/cr3_button_go_percent_hc.png
Binary file modified android/res/drawable-xhdpi/cr3_option_font_face_hc.png
Binary file modified android/res/drawable-xhdpi/cr3_viewer_find_hc.png
Binary file added android/res/drawable-xhdpi/folder_big_hc.png
Binary file added android/res/drawable-xxhdpi/cr3_button_tts_hc.png
Binary file added android/res/drawable-xxhdpi/cr3_viewer_toc_hc.png
Binary file added android/res/drawable-xxhdpi/folder_big_hc.png
Binary file added android/res/drawable-xxxhdpi/folder_big_hc.png
2 changes: 1 addition & 1 deletion android/res/layout/root_item_dir.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
>

<ImageView android:id="@+id/item_icon"
android:src="@drawable/cr3_browser_folder_root"
android:src="?attr/cr3_browser_folder_root_drawable"
android:padding="2dip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
Expand Down
2 changes: 1 addition & 1 deletion android/res/layout/root_item_library.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
>

<ImageView android:id="@+id/item_icon"
android:src="@drawable/cr3_browser_folder_authors"
android:src="?attr/cr3_browser_folder_authors_drawable"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="fitCenter"
Expand Down
2 changes: 1 addition & 1 deletion android/res/layout/root_item_online_catalog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
>

<ImageView android:id="@+id/item_icon"
android:src="@drawable/cr3_browser_folder_opds"
android:src="?attr/cr3_browser_folder_opds_drawable"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="fitCenter"
Expand Down
55 changes: 55 additions & 0 deletions android/res/values-v4/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
<item name="cr3_button_book_open_drawable">@drawable/cr3_button_book_open</item>
<item name="cr3_browser_folder_current_book_drawable">@drawable/cr3_browser_folder_current_book</item>
<item name="cr3_browser_folder_opds_drawable">@drawable/cr3_browser_folder_opds</item>
<item name="cr3_browser_folder_opds_add_drawable">@drawable/cr3_browser_folder_opds_add</item>
<item name="cr3_button_folder_go_drawable">@drawable/cr3_button_folder_go</item>
<item name="cr3_option_font_face_drawable">@drawable/cr3_option_font_face</item>
<item name="cr3_option_font_size_drawable">@drawable/cr3_option_font_size</item>
Expand All @@ -113,6 +114,16 @@
<item name="cr3_option_text_margin_bottom_drawable">@drawable/cr3_option_text_margin_bottom</item>
<item name="cr3_option_text_align_drawable">@drawable/cr3_option_text_align</item>
<item name="cr3_option_text_indent_drawable">@drawable/cr3_option_text_indent</item>
<item name="cr3_option_controls_keys_drawable">@drawable/cr3_option_controls_keys</item>
<item name="cr3_option_controls_tapzones_drawable">@drawable/cr3_option_controls_tapzones</item>
<item name="cr3_option_other_drawable">@drawable/cr3_option_other</item>
<item name="cr3_browser_folder_authors_drawable">@drawable/cr3_browser_folder_authors</item>
<item name="cr3_browser_find_drawable">@drawable/cr3_browser_find</item>
<item name="cr3_browser_back_drawable">@drawable/cr3_browser_back</item>

<item name="folder_big_drawable">@drawable/folder_blue</item>
<item name="folder_big_bookmark_drawable">@drawable/folder_bookmark</item>
<item name="media_flash_microsd_drawable">@drawable/media_flash_sd_mmc</item>
</style>
<style name="Theme.Dark" parent="@android:style/Theme">
<item name="android:windowBackground">@drawable/background_tiled_dark</item>
Expand Down Expand Up @@ -147,6 +158,7 @@
<item name="cr3_button_book_open_drawable">@drawable/cr3_button_book_open</item>
<item name="cr3_browser_folder_current_book_drawable">@drawable/cr3_browser_folder_current_book</item>
<item name="cr3_browser_folder_opds_drawable">@drawable/cr3_browser_folder_opds</item>
<item name="cr3_browser_folder_opds_add_drawable">@drawable/cr3_browser_folder_opds_add</item>
<item name="cr3_button_folder_go_drawable">@drawable/cr3_button_folder_go</item>
<item name="cr3_option_font_face_drawable">@drawable/cr3_option_font_face</item>
<item name="cr3_option_font_size_drawable">@drawable/cr3_option_font_size</item>
Expand All @@ -172,6 +184,16 @@
<item name="cr3_option_text_margin_bottom_drawable">@drawable/cr3_option_text_margin_bottom</item>
<item name="cr3_option_text_align_drawable">@drawable/cr3_option_text_align</item>
<item name="cr3_option_text_indent_drawable">@drawable/cr3_option_text_indent</item>
<item name="cr3_option_controls_keys_drawable">@drawable/cr3_option_controls_keys</item>
<item name="cr3_option_controls_tapzones_drawable">@drawable/cr3_option_controls_tapzones</item>
<item name="cr3_option_other_drawable">@drawable/cr3_option_other</item>
<item name="cr3_browser_folder_authors_drawable">@drawable/cr3_browser_folder_authors</item>
<item name="cr3_browser_find_drawable">@drawable/cr3_browser_find</item>
<item name="cr3_browser_back_drawable">@drawable/cr3_browser_back</item>

<item name="folder_big_drawable">@drawable/folder_blue</item>
<item name="folder_big_bookmark_drawable">@drawable/folder_bookmark</item>
<item name="media_flash_microsd_drawable">@drawable/media_flash_sd_mmc</item>
</style>
<style name="Theme.White" parent="@android:style/Theme.Light">
<item name="android:windowBackground">@android:color/white</item>
Expand Down Expand Up @@ -206,6 +228,7 @@
<item name="cr3_button_book_open_drawable">@drawable/cr3_button_book_open</item>
<item name="cr3_browser_folder_current_book_drawable">@drawable/cr3_browser_folder_current_book</item>
<item name="cr3_browser_folder_opds_drawable">@drawable/cr3_browser_folder_opds</item>
<item name="cr3_browser_folder_opds_add_drawable">@drawable/cr3_browser_folder_opds_add</item>
<item name="cr3_button_folder_go_drawable">@drawable/cr3_button_folder_go</item>
<item name="cr3_option_font_face_drawable">@drawable/cr3_option_font_face</item>
<item name="cr3_option_font_size_drawable">@drawable/cr3_option_font_size</item>
Expand All @@ -231,6 +254,16 @@
<item name="cr3_option_text_margin_bottom_drawable">@drawable/cr3_option_text_margin_bottom</item>
<item name="cr3_option_text_align_drawable">@drawable/cr3_option_text_align</item>
<item name="cr3_option_text_indent_drawable">@drawable/cr3_option_text_indent</item>
<item name="cr3_option_controls_keys_drawable">@drawable/cr3_option_controls_keys</item>
<item name="cr3_option_controls_tapzones_drawable">@drawable/cr3_option_controls_tapzones</item>
<item name="cr3_option_other_drawable">@drawable/cr3_option_other</item>
<item name="cr3_browser_folder_authors_drawable">@drawable/cr3_browser_folder_authors</item>
<item name="cr3_browser_find_drawable">@drawable/cr3_browser_find</item>
<item name="cr3_browser_back_drawable">@drawable/cr3_browser_back</item>

<item name="folder_big_drawable">@drawable/folder_blue</item>
<item name="folder_big_bookmark_drawable">@drawable/folder_bookmark</item>
<item name="media_flash_microsd_drawable">@drawable/media_flash_sd_mmc</item>
</style>
<style name="Theme.Black" parent="@android:style/Theme">
<item name="android:windowBackground">@android:color/black</item>
Expand Down Expand Up @@ -265,6 +298,7 @@
<item name="cr3_button_book_open_drawable">@drawable/cr3_button_book_open</item>
<item name="cr3_browser_folder_current_book_drawable">@drawable/cr3_browser_folder_current_book</item>
<item name="cr3_browser_folder_opds_drawable">@drawable/cr3_browser_folder_opds</item>
<item name="cr3_browser_folder_opds_add_drawable">@drawable/cr3_browser_folder_opds_add</item>
<item name="cr3_button_folder_go_drawable">@drawable/cr3_button_folder_go</item>
<item name="cr3_option_font_face_drawable">@drawable/cr3_option_font_face</item>
<item name="cr3_option_font_size_drawable">@drawable/cr3_option_font_size</item>
Expand All @@ -290,6 +324,16 @@
<item name="cr3_option_text_margin_bottom_drawable">@drawable/cr3_option_text_margin_bottom</item>
<item name="cr3_option_text_align_drawable">@drawable/cr3_option_text_align</item>
<item name="cr3_option_text_indent_drawable">@drawable/cr3_option_text_indent</item>
<item name="cr3_option_controls_keys_drawable">@drawable/cr3_option_controls_keys</item>
<item name="cr3_option_controls_tapzones_drawable">@drawable/cr3_option_controls_tapzones</item>
<item name="cr3_option_other_drawable">@drawable/cr3_option_other</item>
<item name="cr3_browser_folder_authors_drawable">@drawable/cr3_browser_folder_authors</item>
<item name="cr3_browser_find_drawable">@drawable/cr3_browser_find</item>
<item name="cr3_browser_back_drawable">@drawable/cr3_browser_back</item>

<item name="folder_big_drawable">@drawable/folder_blue</item>
<item name="folder_big_bookmark_drawable">@drawable/folder_bookmark</item>
<item name="media_flash_microsd_drawable">@drawable/media_flash_sd_mmc</item>
</style>

<style name="Theme.HiContrast" parent="@android:style/Theme.Light">
Expand Down Expand Up @@ -327,6 +371,7 @@
<item name="cr3_button_book_open_drawable">@drawable/cr3_button_book_open_hc</item>
<item name="cr3_browser_folder_current_book_drawable">@drawable/cr3_browser_folder_current_book_hc</item>
<item name="cr3_browser_folder_opds_drawable">@drawable/cr3_browser_folder_opds_hc</item>
<item name="cr3_browser_folder_opds_add_drawable">@drawable/cr3_browser_folder_opds_add_hc</item>
<item name="cr3_button_folder_go_drawable">@drawable/cr3_button_folder_go_hc</item>
<item name="cr3_option_font_face_drawable">@drawable/cr3_option_font_face_hc</item>
<item name="cr3_option_font_size_drawable">@drawable/cr3_option_font_size_hc</item>
Expand All @@ -352,6 +397,16 @@
<item name="cr3_option_text_margin_bottom_drawable">@drawable/cr3_option_text_margin_bottom_hc</item>
<item name="cr3_option_text_align_drawable">@drawable/cr3_option_text_align_hc</item>
<item name="cr3_option_text_indent_drawable">@drawable/cr3_option_text_indent_hc</item>
<item name="cr3_option_controls_keys_drawable">@drawable/cr3_option_controls_keys_hc</item>
<item name="cr3_option_controls_tapzones_drawable">@drawable/cr3_option_controls_tapzones_hc</item>
<item name="cr3_option_other_drawable">@drawable/cr3_option_other_hc</item>
<item name="cr3_browser_folder_authors_drawable">@drawable/cr3_browser_folder_authors_hc</item>
<item name="cr3_browser_find_drawable">@drawable/cr3_browser_find_hc</item>
<item name="cr3_browser_back_drawable">@drawable/cr3_browser_back_hc</item>

<item name="folder_big_drawable">@drawable/folder_big_hc</item>
<item name="folder_big_bookmark_drawable">@drawable/folder_big_bookmark_hc</item>
<item name="media_flash_microsd_drawable">@drawable/media_flash_microsd</item>
</style>

<style name="Theme.Light.Dialog.Normal" parent="@style/Theme.Light">
Expand Down
11 changes: 11 additions & 0 deletions android/res/values/attrs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<attr name="cr3_button_book_open_drawable" format="reference" />
<attr name="cr3_browser_folder_current_book_drawable" format="reference" />
<attr name="cr3_browser_folder_opds_drawable" format="reference" />
<attr name="cr3_browser_folder_opds_add_drawable" format="reference" />
<attr name="cr3_button_folder_go_drawable" format="reference" />
<attr name="cr3_option_font_face_drawable" format="reference" />
<attr name="cr3_option_font_size_drawable" format="reference" />
Expand All @@ -59,4 +60,14 @@
<attr name="cr3_option_text_margin_bottom_drawable" format="reference" />
<attr name="cr3_option_text_align_drawable" format="reference" />
<attr name="cr3_option_text_indent_drawable" format="reference" />
<attr name="cr3_option_controls_keys_drawable" format="reference" />
<attr name="cr3_option_controls_tapzones_drawable" format="reference" />
<attr name="cr3_option_other_drawable" format="reference" />
<attr name="cr3_browser_folder_authors_drawable" format="reference" />
<attr name="cr3_browser_find_drawable" format="reference" />
<attr name="cr3_browser_back_drawable" format="reference" />

<attr name="folder_big_drawable" format="reference" />
<attr name="folder_big_bookmark_drawable" format="reference" />
<attr name="media_flash_microsd_drawable" format="reference" />
</resources>
Loading

0 comments on commit 089695a

Please sign in to comment.