mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 13:23:58 +01:00
Ability to show captions and descriptions in all entered languages (#4355)
* implement Ability to show captions and descriptions in all entered languages *Add Javadoc * handle Back event of fragment(mediaDetailFragment) * fix minor bugs * add internationalization * revert previous changes * fix visibility bug * resolve conflict
This commit is contained in:
parent
808f21a1f2
commit
b202f553f0
12 changed files with 308 additions and 9 deletions
|
|
@ -48,6 +48,7 @@
|
|||
<attr name="contributionsListTextPrimary" format="reference"/>
|
||||
<attr name="menu_item_tint" format="reference"/>
|
||||
<attr name="search_icon" format="reference"/>
|
||||
<attr name="caption_description_text_color" format="reference" />
|
||||
|
||||
<declare-styleable name="Badge">
|
||||
<attr name="boundary" format="color"/>
|
||||
|
|
|
|||
|
|
@ -622,6 +622,7 @@ Upload your first media by tapping on the add button.</string>
|
|||
<string name="app_ui_language">App user interface language</string>
|
||||
<string name="remove">Removes a caption and description</string>
|
||||
<string name="read_help_link">Read more</string>
|
||||
<string name="media_detail_in_all_languages">In all languages</string>
|
||||
<string name="choose_a_location">Choose a location</string>
|
||||
<string name="pan_and_zoom_to_adjust">Pan and zoom to adjust</string>
|
||||
<string name="exit_location_picker">Exit location picker</string>
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
<item name="rowButtonColor">@color/button_blue_dark</item>
|
||||
<item name="reviewHeading">@color/white</item>
|
||||
<item name="aboutIconsColor">@color/white</item>
|
||||
<item name="caption_description_text_color">@color/white</item>
|
||||
|
||||
<item name="semitransparentText">@color/commons_app_blue_dark</item>
|
||||
<item name="subBackground">@color/sub_background_dark</item>
|
||||
|
|
@ -76,6 +77,7 @@
|
|||
<item name="rowButtonColor">@color/button_blue</item>
|
||||
<item name="reviewHeading">@color/black</item>
|
||||
<item name="aboutIconsColor">@color/black</item>
|
||||
<item name="caption_description_text_color">@color/black</item>
|
||||
|
||||
<item name="semitransparentText">@color/commons_app_blue_light</item>
|
||||
<item name="subBackground">@color/sub_background_light</item>
|
||||
|
|
@ -206,6 +208,12 @@
|
|||
<item name="android:textStyle">bold</item>
|
||||
</style>
|
||||
|
||||
<style name="CaptionTextLabel">
|
||||
<item name="android:paddingTop">@dimen/dimen_6</item>
|
||||
<item name="android:paddingLeft">@dimen/tiny_gap</item>
|
||||
<item name="android:textSize">@dimen/normal_text</item>
|
||||
</style>
|
||||
|
||||
<style name="MediaDetailTextLabelTitle" parent="@style/MediaDetailTextLabel">
|
||||
<item name="android:textColor">@android:color/white</item>
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue