Backgrounds for toolbar.
BIN
android/res/drawable-hdpi/ic_toolbar_active.png
Normal file
After Width: | Height: | Size: 1,003 B |
BIN
android/res/drawable-mdpi/ic_toolbar_active.png
Normal file
After Width: | Height: | Size: 628 B |
BIN
android/res/drawable-sw600dp-hdpi/ic_toolbar_active.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
android/res/drawable-sw600dp-mdpi/ic_toolbar_active.png
Normal file
After Width: | Height: | Size: 863 B |
BIN
android/res/drawable-sw600dp-xhdpi/ic_toolbar_active.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
android/res/drawable-sw600dp-xxhdpi/ic_toolbar_active.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
android/res/drawable-xhdpi/ic_toolbar_active.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
android/res/drawable-xxhdpi/ic_toolbar_active.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
14
android/res/drawable/bg_toolbar_button.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:enterFadeDuration="300"
|
||||
android:exitFadeDuration="300"
|
||||
tools:ignore="UnusedAttribute">
|
||||
|
||||
<item android:state_pressed="true">
|
||||
<bitmap android:gravity="center"
|
||||
android:src="@drawable/ic_toolbar_active"/>
|
||||
</item>
|
||||
<item android:drawable="@android:color/transparent"/>
|
||||
|
||||
</selector>
|
|
@ -122,7 +122,7 @@
|
|||
android:id="@+id/map_bottom_toolbar"
|
||||
layout="@layout/map_bottom_toolbar"
|
||||
android:layout_width="@dimen/bottom_panel_width"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="280dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentRight="true"/>
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
android:layout_width="@dimen/bottom_panel_width"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:clipChildren="false"
|
||||
android:background="@drawable/ic_toolbar_tablet_bg">
|
||||
|
||||
<ImageButton
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/bottom_panel_height"
|
||||
android:clipChildren="false"
|
||||
android:background="@drawable/toolbar_gradient">
|
||||
|
||||
<FrameLayout
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
<dimen name="sp_x_5">35sp</dimen>
|
||||
|
||||
<dimen name="bottom_panel_height">70dp</dimen>
|
||||
<dimen name="bottom_panel_width">58dp</dimen>
|
||||
<dimen name="bottom_button_width">46dp</dimen>
|
||||
<dimen name="bottom_panel_width">60dp</dimen>
|
||||
<dimen name="bottom_button_width">60dp</dimen>
|
||||
<dimen name="bottom_item_height">56dp</dimen>
|
||||
|
||||
<dimen name="routing_pp_height">63dp</dimen>
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
<dimen name="ppp_button_size_small">42dp</dimen>
|
||||
|
||||
<dimen name="bottom_panel_height">46dp</dimen>
|
||||
<dimen name="bottom_button_width">90dp</dimen>
|
||||
<dimen name="bottom_button_width">113dp</dimen>
|
||||
<dimen name="bottom_item_height">46dp</dimen>
|
||||
|
||||
<item name="alpha_edit_button" format="float" type="dimen">0.75</item>
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
</style>
|
||||
|
||||
<style name="Widget.MapButtonBottom" parent="android:Widget.ImageButton">
|
||||
<item name="android:background">@android:color/transparent</item>
|
||||
<item name="android:background">@drawable/bg_toolbar_button</item>
|
||||
</style>
|
||||
|
||||
<style name="InfoItem" parent="TextAppearance.AppCompat.Large">
|
||||
|
|