diff --git a/app/src/main/java/fr/free/nrw/commons/nearby/NearbyMapFragment.java b/app/src/main/java/fr/free/nrw/commons/nearby/NearbyMapFragment.java index 9e9e83bd3..94cddc273 100644 --- a/app/src/main/java/fr/free/nrw/commons/nearby/NearbyMapFragment.java +++ b/app/src/main/java/fr/free/nrw/commons/nearby/NearbyMapFragment.java @@ -374,7 +374,6 @@ public class NearbyMapFragment extends android.support.v4.app.Fragment { fabCommons.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { - Log.d("deneme","deneme"); openWebView(place.siteLinks.getCommonsLink()); } }); diff --git a/app/src/main/res/color/button_color_selector.xml b/app/src/main/res/color/button_color_selector.xml index e48e36c7c..7f79c5126 100644 --- a/app/src/main/res/color/button_color_selector.xml +++ b/app/src/main/res/color/button_color_selector.xml @@ -2,7 +2,7 @@ + android:color="@color/opak_middle_grey" /> \ No newline at end of file diff --git a/app/src/main/res/color/text_color_selector.xml b/app/src/main/res/color/text_color_selector.xml index 15c5b3d6d..4a97c6773 100644 --- a/app/src/main/res/color/text_color_selector.xml +++ b/app/src/main/res/color/text_color_selector.xml @@ -2,7 +2,7 @@ + android:color="?attr/textDisabled" /> + android:color="?attr/textEnabled" /> \ No newline at end of file diff --git a/app/src/main/res/drawable-mdpi/button_background_selector.xml b/app/src/main/res/drawable-mdpi/button_background_selector.xml index 3f5a644f8..bfcb3852b 100644 --- a/app/src/main/res/drawable-mdpi/button_background_selector.xml +++ b/app/src/main/res/drawable-mdpi/button_background_selector.xml @@ -2,10 +2,10 @@ + android:drawable="@color/pressed_button_light" /> - + android:drawable="@color/focused_button_light" + /> + \ No newline at end of file diff --git a/app/src/main/res/layout/bar_more_info.xml b/app/src/main/res/layout/bar_more_info.xml index ce814727e..b252ff4d2 100644 --- a/app/src/main/res/layout/bar_more_info.xml +++ b/app/src/main/res/layout/bar_more_info.xml @@ -5,7 +5,7 @@ android:id="@+id/more_info_button" android:visibility="gone" android:layout_gravity="bottom" - android:background="@color/default_circle_indicator_stroke_color" + android:background="?attr/bottomBar" > \ No newline at end of file diff --git a/app/src/main/res/layout/bottom_sheet_details.xml b/app/src/main/res/layout/bottom_sheet_details.xml index f53befb01..0d2399b84 100644 --- a/app/src/main/res/layout/bottom_sheet_details.xml +++ b/app/src/main/res/layout/bottom_sheet_details.xml @@ -4,7 +4,7 @@ android:layout_height="wrap_content" xmlns:app="http://schemas.android.com/apk/res-auto" android:orientation="vertical" - android:background="@color/cardview_light_background" + android:background="?attr/mainBackground" app:layout_behavior="@string/bottom_sheet_behavior" app:behavior_peekHeight="128dp" app:behavior_hideable="true" diff --git a/app/src/main/res/layout/bottom_sheet_nearby.xml b/app/src/main/res/layout/bottom_sheet_nearby.xml index 07727d9ce..11d6762d3 100644 --- a/app/src/main/res/layout/bottom_sheet_nearby.xml +++ b/app/src/main/res/layout/bottom_sheet_nearby.xml @@ -5,7 +5,7 @@ android:id="@+id/bottom_sheet" xmlns:app="http://schemas.android.com/apk/res-auto" android:orientation="vertical" - android:background="@color/cardview_light_background" + android:background="?attr/mainBackground" app:layout_behavior="@string/bottom_sheet_behavior" app:behavior_peekHeight="0dp" app:behavior_hideable="true" diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml index 38331d635..8d125aa61 100644 --- a/app/src/main/res/values/attrs.xml +++ b/app/src/main/res/values/attrs.xml @@ -8,6 +8,13 @@ + + + + + + + diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index d0d065ec0..b46d7bd01 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -31,10 +31,20 @@ #77000000 #44000000 - #64999999 - #32999999 + #64999999 + #32999999 #48000000 #B0000000 + + #40CCCCCC + #26CCCCCC + #717171 + #FFFFFF + #0c609c + #E0E0E0 + #424242 + + #757575 diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index a7abfc17d..a8eb1d849 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -14,6 +14,11 @@ @color/upload_overlay_background_dark @style/DarkSpinnerTheme @color/main_background_light + @color/bottom_bar_dark + @color/focused_button_dark + @color/pressed_button_dark + @color/disabled_button_text_color_dark + @color/enabled_button_text_color_dark