mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 13:53:37 +00:00
[android] Load icon types from core
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
This commit is contained in:
committed by
Konstantin Pastbin
parent
d9335c0b6c
commit
2ded7e5e2b
@@ -43,6 +43,8 @@ set(SRC
|
||||
app/organicmaps/sdk/core/jni_java_methods.cpp
|
||||
app/organicmaps/sdk/core/logging.cpp
|
||||
app/organicmaps/sdk/bookmarks/data/BookmarkManager.cpp
|
||||
app/organicmaps/sdk/bookmarks/data/Icon.cpp
|
||||
app/organicmaps/sdk/bookmarks/data/Icon.hpp
|
||||
app/organicmaps/sdk/bookmarks/data/PredefinedColors.cpp
|
||||
app/organicmaps/sdk/bookmarks/data/PredefinedColors.hpp
|
||||
app/organicmaps/sdk/DownloadResourcesLegacyActivity.cpp
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
#include <jni.h>
|
||||
|
||||
#include "app/organicmaps/sdk/core/jni_helper.hpp"
|
||||
|
||||
#include "kml/types.hpp"
|
||||
|
||||
extern "C"
|
||||
{
|
||||
JNIEXPORT jobjectArray JNICALL Java_app_organicmaps_sdk_bookmarks_data_Icon_nativeGetBookmarkIconNames(JNIEnv * env,
|
||||
jclass)
|
||||
{
|
||||
std::vector<std::string> icons;
|
||||
for (uint16_t i = 0; i < static_cast<uint16_t>(kml::BookmarkIcon::Count); ++i)
|
||||
icons.emplace_back(kml::DebugPrint(static_cast<kml::BookmarkIcon>(i)));
|
||||
return jni::ToJavaStringArray(env, icons);
|
||||
}
|
||||
}
|
||||
|
||||
namespace
|
||||
{
|
||||
JNINativeMethod const iconMethods[] = {
|
||||
{"nativeGetBookmarkIconNames", "()[Ljava/lang/String;",
|
||||
reinterpret_cast<void *>(&Java_app_organicmaps_sdk_bookmarks_data_Icon_nativeGetBookmarkIconNames)},
|
||||
};
|
||||
}
|
||||
|
||||
namespace icon
|
||||
{
|
||||
jint registerNativeMethods(JNIEnv * env)
|
||||
{
|
||||
jclass clazz = env->FindClass("app/organicmaps/sdk/bookmarks/data/Icon");
|
||||
if (clazz == nullptr)
|
||||
return JNI_ERR;
|
||||
|
||||
return env->RegisterNatives(clazz, iconMethods, std::size(iconMethods));
|
||||
}
|
||||
} // namespace icon
|
||||
@@ -0,0 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <jni.h>
|
||||
|
||||
namespace icon
|
||||
{
|
||||
jint registerNativeMethods(JNIEnv * env);
|
||||
} // namespace icon
|
||||
@@ -21,7 +21,7 @@ Java_app_organicmaps_sdk_bookmarks_data_PredefinedColors_nativeGetPredefinedColo
|
||||
|
||||
namespace
|
||||
{
|
||||
JNINativeMethod const methods[] = {
|
||||
JNINativeMethod const predefinedColorsMethods[] = {
|
||||
{"nativeGetPredefinedColors", "()[I",
|
||||
reinterpret_cast<void *>(&Java_app_organicmaps_sdk_bookmarks_data_PredefinedColors_nativeGetPredefinedColors)},
|
||||
};
|
||||
@@ -35,6 +35,6 @@ jint registerNativeMethods(JNIEnv * env)
|
||||
if (clazz == nullptr)
|
||||
return JNI_ERR;
|
||||
|
||||
return env->RegisterNatives(clazz, methods, std::size(methods));
|
||||
return env->RegisterNatives(clazz, predefinedColorsMethods, std::size(predefinedColorsMethods));
|
||||
}
|
||||
} // namespace predefined_colors
|
||||
|
||||
@@ -5,4 +5,4 @@
|
||||
namespace predefined_colors
|
||||
{
|
||||
jint registerNativeMethods(JNIEnv * env);
|
||||
}
|
||||
} // namespace predefined_colors
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "base/string_utils.hpp"
|
||||
|
||||
#include "app/organicmaps/sdk/bookmarks/data/PredefinedColors.hpp"
|
||||
#include "app/organicmaps/sdk/bookmarks/data/Icon.hpp"
|
||||
|
||||
#include <vector>
|
||||
|
||||
@@ -70,6 +71,8 @@ JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM * jvm, void *)
|
||||
{
|
||||
if (predefined_colors::registerNativeMethods(env) != JNI_OK)
|
||||
return JNI_ERR;
|
||||
if (icon::registerNativeMethods(env) != JNI_OK)
|
||||
return JNI_ERR;
|
||||
}
|
||||
|
||||
return JNI_VERSION_1_6;
|
||||
|
||||
10
android/sdk/src/main/res/drawable/ic_bookmark_art.xml
Normal file
10
android/sdk/src/main/res/drawable/ic_bookmark_art.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="11dp"
|
||||
android:height="11dp"
|
||||
android:viewportWidth="11"
|
||||
android:viewportHeight="11">
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="m5.5,0c-3.037,0 -5.5,2.463 -5.5,5.5c0,3.037 2.463,5.5 5.5,5.5c0.507,0 0.916,-0.409 0.916,-0.916c0,-0.238 -0.088,-0.453 -0.238,-0.615c-0.144,-0.162 -0.229,-0.372 -0.229,-0.608c0,-0.507 0.409,-0.916 0.916,-0.916l1.079,0c1.687,0 3.055,-1.369 3.055,-3.055c0,-2.701 -2.463,-4.889 -5.5,-4.889l0,-0zM7.019,1.025a1.092,1.092 0,0 1,1.091 1.091a1.092,1.092 0,0 1,-1.091 1.093a1.092,1.092 0,0 1,-1.091 -1.093a1.092,1.092 0,0 1,1.091 -1.091zM3.959,1.04a1.092,1.092 0,0 1,1.093 1.093a1.092,1.092 0,0 1,-1.093 1.091a1.092,1.092 0,0 1,-1.091 -1.091a1.092,1.092 0,0 1,1.091 -1.093zM2.127,3.494a1.092,1.092 0,0 1,1.091 1.093a1.092,1.092 0,0 1,-1.091 1.091a1.092,1.092 0,0 1,-1.091 -1.091a1.092,1.092 0,0 1,1.091 -1.093zM8.852,3.494a1.092,1.092 0,0 1,1.091 1.093a1.092,1.092 0,0 1,-1.091 1.091a1.092,1.092 0,0 1,-1.091 -1.091a1.092,1.092 0,0 1,1.091 -1.093z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
10
android/sdk/src/main/res/drawable/ic_bookmark_bank.xml
Normal file
10
android/sdk/src/main/res/drawable/ic_bookmark_bank.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="10dp"
|
||||
android:height="10dp"
|
||||
android:viewportWidth="10"
|
||||
android:viewportHeight="10">
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="m0,2.308l5,-2.308l5,2.308l0,0.769l-0.769,0l0,5.769l0.769,0l0,1.154l-10,0l0,-1.154l0.769,0l0,-5.769l-0.769,0l0,-0.769zM6.923,6.411c0,-0.85 -0.865,-1.539 -1.925,-1.539c-0.352,0 -0.643,-0.23 -0.643,-0.514s0.287,-0.514 0.643,-0.514c0.356,0 0.643,0.232 0.643,0.514l1.282,0c0,-0.667 -0.537,-1.23 -1.282,-1.444l0,-0.607l-1.282,0l0,0.607c-0.745,0.213 -1.282,0.776 -1.282,1.444c0,0.85 0.865,1.539 1.925,1.539c0.356,0 0.643,0.23 0.643,0.514s-0.287,0.514 -0.643,0.514c-0.356,0 -0.643,-0.232 -0.643,-0.514l-1.282,0c0,0.667 0.537,1.23 1.282,1.444l0,0.607l1.282,0l0,-0.607c0.745,-0.213 1.282,-0.776 1.282,-1.444z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="13dp"
|
||||
android:height="10dp"
|
||||
android:viewportWidth="13"
|
||||
android:viewportHeight="10">
|
||||
<path
|
||||
android:pathData="m6.465,0c-0.583,-0.009 -0.583,0.873 0,0.865l1.293,0l0,1.095l-2.416,2.019l-0.84,-2.249l0.239,0c0.583,0.009 0.583,-0.873 0,-0.865l-1.724,0c-0.583,-0.009 -0.583,0.873 0,0.865l0.562,0l0.768,2.055c-0.403,-0.201 -0.851,-0.324 -1.33,-0.324c-1.661,0 -3.017,1.361 -3.017,3.028s1.356,3.028 3.017,3.028s3.017,-1.361 3.017,-3.028c0,-0.58 -0.173,-1.117 -0.456,-1.578l2.431,-2.033l0.399,1.004c-0.899,0.525 -1.512,1.492 -1.512,2.607c0,1.667 1.356,3.028 3.017,3.028c1.661,0 3.017,-1.361 3.017,-3.028s-1.356,-3.028 -3.017,-3.028c-0.244,0 -0.478,0.038 -0.705,0.093l-0.588,-1.475l0,-1.646c0,-0.239 -0.193,-0.433 -0.431,-0.433l-1.724,-0zM3.017,4.326c0.511,0 0.972,0.183 1.34,0.478l-1.616,1.352c-0.44,0.37 0.11,1.033 0.552,0.666l1.616,-1.352c0.162,0.304 0.263,0.648 0.263,1.019c0,1.2 -0.96,2.163 -2.155,2.163c-1.195,0 -2.155,-0.963 -2.155,-2.163c0,-1.2 0.96,-2.163 2.155,-2.163l-0,0zM9.912,4.326c1.195,0 2.155,0.963 2.155,2.163c0,1.2 -0.96,2.163 -2.155,2.163c-1.195,0 -2.155,-0.963 -2.155,-2.163c0,-0.759 0.385,-1.421 0.97,-1.806l0.785,1.967c0.212,0.539 1.017,0.216 0.801,-0.321l-0.783,-1.963c0.124,-0.022 0.251,-0.039 0.382,-0.039l-0,-0z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
@@ -0,0 +1,15 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="15dp"
|
||||
android:height="15dp"
|
||||
android:viewportWidth="15"
|
||||
android:viewportHeight="15">
|
||||
<path
|
||||
android:pathData="m7.501,4.135c-0.583,-0.009 -0.583,0.873 0,0.865l1.293,0l0,1.095l-2.416,2.019l-0.84,-2.249l0.239,0c0.583,0.009 0.583,-0.873 0,-0.865l-1.724,0c-0.583,-0.009 -0.583,0.873 0,0.865l0.562,0l0.768,2.055c-0.403,-0.201 -0.851,-0.324 -1.33,-0.324c-1.661,0 -3.017,1.361 -3.017,3.028s1.356,3.028 3.017,3.028s3.017,-1.361 3.017,-3.028c0,-0.58 -0.173,-1.117 -0.456,-1.578l2.431,-2.033l0.399,1.004c-0.899,0.525 -1.512,1.492 -1.512,2.607c0,1.667 1.356,3.028 3.017,3.028s3.017,-1.361 3.017,-3.028s-1.356,-3.028 -3.017,-3.028c-0.244,0 -0.478,0.038 -0.705,0.093l-0.588,-1.475l0,-1.646c0,-0.239 -0.193,-0.433 -0.431,-0.433l-1.724,-0zM4.053,8.461c0.511,0 0.972,0.183 1.34,0.478l-1.616,1.352c-0.44,0.37 0.11,1.033 0.552,0.666l1.616,-1.352c0.162,0.304 0.263,0.648 0.263,1.019c0,1.2 -0.96,2.163 -2.155,2.163s-2.155,-0.963 -2.155,-2.163c0,-1.2 0.96,-2.163 2.155,-2.163l-0,0zM10.949,8.461c1.195,0 2.155,0.963 2.155,2.163c0,1.2 -0.96,2.163 -2.155,2.163s-2.155,-0.963 -2.155,-2.163c0,-0.759 0.385,-1.421 0.97,-1.806l0.785,1.967c0.212,0.539 1.017,0.216 0.801,-0.321l-0.783,-1.963c0.124,-0.022 0.251,-0.039 0.382,-0.039l-0,-0z"
|
||||
android:fillColor="#fff"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="m1.5,4.5l6,-3l6,3"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#fff"
|
||||
android:strokeLineCap="round"/>
|
||||
</vector>
|
||||
@@ -0,0 +1,30 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="13dp"
|
||||
android:height="15dp"
|
||||
android:viewportWidth="13"
|
||||
android:viewportHeight="15">
|
||||
<path
|
||||
android:pathData="m6.563,4.584c-0.583,-0.009 -0.583,0.873 0,0.865l1.293,0l0,1.095l-2.416,2.019l-0.84,-2.249l0.239,0c0.583,0.009 0.583,-0.873 0,-0.865l-1.724,0c-0.583,-0.009 -0.583,0.873 0,0.865l0.562,0l0.768,2.055c-0.403,-0.201 -0.851,-0.324 -1.33,-0.324c-1.661,0 -3.017,1.361 -3.017,3.028s1.356,3.028 3.017,3.028s3.017,-1.361 3.017,-3.028c0,-0.58 -0.173,-1.117 -0.456,-1.578l2.431,-2.033l0.399,1.004c-0.899,0.525 -1.512,1.492 -1.512,2.607c0,1.667 1.356,3.028 3.017,3.028c1.661,0 3.017,-1.361 3.017,-3.028s-1.356,-3.028 -3.017,-3.028c-0.244,0 -0.478,0.038 -0.705,0.093l-0.588,-1.475l0,-1.646c0,-0.239 -0.193,-0.433 -0.431,-0.433l-1.724,-0zM3.115,8.91c0.511,0 0.972,0.183 1.34,0.478l-1.616,1.352c-0.44,0.37 0.11,1.033 0.552,0.666l1.616,-1.352c0.162,0.304 0.263,0.648 0.263,1.019c0,1.2 -0.96,2.163 -2.155,2.163c-1.195,0 -2.155,-0.963 -2.155,-2.163c0,-1.2 0.96,-2.163 2.155,-2.163l-0,0zM10.01,8.91c1.195,0 2.155,0.963 2.155,2.163c0,1.2 -0.96,2.163 -2.155,2.163c-1.195,0 -2.155,-0.963 -2.155,-2.163c0,-0.759 0.385,-1.421 0.97,-1.806l0.785,1.967c0.212,0.539 1.017,0.216 0.801,-0.321l-0.783,-1.963c0.124,-0.022 0.251,-0.039 0.382,-0.039l-0,-0z"
|
||||
android:fillColor="#fff"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="M3.694,2.038m-1.462,0a1.462,1.462 0,1 1,2.925 0a1.462,1.462 0,1 1,-2.925 0"
|
||||
android:strokeLineJoin="round"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#fff"
|
||||
android:strokeLineCap="round"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="m5.186,2.027l5.811,0"
|
||||
android:strokeLineJoin="round"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#fff"
|
||||
android:strokeLineCap="round"/>
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="m10.099,2.027l0,1.648"
|
||||
android:strokeLineJoin="round"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#fff"
|
||||
android:strokeLineCap="round"/>
|
||||
</vector>
|
||||
10
android/sdk/src/main/res/drawable/ic_bookmark_cafe.xml
Normal file
10
android/sdk/src/main/res/drawable/ic_bookmark_cafe.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="10dp"
|
||||
android:height="10dp"
|
||||
android:viewportWidth="10"
|
||||
android:viewportHeight="10">
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="m8.833,0l-8.833,0l0,5.521c0,1.22 0.988,2.208 2.208,2.208l3.313,0c1.22,0 2.208,-0.988 2.208,-2.208l0,-1.656l1.104,0c0.613,0 1.104,-0.497 1.104,-1.104l0,-1.656c0,-0.613 -0.491,-1.104 -1.104,-1.104l0,-0zM8.833,2.761l-1.104,0l0,-1.656l1.104,0l0,1.656zM0,8.833l8.833,0l0,1.104l-8.833,0l0,-1.104z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="12dp"
|
||||
android:height="10dp"
|
||||
android:viewportWidth="12"
|
||||
android:viewportHeight="10">
|
||||
<path
|
||||
android:pathData="m1,0a0.998,0.998 0,0 0,-1 1l0,7.999a0.998,0.998 0,0 0,1 1l4,0a0.998,0.998 0,0 0,1 -1l0,-2l0.5,0c0.282,0 0.5,0.218 0.5,0.5l0,1c0,0.822 0.677,1.5 1.5,1.5c0.822,0 1.5,-0.678 1.5,-1.5l0,-3.5a0.51,0.51 0,0 0,-0.007 -0.084a1.517,1.517 0,0 0,0.919 -0.916l0.088,0a0.998,0.998 0,0 0,1 -1l-1,0l0,-2a0.5,0.5 0,1 0,-1 0l0,2l-1,0l0,-2a0.5,0.5 0,1 0,-1 0l0,2l-1,0a0.998,0.998 0,0 0,1 1l0.088,0a1.516,1.516 0,0 0,0.92 0.916a0.512,0.512 0,0 0,-0.007 0.084l0,3.5a0.493,0.493 0,0 1,-0.5 0.5a0.493,0.493 0,0 1,-0.5 -0.5l0,-1c0,-0.822 -0.677,-1.5 -1.5,-1.5l-0.5,0l0,-4.999a0.998,0.998 0,0 0,-1 -1l-4,-0zM1.5,1l3,0c0.278,0 0.5,0.223 0.5,0.5l0,2.5l-4,0l0,-2.5c0,-0.277 0.223,-0.5 0.5,-0.5l0,0zM4.141,4.75a0.24,0.24 0,0 1,0.154 0.06c0.077,0.078 0.078,0.195 0.002,0.274l-1.197,1.385l0.9,0.905a0.178,0.178 0,0 1,-0.017 0.271l-1.965,1.555a0.247,0.247 0,0 1,-0.312 -0.01a0.191,0.191 0,0 1,-0.002 -0.274l1.198,-1.382l-0.901,-0.907a0.178,0.178 0,0 1,0.017 -0.271l1.965,-1.555a0.242,0.242 0,0 1,0.158 -0.05l-0,0z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
10
android/sdk/src/main/res/drawable/ic_bookmark_exchange.xml
Normal file
10
android/sdk/src/main/res/drawable/ic_bookmark_exchange.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="11dp"
|
||||
android:height="11dp"
|
||||
android:viewportWidth="11"
|
||||
android:viewportHeight="11">
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="m10.394,2.26l-0.652,0l-1.232,-2.041c-0.065,-0.108 -0.173,-0.184 -0.297,-0.21c-0.123,-0.025 -0.254,0.002 -0.357,0.075l-3.064,2.176l1.564,0l1.627,-1.155l0.697,1.155l-1.925,0l0,0.904l3.182,0l0,3.616l-5.455,0l0,-0.904l-0.909,0l0,1.356c0,0.25 0.204,0.452 0.455,0.452l3.129,0l-0.102,0.203c-0.077,0.154 -0.233,0.25 -0.406,0.25l-2.887,0l-1.097,-1.091l0,-2.337l1.097,-1.092l1.63,0l0,0.452c0,0.249 -0.204,0.452 -0.455,0.452l-0.909,0l0,0.904l0.909,0c0.752,0 1.364,-0.608 1.364,-1.356l0,-0.904c0,-0.25 -0.203,-0.452 -0.455,-0.452l-2.273,0c-0.12,0 -0.236,0.047 -0.321,0.133l-0.833,0.828c-0.064,-0.033 -0.132,-0.057 -0.209,-0.057l-1.818,0c-0.251,0 -0.455,0.203 -0.455,0.452l0,3.616c0,0.25 0.204,0.452 0.455,0.452l1.818,0c0.077,0 0.145,-0.023 0.209,-0.057l0.833,0.829c0.085,0.084 0.201,0.132 0.321,0.132l3.075,0c0.52,0 0.987,-0.287 1.22,-0.75l0.305,-0.606l2.219,0c0.251,0 0.455,-0.202 0.455,-0.452l0,-4.52c0,-0.25 -0.203,-0.452 -0.455,-0.452l0,0zM1.756,7.232l-0.909,0l0,-2.712l0.909,0l0,2.712z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
10
android/sdk/src/main/res/drawable/ic_bookmark_fast_food.xml
Normal file
10
android/sdk/src/main/res/drawable/ic_bookmark_fast_food.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="11dp"
|
||||
android:height="11dp"
|
||||
android:viewportWidth="11"
|
||||
android:viewportHeight="11">
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="m10.875,3.263c0.011,-2.175 -2.327,-3.263 -5.438,-3.263c-3.105,0 -5.438,1.087 -5.438,3.263c0,0.299 0.245,0.544 0.544,0.544l9.788,0c0.299,0 0.544,-0.245 0.544,-0.544l-0,0zM0,8.7c0,0.598 0.489,1.087 1.087,1.087l8.7,0c0.598,0 1.087,-0.489 1.087,-1.087l0,-0.544c0,-0.598 -0.489,-1.087 -1.087,-1.087l-8.7,0c-0.598,0 -1.087,0.489 -1.087,1.087l0,0.544zM0.745,6.134c0.43,-0.158 0.636,-0.424 1.082,-0.424c0.647,0 0.772,0.544 1.811,0.544c1.06,0 1.136,-0.544 1.811,-0.544c0.647,0 0.772,0.544 1.811,0.544c1.06,0 1.136,-0.544 1.811,-0.544c0.44,0 0.636,0.25 1.049,0.413c0.364,0.141 0.756,-0.136 0.756,-0.522c0,-0.234 -0.152,-0.44 -0.375,-0.522c-0.527,-0.19 -0.663,-0.451 -1.441,-0.451c-1.06,0 -1.136,0.544 -1.811,0.544c-0.647,0 -0.772,-0.544 -1.811,-0.544c-1.06,0 -1.136,0.544 -1.811,0.544c-0.647,0 -0.772,-0.544 -1.811,-0.544c-0.843,0 -1.066,0.343 -1.457,0.484c-0.212,0.076 -0.353,0.283 -0.353,0.511c0,0.375 0.381,0.642 0.739,0.511l-0,0z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
@@ -0,0 +1,18 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="11dp"
|
||||
android:height="11dp"
|
||||
android:viewportWidth="11"
|
||||
android:viewportHeight="11">
|
||||
<path
|
||||
android:pathData="M5.5,2m-1.5,0a1.5,1.5 0,1 1,3 0a1.5,1.5 0,1 1,-3 0"
|
||||
android:fillColor="#fff"/>
|
||||
<path
|
||||
android:pathData="M4,4L6,4A0.5,0.5 0,0 1,6.5 4.5L6.5,5A0.5,0.5 0,0 1,6 5.5L4,5.5A0.5,0.5 0,0 1,3.5 5L3.5,4.5A0.5,0.5 0,0 1,4 4z"
|
||||
android:fillColor="#fff"/>
|
||||
<path
|
||||
android:pathData="M4.5,5h2v5h-2z"
|
||||
android:fillColor="#fff"/>
|
||||
<path
|
||||
android:pathData="M4,9.5L7,9.5A0.5,0.5 0,0 1,7.5 10L7.5,10.5A0.5,0.5 0,0 1,7 11L4,11A0.5,0.5 0,0 1,3.5 10.5L3.5,10A0.5,0.5 0,0 1,4 9.5z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
10
android/sdk/src/main/res/drawable/ic_bookmark_pharmacy.xml
Normal file
10
android/sdk/src/main/res/drawable/ic_bookmark_pharmacy.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="10dp"
|
||||
android:height="10dp"
|
||||
android:viewportWidth="10"
|
||||
android:viewportHeight="10">
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="m7.07,0c-0.751,0 -1.499,0.292 -2.05,0.837l-4.147,4.125c-0.855,0.847 -1.087,2.077 -0.673,3.101c0,0 0.31,0.726 0.61,1.023c0.283,0.28 0.624,0.478 0.97,0.62c0.096,0.049 0.168,0.067 0.25,0.093c0.011,0.003 0.02,0.012 0.031,0.015c0.996,0.294 2.107,0.056 2.864,-0.729l2.504,-2.481l1.643,-1.644c1.152,-1.141 1.152,-2.971 0,-4.063c-0.501,-0.595 -1.252,-0.899 -2.003,-0.899l0,0zM7.07,0.993c0.501,0 1.011,0.195 1.362,0.543s0.548,0.853 0.548,1.349c0,0.496 -0.197,0.986 -0.548,1.334l-1.706,1.69l-2.705,-2.698l1.656,-1.629c0.401,-0.397 0.842,-0.589 1.393,-0.589l-0,0z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
10
android/sdk/src/main/res/drawable/ic_bookmark_pub.xml
Normal file
10
android/sdk/src/main/res/drawable/ic_bookmark_pub.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="10dp"
|
||||
android:height="11dp"
|
||||
android:viewportWidth="10"
|
||||
android:viewportHeight="10">
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="m8.862,3.866l-0.864,0c0.194,-0.327 0.31,-0.703 0.31,-1.108c0,-1.224 -0.991,-2.216 -2.216,-2.216c-0.188,0 -0.366,0.028 -0.543,0.072c-0.454,-0.377 -1.03,-0.615 -1.673,-0.615c-1.047,0 -1.944,0.615 -2.365,1.501c-0.875,0.294 -1.512,1.113 -1.512,2.088c0,1.03 0.709,1.889 1.662,2.138l0,4.785l6.092,0l0,-1.108l1.108,0c0.609,0 1.108,-0.498 1.108,-1.108l0,-3.323c0,-0.609 -0.498,-1.108 -1.108,-1.108l0,0zM2.216,4.697c-0.609,0 -1.108,-0.498 -1.108,-1.108c0,-0.471 0.305,-0.886 0.759,-1.041l0.443,-0.15l0.199,-0.421c0.26,-0.537 0.781,-0.87 1.368,-0.87c0.438,0 0.77,0.194 0.964,0.36l0.432,0.36s0.354,-0.177 0.814,-0.177c0.609,0 1.108,0.498 1.108,1.108l-1.662,0c-1.839,0 -2.127,1.939 -3.318,1.939l-0,-0zM8.862,8.297l-1.108,0l0,-3.323l1.108,0l0,3.323z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
10
android/sdk/src/main/res/drawable/ic_bookmark_stadium.xml
Normal file
10
android/sdk/src/main/res/drawable/ic_bookmark_stadium.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="11dp"
|
||||
android:height="10dp"
|
||||
android:viewportWidth="11"
|
||||
android:viewportHeight="10">
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="m1.651,0l1.101,0l1.651,1.101l-1.651,1.101l0,0.734c0.809,-0.117 1.749,-0.184 2.752,-0.184c1.002,0 1.942,0.067 2.752,0.184l0,-2.936l1.101,0l1.651,1.101l-1.651,1.101l0,0.944c1.019,0.25 1.651,0.598 1.651,0.983c0,0.76 -2.464,1.376 -5.503,1.376c-3.039,0 -5.503,-0.616 -5.503,-1.376c0,-0.385 0.632,-0.733 1.651,-0.983l0,-3.145l0,0zM5.503,3.577c-1.824,0 -2.752,0.094 -2.752,0.55c0,0.456 0.928,0.55 2.752,0.55c1.824,0 2.752,-0.094 2.752,-0.55c0,-0.456 -0.928,-0.55 -2.752,-0.55zM5.503,6.467c2.096,0 3.964,-0.366 5.174,-0.937l-0.771,4.377l-2.752,0l0,-1.101c0,-0.608 -0.493,-1.101 -1.101,-1.101l-1.101,0c-0.608,0 -1.101,0.493 -1.101,1.101l0,1.101l-2.752,0l-0.771,-4.377c1.21,0.571 3.078,0.937 5.174,0.937l-0,0z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
10
android/sdk/src/main/res/drawable/ic_bookmark_theatre.xml
Normal file
10
android/sdk/src/main/res/drawable/ic_bookmark_theatre.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="12dp"
|
||||
android:height="12dp"
|
||||
android:viewportWidth="12"
|
||||
android:viewportHeight="12">
|
||||
<path
|
||||
android:strokeWidth="1"
|
||||
android:pathData="m5.372,0l0,3.581l1.791,0l0,1.492c0,-0.495 0.669,-0.895 1.492,-0.895s1.492,0.4 1.492,0.895l-2.984,0l0,1.725c0.448,0.227 0.955,0.364 1.492,0.364c1.814,0 3.283,-1.468 3.283,-3.283l0,-3.88l-6.566,0zM7.162,3.032c-0.328,0 -0.597,-0.269 -0.597,-0.597c0,-0.328 0.269,-0.597 0.597,-0.597s0.597,0.269 0.597,0.597c0,0.334 -0.269,0.597 -0.597,0.597zM10.147,3.032c-0.328,0 -0.597,-0.269 -0.597,-0.597c0,-0.328 0.269,-0.597 0.597,-0.597s0.597,0.269 0.597,0.597c0,0.334 -0.269,0.597 -0.597,0.597zM0,8.058c0,1.814 1.468,3.283 3.283,3.283s3.283,-1.468 3.283,-3.283l0,-3.88l-6.566,0l0,3.88zM3.283,9.252c-0.824,0 -1.492,-0.4 -1.492,-0.895l2.984,0c0,0.495 -0.669,0.895 -1.492,0.895zM4.775,5.969c0.328,0 0.597,0.269 0.597,0.597s-0.269,0.597 -0.597,0.597s-0.597,-0.269 -0.597,-0.597s0.269,-0.597 0.597,-0.597zM1.791,5.969c0.328,0 0.597,0.269 0.597,0.597s-0.269,0.597 -0.597,0.597s-0.597,-0.269 -0.597,-0.597s0.269,-0.597 0.597,-0.597z"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
||||
Reference in New Issue
Block a user