From 77e0bbba5c6044b5e3f370b9f75bcf9beb53a6d2 Mon Sep 17 00:00:00 2001 From: Roman Romanov Date: Thu, 3 Nov 2016 13:19:38 +0400 Subject: [PATCH] [android] Transparent statusbar. --- 3party/Alohalytics | 2 +- android/res/values/themes-base.xml | 3 ++- android/res/values/themes.xml | 3 --- .../src/com/mapswithme/maps/base/BaseMwmFragmentActivity.java | 2 ++ 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/3party/Alohalytics b/3party/Alohalytics index 28f74496e5..a3e1659ba9 160000 --- a/3party/Alohalytics +++ b/3party/Alohalytics @@ -1 +1 @@ -Subproject commit 28f74496e58213dd0bc7d793fd17ba0e7f3d89ba +Subproject commit a3e1659ba90ed079b3021ea2fa45a628a832b8e3 diff --git a/android/res/values/themes-base.xml b/android/res/values/themes-base.xml index e076f73959..9cdefefbc4 100644 --- a/android/res/values/themes-base.xml +++ b/android/res/values/themes-base.xml @@ -13,9 +13,9 @@ stateUnspecified|adjustPan @string/robotoRegular @null + true ?selectableItemBackground @android:color/transparent - @style/MwmTheme.DialogFragment @color/bg_window @drawable/card_frame @@ -97,6 +97,7 @@ stateUnspecified|adjustPan @string/robotoRegular @null + true ?selectableItemBackground @android:color/transparent diff --git a/android/res/values/themes.xml b/android/res/values/themes.xml index 6d13b468b8..9f540ce0e4 100644 --- a/android/res/values/themes.xml +++ b/android/res/values/themes.xml @@ -180,9 +180,6 @@ @android:color/black @style/MwmWidget.Editor.TimePicker @null - false - true - true diff --git a/android/src/com/mapswithme/maps/base/BaseMwmFragmentActivity.java b/android/src/com/mapswithme/maps/base/BaseMwmFragmentActivity.java index 71c5390dba..852ce0dfbc 100644 --- a/android/src/com/mapswithme/maps/base/BaseMwmFragmentActivity.java +++ b/android/src/com/mapswithme/maps/base/BaseMwmFragmentActivity.java @@ -53,7 +53,9 @@ public class BaseMwmFragmentActivity extends AppCompatActivity mBaseDelegate.onCreate(); super.onCreate(savedInstanceState); + UiUtils.setupStatusBar(this); + setVolumeControlStream(AudioManager.STREAM_MUSIC); final int layoutId = getContentLayoutResId(); if (layoutId != 0)