Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Yunitsky <yunik@mapswithme.com>2015-05-21 15:04:35 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:48:23 +0300
commitbb99b7f47b9e92d4b711d7ffb1e3b510fe7f6f19 (patch)
tree25b6e30f2a69e8982ea3f03cbb3378fb528c2c99 /android/res/values
parent0690313e3ceb30818d8cc9ca47e685580b7d11a8 (diff)
Base map buttons changes.
Diffstat (limited to 'android/res/values')
-rw-r--r--android/res/values/styles.xml27
1 files changed, 17 insertions, 10 deletions
diff --git a/android/res/values/styles.xml b/android/res/values/styles.xml
index b393c86e82..2d3aae7488 100644
--- a/android/res/values/styles.xml
+++ b/android/res/values/styles.xml
@@ -9,6 +9,8 @@
<item name="clickableBackground">?attr/selectableItemBackground</item>
<item name="android:listViewStyle">@style/MwmWidget.ListView</item>
<item name="android:textViewStyle">@style/MwmWidget.TextView</item>
+ <item name="android:contentInsetStart">150dp</item>
+ <item name="android:contentInsetLeft">150dp</item>
<item name="android:windowSoftInputMode">stateUnspecified|adjustPan</item>
<item name="android:windowBackground">@android:color/white</item>
<item name="android:colorBackgroundCacheHint">@null</item>
@@ -50,18 +52,19 @@
<style name="MwmWidget"/>
- <style name="MwmWidget.MapButton" parent="android:Widget.ImageButton"/>
-
- <style name="MwmWidget.MapButton.Zoom">
- <item name="android:background">@drawable/bg_btn_zoom</item>
+ <style name="MwmWidget.MapButton" parent="android:Widget.ImageButton">
<item name="android:scaleType">center</item>
- <item name="android:layout_marginRight">@dimen/margin_small</item>
- <item name="android:layout_marginBottom">@dimen/margin_tiny_and_half</item>
- <item name="android:padding">0dp</item>
+ <item name="android:layout_margin">@dimen/margin_micro</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:layout_width">wrap_content</item>
+ </style>
+
+ <style name="MwmWidget.MapButton.White">
+ <item name="android:background">@drawable/bg_btn_white</item>
</style>
- <style name="MwmWidget.MapButton.Bottom">
- <item name="android:background">@drawable/bg_toolbar_button</item>
+ <style name="MwmWidget.MapButton.Green">
+ <item name="android:background">@drawable/bg_btn_green</item>
</style>
<style name="MwmWidget.PlacePage.EditText" parent="Widget.AppCompat.EditText">
@@ -81,6 +84,10 @@
<item name="android:elevation">4dp</item>
<item name="android:gravity">center_vertical</item>
<item name="android:displayOptions">homeAsUp|showTitle</item>
+ <item name="contentInsetStart">72dp</item>
+ <item name="contentInsetLeft">72dp</item>
+ <item name="android:contentInsetStart">72dp</item>
+ <item name="android:contentInsetLeft">72dp</item>
</style>
<style name="MwmWidget.ListView" parent="android:Widget.ListView">
@@ -179,7 +186,7 @@
<style name="MwmTextAppearance.Body3">
<item name="android:textSize">@dimen/text_size_body_3</item>
- <item name="android:textColor">@color/text_dark_hint</item>
+ <item name="android:textColor">@color/text_dark_subtitle</item>
</style>
<style name="MwmTextAppearance.IconTitle">