mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Media detail page redone as a "slide-up" panel.
Loads and displays default or English description, and categories. No caching of this info yet. Scrollable pane is a ListView, with the title/desc/category label in a 'header' view along with a spacer view. The height of the spacer is set dynamically to the height of the total fragment minus 48dp, giving room for an initially-visible title section and a little spillover so you can see it's scrollable. Clicking on a category in the cats list opens the category page in an external web browser. In the future this should open the category within the app, but we don't have a per-cat view yet. Description and category list are not yet editable. GitHub: https://github.com/wikimedia/apps-android-commons/pull/41 Change-Id: I46d0a77481dbe64a268a72f3efe49ae72168541f
This commit is contained in:
parent
a1d435f86e
commit
4df8ec8fa9
13 changed files with 586 additions and 30 deletions
|
|
@ -89,4 +89,7 @@
|
|||
<string name="welcome_final_text">Message asking user if they understand what kinds of images to upload.</string>
|
||||
<string name="welcome_final_button_text">Button text for confirming the user understands what kinds of images to upload.
|
||||
{{Identical|Yes}}</string>
|
||||
<string name="detail_panel_cats_label">Label for categories list in media detail panel</string>
|
||||
<string name="detail_panel_cats_loading">Placeholder for categories list in media detail panel, while loading from network.</string>
|
||||
<string name="detail_panel_cats_none">Placeholder for categories list in media detail panel, if no categories found.</string>
|
||||
</resources>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue