mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 05:13:53 +01:00
* Add additional classes from 2019 hackathon implementation * Make first tab work * Make explore tab work * Handle back button for contrib and nearby * Fix framelayout and nav bar allignment * Fix nav bar tint * Fix nearby card layout * Make contributions number visible * Change menu icon according to fragment * Make notification icon work and remove drawer * Make favourites accessible from nav bar * Turn bookmark and explore activities into fragments * Use bottom sheet instead of more fragment * Add actions * Remove unused classes * Fix indentation * remove more fragment title * Fix explore fragment indentation * Make toolbar settings as we wanted * Set card view styles * Make colors for explore actiivty * Remove drawer from achievements activity * Add back button to achievements activity * remove drawer from review activity * Remove drawer from settings activity * Remove drawer from about activity * Fix dagger injection of fragment * Implement skip login version * Add theme missing colors * Add style to moresheet * refactor name * call login with button * Remove all old bookmarks activity dependency * Make explore tab items clickable * Do nothing if same tab is selected * Fix notification icon color for dark theme * Fix wrong drawable colors * Handle back button after media details is visible from contrib and explore fragments * make favourites open media details * Fix profile icon * Make user name visible instead * Move user back to contrib fragment * Remove NavigationBaseAvticity * Fix typo in bookmark fragment * Fix menu button colors * Remove explore activity * remove drawer and dependencies * Make bookmark media details visible * Cleanup code * Code cleanup * Remove unused layout * Make contriblist UI look like in mockups * Change limited connecton toggle * Move list menu item to nearby fragment * Fix search button crash * Make media detail appear * Back button added * Fix back button npe * Change bookmark list view * Fix always the firs item displayed issue * Allign contrib list bottom line to simple drawee bottom * fix fragment string * Fix back button for mobile uploads * Make lists appear * Make fav item selected * Make favourites clickable * Add back button to media details * Add toolbar of notification activity * Change contributions icon * Fix card UI * Fix back button in explore * Make card views look similar to mockups * Solve campaign bug visible issue * Make borders a little softer
This commit is contained in:
parent
5d82629109
commit
71d200ee41
110 changed files with 2225 additions and 1629 deletions
|
|
@ -5,7 +5,7 @@
|
|||
android:title="@string/limited_connection"
|
||||
app:showAsAction="always"
|
||||
android:checkable="true"
|
||||
app:actionLayout="@layout/menu_switch"
|
||||
android:icon="@drawable/ic_baseline_cloud_queue_24"
|
||||
/>
|
||||
<item android:id="@+id/notifications"
|
||||
android:title="@string/notifications"
|
||||
|
|
@ -13,9 +13,4 @@
|
|||
android:menuCategory="secondary"
|
||||
app:actionLayout="@layout/notification_icon"
|
||||
/>
|
||||
<item android:id="@+id/list_sheet"
|
||||
android:title="@string/list_sheet"
|
||||
app:showAsAction="ifRoom|withText"
|
||||
android:icon="@drawable/ic_list_white_24dp"
|
||||
/>
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -1,62 +0,0 @@
|
|||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<group android:id="@+id/drawer_login">
|
||||
<item
|
||||
android:id="@+id/action_login"
|
||||
android:visible="false"
|
||||
android:icon="@drawable/ic_person_black_24dp"
|
||||
android:title="@string/navigation_item_login" />
|
||||
</group>
|
||||
<group android:id="@+id/drawer_main">
|
||||
<item
|
||||
android:id="@+id/action_home"
|
||||
android:icon="@drawable/ic_home_black_24dp"
|
||||
android:title="@string/navigation_item_home" />
|
||||
|
||||
<item
|
||||
android:id="@+id/action_explore"
|
||||
android:icon="@drawable/ic_explore_24dp"
|
||||
android:title="@string/navigation_item_explore"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_bookmarks"
|
||||
android:icon="@drawable/ic_round_star_filled_24px"
|
||||
android:title="@string/navigation_item_bookmarks"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_review"
|
||||
android:icon="@drawable/ic_check_black_24dp"
|
||||
android:title="@string/navigation_item_review"/>
|
||||
|
||||
</group>
|
||||
<group android:id="@+id/drawer_account">
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:icon="@drawable/ic_settings_black_24dp"
|
||||
android:title="@string/navigation_item_settings" />
|
||||
|
||||
</group>
|
||||
<group android:id="@+id/drawer_contact">
|
||||
<item
|
||||
android:id="@+id/action_about"
|
||||
android:icon="@drawable/ic_info_outline_24dp"
|
||||
android:title="@string/navigation_item_about" />
|
||||
<item
|
||||
android:id="@+id/action_introduction"
|
||||
android:icon="@drawable/ic_help_black_24dp"
|
||||
android:title="@string/navigation_item_info" />
|
||||
|
||||
<item
|
||||
android:id="@+id/action_feedback"
|
||||
android:icon="@drawable/ic_feedback_black_24dp"
|
||||
android:title="@string/navigation_item_feedback" />
|
||||
|
||||
|
||||
</group>
|
||||
|
||||
<group android:id="@+id/drawer_logout">
|
||||
<item
|
||||
android:id="@+id/action_logout"
|
||||
android:icon="@drawable/ic_exit_to_app_black_24dp"
|
||||
android:title="@string/navigation_item_logout" />
|
||||
</group>
|
||||
</menu>
|
||||
|
|
@ -4,17 +4,17 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item
|
||||
android:id="@+id/menu_bookmark_current_image"
|
||||
android:icon="@drawable/ic_round_star_border_24px"
|
||||
android:icon="@drawable/menu_ic_round_star_border_24px"
|
||||
android:title="@string/menu_bookmark"
|
||||
app:showAsAction="always" />
|
||||
<item
|
||||
android:id="@+id/menu_share_current_image"
|
||||
android:icon="@drawable/ic_share_black_24dp"
|
||||
android:icon="@drawable/menu_ic_share_24dp"
|
||||
android:title="@string/menu_share"
|
||||
app:showAsAction="always" />
|
||||
<item
|
||||
android:id="@+id/menu_download_current_image"
|
||||
android:icon="@drawable/ic_download_white_24dp"
|
||||
android:icon="@drawable/menu_ic_download_24dp"
|
||||
android:title="@string/menu_download"
|
||||
app:showAsAction="always" />
|
||||
<item
|
||||
|
|
|
|||
9
app/src/main/res/menu/nearby_fragment_menu.xml
Normal file
9
app/src/main/res/menu/nearby_fragment_menu.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item android:id="@+id/list_sheet"
|
||||
android:title="@string/list_sheet"
|
||||
app:showAsAction="ifRoom|withText"
|
||||
android:icon="@drawable/ic_list_white_24dp"
|
||||
/>
|
||||
</menu>
|
||||
Loading…
Add table
Add a link
Reference in a new issue