Improve support for Andrioid M
Checks for and requests runtime location permissions (fixes #2110) Improved the styling of the location FAB Removed redudant drawables Fixed various Java and Android warnings and deprecated functions A few other tweaks
|
Before Width: | Height: | Size: 7.9 KiB |
|
Before Width: | Height: | Size: 683 B |
|
Before Width: | Height: | Size: 722 B |
|
Before Width: | Height: | Size: 641 B |
|
Before Width: | Height: | Size: 471 B |
|
After Width: | Height: | Size: 549 B |
|
Before Width: | Height: | Size: 546 B |
|
Before Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 465 B |
|
Before Width: | Height: | Size: 484 B |
|
Before Width: | Height: | Size: 482 B |
|
Before Width: | Height: | Size: 323 B |
|
After Width: | Height: | Size: 341 B |
|
Before Width: | Height: | Size: 350 B |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 860 B |
|
Before Width: | Height: | Size: 994 B |
|
Before Width: | Height: | Size: 854 B |
|
Before Width: | Height: | Size: 622 B |
|
After Width: | Height: | Size: 660 B |
|
Before Width: | Height: | Size: 687 B |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 918 B |
|
After Width: | Height: | Size: 976 B |
|
Before Width: | Height: | Size: 1012 B |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
@@ -47,13 +47,13 @@
|
||||
|
||||
<android.support.design.widget.FloatingActionButton
|
||||
android:id="@+id/locationFAB"
|
||||
android:src="@drawable/ic_my_location_white_24dp"
|
||||
android:src="@drawable/ic_my_location_black_24dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end|bottom"
|
||||
android:layout_margin="@dimen/fab_margin"
|
||||
app:backgroundTint="@color/white"
|
||||
app:borderWidth="0dp"
|
||||
app:elevation="0dp"
|
||||
/>
|
||||
</android.support.design.widget.CoordinatorLayout>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<item
|
||||
android:id="@+id/action_debug"
|
||||
android:icon="@drawable/ic_action_about"
|
||||
android:icon="@android:drawable/ic_menu_info_details"
|
||||
android:title="@string/action_debug"
|
||||
android:checkable="true"
|
||||
/>
|
||||
@@ -14,7 +14,7 @@
|
||||
android:checkable="true"
|
||||
/>
|
||||
<item android:id="@+id/action_compass"
|
||||
android:icon="@drawable/ic_explore_white_24dp"
|
||||
android:icon="@android:drawable/ic_menu_compass"
|
||||
android:title="@string/action_compass"
|
||||
android:checkable="true"
|
||||
/>
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
<string name="app_name">Mapbox GL</string>
|
||||
|
||||
<string name="action_gps">Toggle GPS location</string>
|
||||
<string name="action_location_none">Toggle Location Bearing Tracking</string>
|
||||
<string name="action_location_follow">Follow</string>
|
||||
<string name="action_location_bearing">Bearing</string>
|
||||
<string name="action_compass">Toggle Compass</string>
|
||||
<string name="action_location_none">Disable tracking</string>
|
||||
<string name="action_location_follow">Use follow tracking mode</string>
|
||||
<string name="action_location_bearing">Use bearing tracking mode tracking</string>
|
||||
<string name="action_compass">Toggle compass</string>
|
||||
<string name="action_debug">Toggle debug mode</string>
|
||||
<string name="action_point_annotations">Toggle point annotations</string>
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
<item name="colorPrimary">@color/primary</item>
|
||||
<item name="colorPrimaryDark">@color/primaryDark</item>
|
||||
<item name="colorAccent">@color/accent</item>
|
||||
<item name="android:windowBackground">@color/white</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
||||