Add large icons
|
@ -1,3 +1,6 @@
|
||||||
cp -f res/drawable-hdpi/widget_* res/drawable-large/
|
cp -f res/drawable-hdpi/widget_* res/drawable-large/
|
||||||
cp -f res/drawable-xxhdpi/widget_* res/drawable-large-hdpi/
|
cp -f res/drawable-xxhdpi/widget_* res/drawable-large-hdpi/
|
||||||
cp -f res/drawable-xhdpi/widget_* res/drawable-large-xhdpi/
|
cp -f res/drawable-xhdpi/widget_* res/drawable-large-xhdpi/
|
||||||
|
cp -f res/drawable-hdpi/map_* res/drawable-large/
|
||||||
|
cp -f res/drawable-xhdpi/map_* res/drawable-large-hdpi/
|
||||||
|
cp -f res/drawable-xxhdpi/map_* res/drawable-large-xhdpi/
|
||||||
|
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 454 B |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
OsmAnd/res/drawable-large-hdpi/map_compass.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
OsmAnd/res/drawable-large-hdpi/map_compass_bearing.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
OsmAnd/res/drawable-large-hdpi/map_compass_bearing_white.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
OsmAnd/res/drawable-large-hdpi/map_compass_niu.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
OsmAnd/res/drawable-large-hdpi/map_compass_niu_white.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
OsmAnd/res/drawable-large-hdpi/map_compass_white.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
OsmAnd/res/drawable-large-hdpi/map_layers_black.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
OsmAnd/res/drawable-large-hdpi/map_layers_white.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
OsmAnd/res/drawable-large-hdpi/map_magnifier.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
BIN
OsmAnd/res/drawable-large-xhdpi/map_compass.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
OsmAnd/res/drawable-large-xhdpi/map_compass_bearing.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
OsmAnd/res/drawable-large-xhdpi/map_compass_bearing_white.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
OsmAnd/res/drawable-large-xhdpi/map_compass_niu.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
OsmAnd/res/drawable-large-xhdpi/map_compass_niu_white.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
OsmAnd/res/drawable-large-xhdpi/map_compass_white.png
Normal file
After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
OsmAnd/res/drawable-large/map_bt_round_1_shadow.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
OsmAnd/res/drawable-large/map_bt_round_2_shadow.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
OsmAnd/res/drawable-large/map_btn_plain_o.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
OsmAnd/res/drawable-large/map_btn_plain_p.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
OsmAnd/res/drawable-large/map_compass.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
OsmAnd/res/drawable-large/map_compass_bearing.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
OsmAnd/res/drawable-large/map_compass_bearing_white.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
OsmAnd/res/drawable-large/map_compass_niu.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
OsmAnd/res/drawable-large/map_compass_niu_template.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
OsmAnd/res/drawable-large/map_compass_niu_white.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
OsmAnd/res/drawable-large/map_compass_niu_white_template.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
OsmAnd/res/drawable-large/map_compass_white.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
OsmAnd/res/drawable-large/map_config.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
OsmAnd/res/drawable-large/map_config_white.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
OsmAnd/res/drawable-large/map_globus.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
OsmAnd/res/drawable-large/map_globus_white.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
OsmAnd/res/drawable-large/map_layers_black.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
OsmAnd/res/drawable-large/map_layers_white.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
OsmAnd/res/drawable-large/map_magnifier.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
OsmAnd/res/drawable-large/map_monitoring.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
OsmAnd/res/drawable-large/map_monitoring_white.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
OsmAnd/res/drawable-large/map_note_audio.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
OsmAnd/res/drawable-large/map_note_photo.png
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
OsmAnd/res/drawable-large/map_note_video.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
OsmAnd/res/drawable-large/map_pin_destination.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
OsmAnd/res/drawable-large/map_pin_origin.png
Normal file
After Width: | Height: | Size: 3 KiB |
BIN
OsmAnd/res/drawable-large/map_zoom_in.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
OsmAnd/res/drawable-large/map_zoom_out.png
Normal file
After Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 454 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB |
BIN
OsmAnd/res/drawable-xhdpi/map_bt_round_1_shadow.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
OsmAnd/res/drawable-xhdpi/map_bt_round_2_shadow.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
OsmAnd/res/drawable-xhdpi/map_zoom_in.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
OsmAnd/res/drawable-xhdpi/map_zoom_out.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
OsmAnd/res/drawable-xxhdpi/map_bt_round_1_shadow.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
OsmAnd/res/drawable-xxhdpi/map_bt_round_2_shadow.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
OsmAnd/res/drawable-xxhdpi/map_zoom_in.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
OsmAnd/res/drawable-xxhdpi/map_zoom_out.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
|
@ -4,7 +4,7 @@
|
||||||
<item>
|
<item>
|
||||||
<bitmap
|
<bitmap
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:src="@drawable/bt_round_1_shadow" />
|
android:src="@drawable/map_bt_round_1_shadow" />
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<item>
|
<item>
|
||||||
<bitmap
|
<bitmap
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:src="@drawable/bt_round_1_shadow" />
|
android:src="@drawable/map_bt_round_1_shadow" />
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<item>
|
<item>
|
||||||
<bitmap
|
<bitmap
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:src="@drawable/bt_round_1_shadow" />
|
android:src="@drawable/map_bt_round_1_shadow" />
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<item>
|
<item>
|
||||||
<bitmap
|
<bitmap
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:src="@drawable/bt_round_1_shadow" />
|
android:src="@drawable/map_bt_round_1_shadow" />
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<inset
|
<inset
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<item>
|
<item>
|
||||||
<bitmap
|
<bitmap
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:src="@drawable/bt_round_1_shadow" />
|
android:src="@drawable/map_bt_round_1_shadow" />
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<item>
|
<item>
|
||||||
<bitmap
|
<bitmap
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:src="@drawable/bt_round_1_shadow" />
|
android:src="@drawable/map_bt_round_1_shadow" />
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<item>
|
<item>
|
||||||
<bitmap
|
<bitmap
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:src="@drawable/bt_round_1_shadow" />
|
android:src="@drawable/map_bt_round_1_shadow" />
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||||
<item>
|
<item>
|
||||||
<bitmap android:src="@drawable/bt_round_2_shadow" android:gravity="center" />
|
<bitmap android:src="@drawable/map_bt_round_2_shadow" android:gravity="center" />
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<inset
|
<inset
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||||
<item>
|
<item>
|
||||||
<bitmap android:src="@drawable/bt_round_2_shadow" android:gravity="center" />
|
<bitmap android:src="@drawable/map_bt_round_2_shadow" android:gravity="center" />
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<inset
|
<inset
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||||
<item>
|
<item>
|
||||||
<bitmap android:src="@drawable/bt_round_2_shadow" android:gravity="center" />
|
<bitmap android:src="@drawable/map_bt_round_2_shadow" android:gravity="center" />
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<inset
|
<inset
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||||
<item>
|
<item>
|
||||||
|
|
||||||
<bitmap android:src="@drawable/bt_round_2_shadow" android:gravity="center" />
|
<bitmap android:src="@drawable/map_bt_round_2_shadow" android:gravity="center" />
|
||||||
|
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
|
|
@ -4,6 +4,6 @@
|
||||||
<item>
|
<item>
|
||||||
<bitmap
|
<bitmap
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:src="@drawable/bt_round_2_shadow" />
|
android:src="@drawable/map_bt_round_2_shadow" />
|
||||||
</item>
|
</item>
|
||||||
</selector>
|
</selector>
|
|
@ -1,29 +1,37 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<dimen name="dashHeaderHeight">60dp</dimen>
|
<dimen name="map_trans_seek_size">120dp</dimen>
|
||||||
<dimen name="subHeaderPadding">3dp</dimen>
|
<dimen name="map_widget_text_size">35sp</dimen>
|
||||||
<dimen name="subHeaderMarginLeft">22dp</dimen>
|
<dimen name="map_widget_text_size_small">23sp</dimen>
|
||||||
<dimen name="showAllButtonMarginRight">21dp</dimen>
|
<dimen name="map_button_text_size">27sp</dimen>
|
||||||
<dimen name="showAllButtonHeight">54dp</dimen>
|
<dimen name="map_route_buttons_width">90dp</dimen>
|
||||||
<dimen name="dashListItemHeight">75dp</dimen>
|
<dimen name="map_route_buttons_height">81dp</dimen>
|
||||||
<dimen name="dashFavIconSize">42dp</dimen>
|
<dimen name="map_route_buttons_height_land">72dp</dimen>
|
||||||
<dimen name="dashFavIconMargin">18dp</dimen>
|
|
||||||
<dimen name="dashFavDirectionSize">15dp</dimen>
|
<dimen name="map_address_height">60dp</dimen>
|
||||||
<dimen name="dashMapMargin">3dp</dimen>
|
<dimen name="map_button_size">75dp</dimen>
|
||||||
<dimen name="dashProgressTextSize">27sp</dimen>
|
<dimen name="map_ruler_width">180dp</dimen>
|
||||||
<dimen name="dashNoteIconSize">42dp</dimen>
|
<dimen name="map_ruler_bottom_margin">14dp</dimen>
|
||||||
<dimen name="dashPluginPadding">6dp</dimen>
|
<dimen name="map_button_shadow_width">81dp</dimen>
|
||||||
<dimen name="dashPluginMargin">12dp</dimen>
|
<dimen name="map_alarm_size">116dp</dimen>
|
||||||
<dimen name="dashSearchBtnHeight">135dp</dimen>
|
<dimen name="map_alarm_text_size">37sp</dimen>
|
||||||
<dimen name="dashSearchPaddingTop">25dp</dimen>
|
|
||||||
<dimen name="dashSearchPaddingBot">15dp</dimen>
|
<dimen name="map_alarm_bottom_margin">140dp</dimen>
|
||||||
<dimen name="dashPadding">9dp</dimen>
|
<dimen name="map_alarm_bottom_margin_land">78dp</dimen>
|
||||||
<dimen name="dashAboutTextSize">30sp</dimen>
|
<dimen name="map_button_shadow_height">127dp</dimen>
|
||||||
<dimen name="dashCardMargin">6dp</dimen>
|
<dimen name="map_widget_icon">32dp</dimen>
|
||||||
|
<dimen name="map_widget_height">48dp</dimen>
|
||||||
|
<dimen name="map_widget_image">120dp</dimen>
|
||||||
|
<dimen name="map_button_spacing">19dp</dimen>
|
||||||
|
<dimen name="map_button_spacing_land">12dp</dimen>
|
||||||
|
<dimen name="map_button_margin">6dp</dimen>
|
||||||
|
<dimen name="map_routing_progress_width">150dp</dimen>
|
||||||
|
|
||||||
|
<dimen name="map_button_shadow_margin">4dp</dimen>
|
||||||
|
<dimen name="map_button_inset_shadow">2dp</dimen>
|
||||||
|
<dimen name="map_button_inset">6dp</dimen>
|
||||||
|
<dimen name="map_button_rect_rad">4dp</dimen>
|
||||||
|
<dimen name="map_button_stroke">1px</dimen>
|
||||||
|
|
||||||
|
|
||||||
<!-- TextSizes -->
|
|
||||||
<dimen name="showAllButtonTextSize">16sp</dimen>
|
|
||||||
<dimen name="subHeaderTextSize">21sp</dimen>
|
|
||||||
<dimen name="dashFavNameTextSize">24sp</dimen>
|
|
||||||
<dimen name="dashParkingTextSize">24sp</dimen>
|
|
||||||
</resources>
|
</resources>
|
|
@ -328,7 +328,7 @@ public class MapControlsLayer extends OsmandMapLayer {
|
||||||
private void initZooms() {
|
private void initZooms() {
|
||||||
final OsmandMapTileView view = mapActivity.getMapView();
|
final OsmandMapTileView view = mapActivity.getMapView();
|
||||||
View zoomInButton = mapActivity.findViewById(R.id.map_zoom_in_button);
|
View zoomInButton = mapActivity.findViewById(R.id.map_zoom_in_button);
|
||||||
controls.add(createHudButton((ImageView) zoomInButton, R.drawable.ic_action_zoom_in).setRoundTransparent());
|
controls.add(createHudButton((ImageView) zoomInButton, R.drawable.map_zoom_in).setRoundTransparent());
|
||||||
zoomInButton.setOnClickListener(new View.OnClickListener() {
|
zoomInButton.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
|
@ -344,7 +344,7 @@ public class MapControlsLayer extends OsmandMapLayer {
|
||||||
final View.OnLongClickListener listener = MapControlsLayer.getOnClickMagnifierListener(view);
|
final View.OnLongClickListener listener = MapControlsLayer.getOnClickMagnifierListener(view);
|
||||||
zoomInButton.setOnLongClickListener(listener);
|
zoomInButton.setOnLongClickListener(listener);
|
||||||
View zoomOutButton = mapActivity.findViewById(R.id.map_zoom_out_button);
|
View zoomOutButton = mapActivity.findViewById(R.id.map_zoom_out_button);
|
||||||
controls.add(createHudButton((ImageView) zoomOutButton, R.drawable.ic_action_zoom_out).setRoundTransparent());
|
controls.add(createHudButton((ImageView) zoomOutButton, R.drawable.map_zoom_out).setRoundTransparent());
|
||||||
zoomOutButton.setOnClickListener(new View.OnClickListener() {
|
zoomOutButton.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
|
|