1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-04 18:29:23 +02:00

added android-filechooser library

This commit is contained in:
Nikolay Pultsin 2014-04-13 16:51:35 +01:00
parent 03f3e765b8
commit a26d373a74
239 changed files with 7305 additions and 0 deletions

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2012 Hai Bison
See the file LICENSE at the root directory of this project for copying
permission.
-->
<resources>
<color name="afc_border_line_dark">#33B5E5</color>
</resources>

View file

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2012 Hai Bison
See the file LICENSE at the root directory of this project for copying
permission.
-->
<resources>
<dimen name="afc_30dp">30dp</dimen>
<dimen name="afc_15dp">15dp</dimen>
<dimen name="afc_10dp">10dp</dimen>
<dimen name="afc_5dp">5dp</dimen>
<dimen name="afc_button_location_max_width">256sp</dimen>
<dimen name="afc_button_location_min_width">15sp</dimen>
<dimen name="afc_context_menu_item_padding_left">18sp</dimen>
<dimen name="afc_single_button_min_width">192sp</dimen>
<dimen name="afc_viewgroup_button_locations_bottom_divider_height">1dp</dimen>
</resources>

View file

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2012 Hai Bison
See the file LICENSE at the root directory of this project for copying
permission.
-->
<resources>
<string name="afc_pkey_display_view_type">afc.display.view_type</string>
<string name="afc_pkey_display_sort_type">afc.display.sort_type</string>
<string name="afc_pkey_display_sort_ascending">afc.display.sort_ascending</string>
<string name="afc_pkey_display_show_time_for_old_days_this_year">afc.display.show_time_for_old_days_this_year</string>
<string name="afc_pkey_display_show_time_for_old_days">afc.display.show_time_for_old_days</string>
<string name="afc_pkey_display_remember_last_location">afc.display.remember_last_location</string>
<string name="afc_pkey_display_last_location">afc.display.last_location</string>
<integer name="afc_pkey_display_view_type_def">0</integer>
<integer name="afc_pkey_display_sort_type_def">0</integer>
<bool name="afc_pkey_display_sort_ascending_def">true</bool>
<bool name="afc_pkey_display_show_time_for_old_days_this_year_def">false</bool>
<bool name="afc_pkey_display_show_time_for_old_days_def">false</bool>
<bool name="afc_pkey_display_remember_last_location_def">true</bool>
</resources>

View file

@ -0,0 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2012 Hai Bison
See the file LICENSE at the root directory of this project for copying
permission.
-->
<resources>
<string name="afc_lib_name">android-filechooser</string>
<string name="afc_cmd_advanced_selection_all">All</string>
<string name="afc_cmd_advanced_selection_invert">Invert selection</string>
<string name="afc_cmd_advanced_selection_none">None</string>
<string name="afc_cmd_clear">Clear</string>
<string name="afc_cmd_grid_view">Grid view</string>
<string name="afc_cmd_home">Home</string>
<string name="afc_cmd_list_view">List view</string>
<string name="afc_cmd_new_folder">New folder…</string>
<string name="afc_cmd_reload">Reload</string>
<string name="afc_cmd_remove_from_list">Remove from list</string>
<string name="afc_cmd_select_all_files">Select all files</string>
<string name="afc_cmd_select_all_folders">Select all folders</string>
<string name="afc_cmd_sort">Sort…</string>
<string name="afc_ellipsize"></string>
<string name="afc_file">file</string>
<string name="afc_folder">folder</string>
<string name="afc_hint_double_tap_to_select_file">Double tap to select file/ folder</string>
<string name="afc_hint_folder_name">folder name</string>
<string name="afc_hint_save_as_filename">filename</string>
<string name="afc_msg_app_doesnot_have_permission_to_create_files">This application does not have permission to create files/ folders</string>
<string name="afc_msg_app_doesnot_have_permission_to_delete_files">This application does not have permission to delete files/ folders</string>
<string name="afc_msg_cancelled">Cancelled</string>
<string name="afc_msg_cannot_connect_to_file_provider_service">Can not connect to file provider service</string>
<string name="afc_msg_done">Done</string>
<string name="afc_msg_empty">…empty</string>
<string name="afc_msg_filename_is_empty">Filename is empty</string>
<string name="afc_msg_loading">Loading…</string>
<string name="afc_pmsg_cannot_access_dir">Can not access \"%1$s\"</string>
<string name="afc_pmsg_cannot_create_folder">Can not create folder \"%1$s\"</string>
<string name="afc_pmsg_cannot_delete_file">Can not delete %1$s \"%2$s\"</string>
<string name="afc_pmsg_confirm_delete_file">Are you sure you want to delete this %1$s \"%2$s\"?</string>
<string name="afc_pmsg_confirm_replace_file">This file \"%1$s\" already exists.\n\nDo you want to replace it?</string>
<string name="afc_pmsg_deleting_file">Deleting %1$s \"%2$s\"…</string>
<string name="afc_pmsg_file_has_been_deleted">…%1$s \"%2$s\" has been deleted</string>
<string name="afc_pmsg_filename_is_directory">\"%1$s\" is a folder</string>
<string name="afc_pmsg_filename_is_invalid">File name \"%1$s\" is invalid</string>
<string name="afc_pmsg_max_file_count_allowed">…has more files, max allowed: %1$,d</string>
<string name="afc_pmsg_unknown_error">Unknown error: %1$s</string>
<string name="afc_pmsg_xxx_items">%1$,d items</string>
<string name="afc_root">Root</string>
<string name="afc_title_advanced_selection">Select…</string>
<string name="afc_title_alert">Alert</string>
<string name="afc_title_choose_directories">Choose folders…</string>
<string name="afc_title_choose_files">Choose files…</string>
<string name="afc_title_choose_files_and_directories">Choose files/ folders…</string>
<string name="afc_title_confirmation">Confirmation</string>
<string name="afc_title_date">Date</string>
<string name="afc_title_error">Error</string>
<string name="afc_title_history">History</string>
<string name="afc_title_info">Info</string>
<string name="afc_title_name">Name</string>
<string name="afc_title_save_as">Save as…</string>
<string name="afc_title_size">Size</string>
<string name="afc_title_sort_by">Sort by…</string>
<string name="afc_yesterday">Yesterday</string>
<string name="afc_msg_app_cant_create_folder">Can\'t create folder in this directory</string>
<string name="afc_msg_app_cant_choose_folder">Can\'t choose this folder</string>
</resources>

View file

@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2012 Hai Bison
See the file LICENSE at the root directory of this project for copying
permission.
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<style name="afc_button_location" parent="@android:style/Widget.TextView">
<item name="android:textColor">#ffffff</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">match_parent</item>
<item name="android:layout_gravity">center_vertical</item>
<item name="android:background">@drawable/afc_selector_button_location_dark</item>
<item name="android:layout_margin">0dp</item>
<item name="android:ellipsize">end</item>
<item name="android:maxWidth">@dimen/afc_button_location_max_width</item>
<item name="android:minWidth">@dimen/afc_button_location_min_width</item>
<item name="android:padding">0dp</item>
<item name="android:singleLine">true</item>
<item name="android:gravity">center</item>
<item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
</style>
<style name="afc_button_navi_left">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:adjustViewBounds">true</item>
<item name="android:scaleType">center</item>
<item name="android:src">@drawable/afc_selector_button_navi_left</item>
<item name="android:layout_marginTop">@dimen/afc_5dp</item>
<item name="android:layout_gravity">center</item>
<item name="android:minHeight">@dimen/afc_button_navigators_min_height</item>
</style>
<style name="afc_button_navi_right" parent="afc_button_navi_left">
<item name="android:src">@drawable/afc_selector_button_navi_right</item>
</style>
<style name="afc_button_create_folder" parent="afc_button_navi_left">
<item name="android:src">@drawable/afc_selector_button_create_folder</item>
<item name="android:layout_marginRight">@dimen/afc_5dp</item>
<item name="android:layout_marginLeft">@dimen/afc_5dp</item>
</style>
<style name="afc_button_sort" parent="afc_button_create_folder">
<item name="android:src">@drawable/afc_selector_button_sort_as</item>
</style>
<style name="afc_button_folders_view" parent="afc_button_create_folder">
<item name="android:src">@drawable/afc_selector_button_folders_view_list</item>
</style>
</resources>