apps-android-commons/app/src/main/res/layout
Vivek Maskara 2704c9e8f3 Multiple uploads with over haul (#1968)
* Added new upload activity that receives shared files from the gallery.  Cards show and hide, plus titles are correct.  Displayed thumbnails for the shared images

* Better handling of the view paging plus error handling for required fields.

* Code cleanup to make things more readable.

* Extracted a model from the category search fragment that can possibly be shared with the new upload activity.

* Added category selection to the combined upload screen.

* Cleanup before the home-stretch on the GUI.

* Adding license selection.

* Fixed build warnings + cleanup

* Start to support the dark theme.

* Work in progress to add quality checking.

* Fixing merge.

* GPSExtractor: optimized away the EXifInterface object

* Implemented submit functionality, temporarily fixed jacoco crash by disabling DUMMY UploadView object.

* Implemented uploading of categories along with the picture. The category screen now displays GPS and recent categories when nothing is searched.

* Implemented caching of files. Did some work on picture quality detection.

* Implemented too dark picture detection.

* Added a side card for zoom and map buttons along with pretty animations for stuff.

* Added duplicate image on commons checking and fixed files not getting proper file extensions in several places.

* Added support for map button and switched in-app upload buttons to UploadActivity

* Pretty pretty animations!

* Implemented zoom functionality for th background image. Just pinching on the image works instead of requiring buttons.

* Added multi-language descriptions with categories by region.

* Reimplemented the duplicate title checker and implemented a check against putting the same language twice in the description.

* Javadocs for Description and UploadPresenter, plus some general cleanup.

* Small code changes.

* Implemented login checks for the Upload screen.

* Implement receiving data from Nearby.

* Feature/permissions library (#1855)

* Added permission for Dexter, the runtime permission handling library

* [Preparing fir issue #1773] Added a utility function which would take the user to app settings screen where he could manually give us the required permission

* Added an alert dialog with positive and negative callback [Preparing fir issue #1773]

* Improvements in the way External Storage Permission is handled in MultipleShareActivity[Bug fix #1697]
1. Used dexter to handle the external storage permission
2. Behaviour changes : When user tries to share(uppload) images to commons via MultipleShareActivity, following decision tree is followed
	a. If the app has permission for external storage, normal upload operation is followed
	b. If the app does not has the permission for external storage, dexter is used to ask for the same
	c. If the user gives us the required permission, normal upload flow is proceeded
	d. If the doesnot gives us the required permission a rationale dialog is shown with the appropriate message to let him know why we need the permission
	e. If he presses okay, steps a-c are followed and if he presses cancel, we close the app.
	f. If while asking for permission, the user chooses never ask again, then next time he tries to upload an image via MSA, the rational dialog follows the app setting screen where he could manually give us the required permission and the onActivityResult of same is handled

* Added a Constants class to handle request and result codes from one place and other related constants common to the all app elements

* replaced hardcoded strings ok and cancel in DialogUtil to string resources

* init permission rationale dialog in activities onCreate

* Code formatting, updated access modifiers wherever required, added javadocs for new methods created

* *shifted constants to app class
*Added JavaDocs in PermissionUtils

* removed class REQUEST_CODES from CommonsApplication and instead put the enclosing constants in the App class itself

* Made Codacy happy.

* Abstarcted permission acquisition into new class DexterPermissionObtainer

* Fixed Nearby upload detection

* Migrated bad picture detection from AsyncTask to RxJava.

* Removed ShareActivity and related dead code

* Removed dead or duplicate code from FileProcessor

* Added info button to title EditText

* Fixed the add description button not disappearing.
Added "Starting Upload" toast.
Added link to the license on final screen.
Made it so that the map button is hidden when image lacks gps coords.

* Support in app multiple uploads

* Minor changes to fix build

* Changes to fix pending issues with upload flow

* Fix display of similar image fragment

* When uploading several files at once the date is missing #1854 (#2)

* Bug fix issue #1854
* updated ContributionsDao to save create date, which it was not doing currently [it was instead saving current date]
* UploadItem accepts are dateCreated param
* Added a function in UploadModel, getFileCreatedDate which tries to fetched the file creaction date from all possible content providers.

* Fix pending issues in upload flow

* Make multiple uploads work for Google Photos

* Fix default state for upload activity

* Fix keyboard state for license screen

* Fix descriptions for uploads

* wip

* Fix language spinner
2018-11-19 20:01:35 +11:00
..
activity_about.xml Deletion button being disabled (#1403) 2018-04-16 15:03:24 +03:00
activity_achievements.xml Feedback module (#1742) 2018-07-26 13:12:51 +05:30
activity_bookmarks.xml Feature #1756 : Bookmark System (#1935) 2018-10-26 02:54:22 +11:00
activity_category_details.xml Add feature to Browse commons via app (#1716) 2018-07-24 10:17:24 +03:00
activity_category_images.xml Integrate API for displaying featured images (#1456) 2018-05-07 11:09:23 +03:00
activity_contributions.xml Main screen ui changes, fixes #725 Main screen UI overhaul (#1922) 2018-11-11 03:26:01 +11:00
activity_login.xml Skip textview added and onclick implemented 2018-05-01 15:58:40 +05:30
activity_multiple_uploads.xml Issue #171 - Removed warning Unused namespace - removed namespaces from within the xml where it is already present at the top of the xml. 2018-02-07 15:40:57 +05:30
activity_nearby.xml Fix transparent view allign 2018-03-27 19:34:08 +03:00
activity_notification.xml Fix crash due to read more text view 2018-03-21 12:33:40 +05:30
activity_quiz.xml Merge gamification branch with master (#1752) 2018-07-28 01:09:23 +05:30
activity_quiz_result.xml Merge gamification branch with master (#1752) 2018-07-28 01:09:23 +05:30
activity_search.xml Add feature to Browse commons via app (#1716) 2018-07-24 10:17:24 +03:00
activity_settings.xml Make the drawer prettier 2017-06-28 21:39:10 +01:00
activity_share.xml Open map of place where picture was taken (#1360) 2018-05-07 12:57:59 +03:00
activity_upload.xml Multiple uploads with over haul (#1968) 2018-11-19 20:01:35 +11:00
activity_upload_bottom_card.xml Multiple uploads with over haul (#1968) 2018-11-19 20:01:35 +11:00
activity_upload_categories.xml Multiple uploads with over haul (#1968) 2018-11-19 20:01:35 +11:00
activity_upload_license.xml Multiple uploads with over haul (#1968) 2018-11-19 20:01:35 +11:00
activity_upload_please_wait.xml Multiple uploads with over haul (#1968) 2018-11-19 20:01:35 +11:00
activity_upload_right_card.xml Multiple uploads with over haul (#1968) 2018-11-19 20:01:35 +11:00
activity_upload_top_card.xml Multiple uploads with over haul (#1968) 2018-11-19 20:01:35 +11:00
activity_welcome.xml Fixes Issue #1358 Circle page indicator display improved (#1379) 2018-04-16 16:00:38 +03:00
answer_layout.xml Merge gamification branch with master (#1752) 2018-07-28 01:09:23 +05:30
bottom_sheet_details.xml Feature #1756 : Bookmark System (#1935) 2018-10-26 02:54:22 +11:00
bottom_sheet_nearby.xml Add theme dependencies 2018-03-02 23:38:03 +05:30
custom_nearby_tab_layout.xml Small ui fixes on new main ui (#1995) 2018-11-13 02:26:41 +11:00
detail_category_item.xml Removes extra padding in media categories 2018-02-28 00:27:37 +05:30
dialog_nearby_info.xml Initial pass to use standard margins/padding (in dimens.xml) 2017-12-22 15:24:30 -06:00
drawer_header.xml Username in nav drawer centrally aligned #1806 (#1817) 2018-08-10 00:45:57 +05:30
fragment_bookmarks_locations.xml Feature #1756 : Bookmark System (#1935) 2018-10-26 02:54:22 +11:00
fragment_bookmarks_pictures.xml Feature #1756 : Bookmark System (#1935) 2018-10-26 02:54:22 +11:00
fragment_browse_image.xml Add feature to Browse commons via app (#1716) 2018-07-24 10:17:24 +03:00
fragment_category_images.xml Add feature to Browse commons via app (#1716) 2018-07-24 10:17:24 +03:00
fragment_contributions.xml Main screen ui changes, fixes #725 Main screen UI overhaul (#1922) 2018-11-11 03:26:01 +11:00
fragment_contributions_list.xml Main screen ui changes, fixes #725 Main screen UI overhaul (#1922) 2018-11-11 03:26:01 +11:00
fragment_media_detail.xml Added CDATA tag (#1836) 2018-08-31 11:44:36 +03:00
fragment_media_detail_pager.xml Replace fill_parent with match_parent 2017-02-25 22:34:05 +00:00
fragment_multiple_uploads_list.xml Hide Keypad when EditText out of focus (#1168) 2018-02-24 00:00:45 +05:30
fragment_nearby.xml Main screen ui changes, fixes #725 Main screen UI overhaul (#1922) 2018-11-11 03:26:01 +11:00
fragment_nearby_list.xml Main screen ui changes, fixes #725 Main screen UI overhaul (#1922) 2018-11-11 03:26:01 +11:00
fragment_no_permissions.xml Initial pass to use standard margins/padding (in dimens.xml) 2017-12-22 15:24:30 -06:00
fragment_search_history.xml Add feature to Browse commons via app (#1716) 2018-07-24 10:17:24 +03:00
fragment_similar_image_dialog.xml After implementing UI also 2018-02-14 15:59:34 +05:30
fragment_single_upload.xml Multiple uploads with over haul (#1968) 2018-11-19 20:01:35 +11:00
image_alert_layout.xml Merge gamification branch with master (#1752) 2018-07-28 01:09:23 +05:30
item_notification.xml Remove dependency on Glide, Picasso, SVG, and multidex. (#1859) 2018-08-30 14:40:17 +03:00
item_place.xml Arrance list row layout 2018-03-02 23:18:07 +05:30
item_recent_searches.xml Add feature to Browse commons via app (#1716) 2018-07-24 10:17:24 +03:00
item_upload_thumbnail.xml Multiple uploads with over haul (#1968) 2018-11-19 20:01:35 +11:00
layout_categories_item.xml Multiple uploads with over haul (#1968) 2018-11-19 20:01:35 +11:00
layout_category_images.xml Integrate API for displaying featured images (#1456) 2018-05-07 11:09:23 +03:00
layout_contribution.xml Initial pass to use standard margins/padding (in dimens.xml) 2017-12-22 15:24:30 -06:00
layout_upload_categories_item.xml Multiple uploads with over haul (#1968) 2018-11-19 20:01:35 +11:00
layout_upload_item.xml Zoom (#1300) 2018-04-26 03:18:58 +05:30
light_simple_spinner_dropdown_item.xml Fix conflicts from #1366 fixing lint issues (#1470) 2018-04-30 14:05:47 +03:00
nearby_card_view.xml Main screen ui changes, fixes #725 Main screen UI overhaul (#1922) 2018-11-11 03:26:01 +11:00
nearby_info_popup_layout.xml Main screen ui changes, fixes #725 Main screen UI overhaul (#1922) 2018-11-11 03:26:01 +11:00
nearby_row_button.xml Feature #1756 : Bookmark System (#1935) 2018-10-26 02:54:22 +11:00
pic_of_day_app_widget.xml Added Basic Pic Of the Day App Widget (#1523) 2018-06-14 19:10:52 +10:00
question_layout.xml Merge gamification branch with master (#1752) 2018-07-28 01:09:23 +05:30
row_item_description.xml Multiple uploads with over haul (#1968) 2018-11-19 20:01:35 +11:00
row_item_languages_spinner.xml Feature/bug fix#1793 (#1802) 2018-08-17 03:51:55 +10:00
row_item_title.xml Multiple uploads with over haul (#1968) 2018-11-19 20:01:35 +11:00
toolbar.xml Share feature (#1338) 2018-03-29 00:52:53 +05:30
welcome_do_upload.xml Skip option in Welcome Screen (#1251) 2018-03-10 22:47:21 +05:30
welcome_dont_upload.xml Skip option in Welcome Screen (#1251) 2018-03-10 22:47:21 +05:30
welcome_final.xml Added CDATA tag (#1836) 2018-08-31 11:44:36 +03:00
welcome_image_details.xml Skip option in Welcome Screen (#1251) 2018-03-10 22:47:21 +05:30
welcome_wikipedia.xml Skip option in Welcome Screen (#1251) 2018-03-10 22:47:21 +05:30