From deeee2552648973a5619a2c1e106fbd5588bc6f6 Mon Sep 17 00:00:00 2001 From: Roman Romanov Date: Wed, 9 Nov 2016 15:53:11 +0400 Subject: [PATCH 1/2] [android] Background color fix. --- android/res/layout/downloader_item_header.xml | 2 +- android/res/layout/fragment_downloader.xml | 2 +- android/res/layout/fragment_migrate.xml | 2 +- android/res/values/themes.xml | 13 ++++++++++++- .../bookmarks/BookmarkCategoriesActivity.java | 15 +++++++++++++++ .../maps/bookmarks/BookmarkListActivity.java | 15 +++++++++++++++ .../mapswithme/maps/search/SearchActivity.java | 14 ++++++++++++++ 7 files changed, 59 insertions(+), 4 deletions(-) diff --git a/android/res/layout/downloader_item_header.xml b/android/res/layout/downloader_item_header.xml index fb262137a7..06d5bb6f7c 100644 --- a/android/res/layout/downloader_item_header.xml +++ b/android/res/layout/downloader_item_header.xml @@ -13,7 +13,7 @@ android:paddingTop="@dimen/margin_half" android:paddingBottom="@dimen/margin_half" android:layout_marginRight="@dimen/margin_base" - android:background="?panel" + android:background="?cardBackground" android:textAppearance="@style/MwmTextAppearance.Caption" tools:text="Downloaded" tools:background="#80FF0000"/> diff --git a/android/res/layout/fragment_downloader.xml b/android/res/layout/fragment_downloader.xml index dcc99104ca..47a3e3f0ac 100644 --- a/android/res/layout/fragment_downloader.xml +++ b/android/res/layout/fragment_downloader.xml @@ -3,7 +3,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" style="@style/MwmWidget.Floating" - android:background="?windowBackgroundForced" + android:background="?cardBackground" android:layout_width="match_parent" android:layout_height="match_parent"> diff --git a/android/res/layout/fragment_migrate.xml b/android/res/layout/fragment_migrate.xml index dbcafbac08..b93dec1197 100644 --- a/android/res/layout/fragment_migrate.xml +++ b/android/res/layout/fragment_migrate.xml @@ -6,7 +6,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:animateLayoutChanges="true" - android:background="?windowBackgroundForced"> + android:background="?cardBackground"> @null - + + + +