mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
* ic_map_dark_24dp: map icon for white background * ic_info_outline_dark_24dp: info icon for dark background * MediaDetailFragment: update the spacer as per image aspect ratio * fragment_media_detail: design overhaul * fragment_media_detail: remove redundant background color statements * make requested changes * add dark mode support * minor ui tweak * white map icon in dark mode * make rquested changes * make requested changes to layout * fix misalignment of category list * subtle amendments * convert comments to javadocs * minor amendments * minor changes * add styles for media detail * Media detail fragment refactored * make suggested changes * minor name fix * fix the delete button border
29 lines
No EOL
807 B
XML
29 lines
No EOL
807 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<selector
|
|
android:layout_height="match_parent"
|
|
android:layout_width="match_parent"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<item
|
|
android:state_enabled="true" >
|
|
<shape
|
|
android:shape="rectangle">
|
|
<solid
|
|
android:color="?attr/mediaDetailNominationBackground"/>
|
|
<corners
|
|
android:radius="@dimen/progressbar_stroke" />
|
|
</shape>
|
|
</item>
|
|
|
|
<item
|
|
android:state_enabled="false" >
|
|
<shape
|
|
android:shape="rectangle">
|
|
<solid
|
|
android:color="@color/deleteButtonDark"/>
|
|
<corners
|
|
android:radius="@dimen/progressbar_stroke" />
|
|
</shape>
|
|
</item>
|
|
|
|
</selector> |