diff --git a/app/src/main/java/fr/free/nrw/commons/contributions/ContributionsListFragment.java b/app/src/main/java/fr/free/nrw/commons/contributions/ContributionsListFragment.java index 0b739e316..44b042436 100644 --- a/app/src/main/java/fr/free/nrw/commons/contributions/ContributionsListFragment.java +++ b/app/src/main/java/fr/free/nrw/commons/contributions/ContributionsListFragment.java @@ -56,26 +56,26 @@ public class ContributionsListFragment extends CommonsDaggerSupportFragment impl WikipediaInstructionsDialogFragment.Callback { private static final String RV_STATE = "rv_scroll_state"; + + @BindView(R.id.contributionsList) + RecyclerView rvContributionsList; + @BindView(R.id.loadingContributionsProgressBar) + ProgressBar progressBar; + @BindView(R.id.fab_plus) + FloatingActionButton fabPlus; + @BindView(R.id.fab_camera) + FloatingActionButton fabCamera; + @BindView(R.id.fab_gallery) + FloatingActionButton fabGallery; + @BindView(R.id.noContributionsYet) + TextView noContributionsYet; + @BindView(R.id.fab_layout) + LinearLayout fab_layout; + @BindView(R.id.fab_custom_gallery) + FloatingActionButton fabCustomGallery; - @BindView(R.id.contributionsList) - RecyclerView rvContributionsList; - @BindView(R.id.loadingContributionsProgressBar) - ProgressBar progressBar; - @BindView(R.id.fab_plus) - FloatingActionButton fabPlus; - @BindView(R.id.fab_camera) - FloatingActionButton fabCamera; - @BindView(R.id.fab_gallery) - FloatingActionButton fabGallery; - @BindView(R.id.noContributionsYet) - TextView noContributionsYet; - @BindView(R.id.fab_layout) - LinearLayout fab_layout; - @BindView(R.id.fab_custom_gallery) - FloatingActionButton fabCustomGallery; - - @Inject - SystemThemeUtils systemThemeUtils; + @Inject + SystemThemeUtils systemThemeUtils; @Inject ContributionController controller; diff --git a/app/src/main/java/fr/free/nrw/commons/media/MediaDetailPagerFragment.java b/app/src/main/java/fr/free/nrw/commons/media/MediaDetailPagerFragment.java index 52f8b7385..ce6585b52 100644 --- a/app/src/main/java/fr/free/nrw/commons/media/MediaDetailPagerFragment.java +++ b/app/src/main/java/fr/free/nrw/commons/media/MediaDetailPagerFragment.java @@ -102,6 +102,7 @@ public class MediaDetailPagerFragment extends CommonsDaggerSupportFragment imple pager.addOnPageChangeListener(this); adapter = new MediaDetailAdapter(getChildFragmentManager()); + ((BaseActivity)getActivity()).getSupportActionBar().setDisplayHomeAsUpEnabled(true); if (getActivity() != null) { final ActionBar actionBar = ((AppCompatActivity) getActivity()).getSupportActionBar(); diff --git a/app/src/main/res/layout/bottom_container_location_picker.xml b/app/src/main/res/layout/bottom_container_location_picker.xml index 98a8216c5..2eafaa4b6 100644 --- a/app/src/main/res/layout/bottom_container_location_picker.xml +++ b/app/src/main/res/layout/bottom_container_location_picker.xml @@ -77,5 +77,4 @@ - \ No newline at end of file diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml index 6983f6744..d944d2d0b 100644 --- a/app/src/main/res/values/attrs.xml +++ b/app/src/main/res/values/attrs.xml @@ -51,6 +51,8 @@ + + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 4a04fe47d..b594d182d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -640,13 +640,6 @@ Upload your first media by tapping on the add button. The shadow of the image view of the location picker Image Location Check whether location is correct - WLM - You are contributing to Wiki Loves Monuments Campaign. Related templates will be added accordingly. - Display monuments - It\'s Wiki Loves Monuments month! - LEARN MORE - Wiki Loves Monuments - Wiki Loves Monuments is an international photo contest for monuments organised by Wikimedia Custom Selector No Images Done @@ -656,5 +649,11 @@ Upload your first media by tapping on the add button. Unlike the picture on the left, the picture on the right has the Commons logo indicating it is already uploaded. Awesome This image has already been uploaded to Commons. - + WLM + You are contributing to Wiki Loves Monuments Campaign. Related templates will be added accordingly. + Display monuments + It\'s Wiki Loves Monuments month! + LEARN MORE + Wiki Loves Monuments + Wiki Loves Monuments is an international photo contest for monuments organised by Wikimedia