Added new icons for Developer plugin and builds menu item
This commit is contained in:
parent
f88c6f0ce6
commit
d657338035
3 changed files with 55 additions and 2 deletions
21
OsmAnd/res/drawable/ic_action_apk.xml
Normal file
21
OsmAnd/res/drawable/ic_action_apk.xml
Normal file
|
@ -0,0 +1,21 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M10,16L8.5,11H7.5L6,16H7L7.3,15H8.7L9,16H10ZM8.4,14L8,12.6667L7.6,14H8.4Z"
|
||||
android:fillColor="#ffffff"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M16,11V13.3333L17,11H18L16.75,13.9167L18,16H17L16.1,14.5H16V16H15V11H16Z"
|
||||
android:fillColor="#ffffff"/>
|
||||
<path
|
||||
android:pathData="M13,11H11V16H12V15H13C13.5523,15 14,14.5523 14,14V12C14,11.4477 13.5523,11 13,11ZM12,14H13V12H12V14Z"
|
||||
android:fillColor="#ffffff"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:pathData="M3.3167,6.3666C3.1084,6.7831 3,7.2425 3,7.7082V19C3,20.1046 3.8954,21 5,21H19C20.1046,21 21,20.1046 21,19V7.7082C21,7.2425 20.8916,6.7831 20.6833,6.3666L19.4472,3.8944C19.1731,3.3463 18.6129,3 18,3H6C5.3871,3 4.8269,3.3463 4.5528,3.8944L3.3167,6.3666ZM5,8L5,19H19V8H5Z"
|
||||
android:fillColor="#ffffff"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
32
OsmAnd/res/drawable/ic_action_laptop.xml
Normal file
32
OsmAnd/res/drawable/ic_action_laptop.xml
Normal file
|
@ -0,0 +1,32 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M4,6H20V18H4V6Z"
|
||||
android:strokeAlpha="0.3"
|
||||
android:fillColor="#ffffff"
|
||||
android:fillAlpha="0.3"/>
|
||||
<path
|
||||
android:pathData="M20,6H4V18H20V6ZM4,4C2.8954,4 2,4.8954 2,6V20H22V6C22,4.8954 21.1046,4 20,4H4Z"
|
||||
android:strokeAlpha="0.7"
|
||||
android:fillColor="#ffffff"
|
||||
android:fillType="evenOdd"
|
||||
android:fillAlpha="0.7"/>
|
||||
<path
|
||||
android:pathData="M1,18H23V19C23,19.5523 22.5523,20 22,20H2C1.4477,20 1,19.5523 1,19V18Z"
|
||||
android:fillColor="#ffffff"/>
|
||||
<path
|
||||
android:pathData="M14,8H6V10H14V8Z"
|
||||
android:fillColor="#ffffff"/>
|
||||
<path
|
||||
android:pathData="M18,8H16V10H18V8Z"
|
||||
android:fillColor="#ffffff"/>
|
||||
<path
|
||||
android:pathData="M6,12H9V14H6V12Z"
|
||||
android:fillColor="#ffffff"/>
|
||||
<path
|
||||
android:pathData="M18,12H11V14H18V12Z"
|
||||
android:fillColor="#ffffff"/>
|
||||
</vector>
|
|
@ -62,7 +62,7 @@ public class OsmandDevelopmentPlugin extends OsmandPlugin {
|
|||
helper.addItem(new ContextMenuItem.ItemBuilder()
|
||||
.setId(DRAWER_BUILDS_ID)
|
||||
.setTitleId(R.string.version_settings, mapActivity)
|
||||
.setIcon(R.drawable.ic_action_info_dark)
|
||||
.setIcon(R.drawable.ic_action_apk)
|
||||
.setListener(new ContextMenuAdapter.ItemClickListener() {
|
||||
@Override
|
||||
public boolean onContextMenuClick(ArrayAdapter<ContextMenuItem> adapter, int itemId, int pos, boolean isChecked, int[] viewCoordinates) {
|
||||
|
@ -133,7 +133,7 @@ public class OsmandDevelopmentPlugin extends OsmandPlugin {
|
|||
|
||||
@Override
|
||||
public int getLogoResourceId() {
|
||||
return R.drawable.ic_plugin_developer;
|
||||
return R.drawable.ic_action_laptop;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue