diff --git a/LuttuLibrary/src/com/luttu/AppPrefes.java b/LuttuLibrary/src/com/luttu/AppPrefes.java index 54089f92..9724f42e 100755 --- a/LuttuLibrary/src/com/luttu/AppPrefes.java +++ b/LuttuLibrary/src/com/luttu/AppPrefes.java @@ -43,5 +43,23 @@ public void SaveData(String Tag, String text) { prefsEditor.commit(); } + /**** + * + * IsTrue() get the boolean value from the preference + * + * */ + public boolean IsTrue(String key, boolean defValue) { + boolean res = appSharedPrefs.getBoolean(key, defValue); + return res; + } + /**** + * + * SaveBoolean() save the boolean value to the preference + * + * */ + public void SaveBoolean(String key, boolean boValue) { + prefsEditor.putBoolean(key, boValue); + prefsEditor.commit(); + } } diff --git a/OpenVehicleApp/res/drawable-hdpi/m_path_location.png b/OpenVehicleApp/res/drawable-hdpi/m_path_location.png new file mode 100644 index 00000000..58e55416 Binary files /dev/null and b/OpenVehicleApp/res/drawable-hdpi/m_path_location.png differ diff --git a/OpenVehicleApp/res/drawable-mdpi/m_path_location.png b/OpenVehicleApp/res/drawable-mdpi/m_path_location.png new file mode 100644 index 00000000..200583f8 Binary files /dev/null and b/OpenVehicleApp/res/drawable-mdpi/m_path_location.png differ diff --git a/OpenVehicleApp/res/drawable-xhdpi/m_path_location.png b/OpenVehicleApp/res/drawable-xhdpi/m_path_location.png new file mode 100644 index 00000000..8bd83202 Binary files /dev/null and b/OpenVehicleApp/res/drawable-xhdpi/m_path_location.png differ diff --git a/OpenVehicleApp/res/layout/marker.xml b/OpenVehicleApp/res/layout/marker.xml new file mode 100644 index 00000000..42f54356 --- /dev/null +++ b/OpenVehicleApp/res/layout/marker.xml @@ -0,0 +1,36 @@ + + + + + + + + + + \ No newline at end of file diff --git a/OpenVehicleApp/res/layout/mmap.xml b/OpenVehicleApp/res/layout/mmap.xml index 4f5a6938..9410f26b 100755 --- a/OpenVehicleApp/res/layout/mmap.xml +++ b/OpenVehicleApp/res/layout/mmap.xml @@ -1,8 +1,63 @@ + + + + + + + + +