mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-29 09:13:46 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
908ba925ae |
@@ -351,7 +351,6 @@ dependencies {
|
|||||||
implementation libs.androidx.recyclerview
|
implementation libs.androidx.recyclerview
|
||||||
implementation libs.androidx.work.runtime
|
implementation libs.androidx.work.runtime
|
||||||
implementation libs.androidx.lifecycle.process
|
implementation libs.androidx.lifecycle.process
|
||||||
implementation libs.androidx.documentfile
|
|
||||||
implementation libs.android.material
|
implementation libs.android.material
|
||||||
// Fix for app/organicmaps/util/FileUploadWorker.java:14: error: cannot access ListenableFuture
|
// Fix for app/organicmaps/util/FileUploadWorker.java:14: error: cannot access ListenableFuture
|
||||||
// https://github.com/organicmaps/organicmaps/issues/6106
|
// https://github.com/organicmaps/organicmaps/issues/6106
|
||||||
|
|||||||
@@ -196,7 +196,7 @@ public final class UiUtils
|
|||||||
public static void showHomeUpButton(MaterialToolbar toolbar)
|
public static void showHomeUpButton(MaterialToolbar toolbar)
|
||||||
{
|
{
|
||||||
toolbar.setNavigationIcon(
|
toolbar.setNavigationIcon(
|
||||||
ThemeUtils.getResource(toolbar.getContext(), androidx.appcompat.R.attr.homeAsUpIndicator));
|
UiUtils.getStyledResourceId(toolbar.getContext(), androidx.appcompat.R.attr.homeAsUpIndicator));
|
||||||
}
|
}
|
||||||
|
|
||||||
// this method returns the total height of the display (in pixels) including notch and other touchable areas
|
// this method returns the total height of the display (in pixels) including notch and other touchable areas
|
||||||
|
|||||||
@@ -6,14 +6,7 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
<com.google.android.material.appbar.MaterialToolbar
|
<include layout="@layout/toolbar_default"/>
|
||||||
android:id="@+id/toolbar"
|
|
||||||
style="@style/MwmWidget.ToolbarStyle"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="end|center_vertical"
|
|
||||||
android:theme="@style/MwmWidget.ToolbarTheme">
|
|
||||||
</com.google.android.material.appbar.MaterialToolbar>
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_marginTop="@dimen/margin_half_double_plus"
|
android:layout_marginTop="@dimen/margin_half_double_plus"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
|
|||||||
@@ -30,8 +30,7 @@
|
|||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:background="?selectableItemBackgroundBorderless"
|
android:background="?selectableItemBackgroundBorderless"
|
||||||
app:srcCompat="?homeAsUpIndicator"
|
app:srcCompat="?homeAsUpIndicator"
|
||||||
android:scaleType="center"
|
android:scaleType="center" />
|
||||||
tools:src="@drawable/ic_expand_more" />
|
|
||||||
|
|
||||||
<RadioGroup
|
<RadioGroup
|
||||||
android:id="@+id/route_type"
|
android:id="@+id/route_type"
|
||||||
|
|||||||
@@ -8,8 +8,7 @@
|
|||||||
android:id="@+id/toolbar"
|
android:id="@+id/toolbar"
|
||||||
style="@style/MwmWidget.ToolbarStyle"
|
style="@style/MwmWidget.ToolbarStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content" />
|
||||||
android:theme="@style/MwmWidget.ToolbarTheme.DownButton"/>
|
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
android:background="?selectableItemBackgroundBorderless"
|
android:background="?selectableItemBackgroundBorderless"
|
||||||
app:srcCompat="?homeAsUpIndicator"
|
app:srcCompat="?homeAsUpIndicator"
|
||||||
android:scaleType="center"
|
android:scaleType="center"
|
||||||
tools:src="@drawable/ic_expand_more"
|
|
||||||
android:contentDescription="@string/back"/>
|
android:contentDescription="@string/back"/>
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputEditText
|
<com.google.android.material.textfield.TextInputEditText
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<com.google.android.material.appbar.MaterialToolbar
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:id="@+id/toolbar"
|
|
||||||
style="@style/MwmWidget.ToolbarStyle"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:theme="@style/MwmWidget.ToolbarTheme.Transparent"/>
|
|
||||||
@@ -148,11 +148,6 @@
|
|||||||
<item name="buttonGravity">center_vertical</item>
|
<item name="buttonGravity">center_vertical</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="MwmWidget.ToolbarStyle.Light">
|
|
||||||
<item name="android:titleTextAppearance">@style/MwmTextAppearance.Toolbar.Title.Light</item>
|
|
||||||
<item name="titleTextAppearance">@style/MwmTextAppearance.Toolbar.Title.Light</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="MwmWidget.ToolbarStyle.NoElevation">
|
<style name="MwmWidget.ToolbarStyle.NoElevation">
|
||||||
<item name="android:elevation">0dp</item>
|
<item name="android:elevation">0dp</item>
|
||||||
</style>
|
</style>
|
||||||
@@ -164,29 +159,6 @@
|
|||||||
<item name="iconTint">@color/white_primary</item>
|
<item name="iconTint">@color/white_primary</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="MwmWidget.ToolbarTheme.Light" parent="MwmWidget.ToolbarTheme">
|
|
||||||
<item name="android:gravity">center_vertical</item>
|
|
||||||
<item name="colorAccent">@android:color/white</item>
|
|
||||||
<item name="colorSecondary">#FF32363A</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="MwmWidget.ToolbarTheme.Transparent" parent="ThemeOverlay.Material3.Dark.ActionBar">
|
|
||||||
<item name="android:gravity">center_vertical</item>
|
|
||||||
<item name="colorAccent">@android:color/white</item>
|
|
||||||
<item name="colorSecondary">@android:color/white</item>
|
|
||||||
<item name="android:windowActionBarOverlay">true</item>
|
|
||||||
<item name="windowActionBarOverlay">true</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style
|
|
||||||
name="MwmWidget.ToolbarTheme.DownButton"
|
|
||||||
parent="ThemeOverlay.Material3.Dark.ActionBar">
|
|
||||||
<item name="android:gravity">center_vertical</item>
|
|
||||||
<item name="colorAccent">@android:color/white</item>
|
|
||||||
<item name="colorSecondary">@android:color/white</item>
|
|
||||||
<item name="android:homeAsUpIndicator">@drawable/ic_expand_more</item>
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="MwmWidget.ListView" parent="android:Widget.Material.ListView">
|
<style name="MwmWidget.ListView" parent="android:Widget.Material.ListView">
|
||||||
<item name="android:fadingEdge">none</item>
|
<item name="android:fadingEdge">none</item>
|
||||||
<item name="android:divider">@color/divider</item>
|
<item name="android:divider">@color/divider</item>
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
[versions]
|
[versions]
|
||||||
androidGradlePlugin = "8.13.2"
|
androidGradlePlugin = "8.11.2"
|
||||||
androidxCarApp = "1.7.0"
|
androidxCarApp = "1.7.0"
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
android-tools = { module = "com.android.tools.build:gradle", version.ref = "androidGradlePlugin" }
|
android-tools = { module = "com.android.tools.build:gradle", version.ref = "androidGradlePlugin" }
|
||||||
triplet-play-publisher = { module = "com.github.triplet.gradle:play-publisher", version = "3.13.0" }
|
triplet-play-publisher = { module = "com.github.triplet.gradle:play-publisher", version = "3.12.1" }
|
||||||
huawei-publish = { module = "ru.cian:huawei-publish-gradle-plugin", version = "1.4.2" }
|
huawei-publish = { module = "ru.cian:huawei-publish-gradle-plugin", version = "1.4.2" }
|
||||||
android-tools-desugar = { module = "com.android.tools:desugar_jdk_libs", version = "2.1.5" }
|
android-tools-desugar = { module = "com.android.tools:desugar_jdk_libs", version = "2.1.5" }
|
||||||
microg-services-location = { module = "org.microg.gms:play-services-location", version = "0.3.6.244735" }
|
microg-services-location = { module = "org.microg.gms:play-services-location", version = "0.3.6.244735" }
|
||||||
androidx-core = { module = "androidx.core:core", version = "1.17.0" }
|
androidx-core = { module = "androidx.core:core", version = "1.17.0" }
|
||||||
jetbrains-kotlin-bom = { module = "org.jetbrains.kotlin:kotlin-bom", version = "2.2.21" }
|
jetbrains-kotlin-bom = { module = "org.jetbrains.kotlin:kotlin-bom", version = "2.2.20" }
|
||||||
androidx-annotation = { module = "androidx.annotation:annotation", version = "1.9.1" }
|
androidx-annotation = { module = "androidx.annotation:annotation", version = "1.9.1" }
|
||||||
androidx-appcompat = { module = "androidx.appcompat:appcompat", version = "1.7.1" }
|
androidx-appcompat = { module = "androidx.appcompat:appcompat", version = "1.7.1" }
|
||||||
androidx-car-app = { module = "androidx.car.app:app", version.ref = "androidxCarApp" }
|
androidx-car-app = { module = "androidx.car.app:app", version.ref = "androidxCarApp" }
|
||||||
@@ -21,13 +21,12 @@ androidx-recyclerview = { module = "androidx.recyclerview:recyclerview", version
|
|||||||
androidx-work-runtime = { module = "androidx.work:work-runtime", version = "2.10.5" }
|
androidx-work-runtime = { module = "androidx.work:work-runtime", version = "2.10.5" }
|
||||||
androidx-lifecycle-process = { module = "androidx.lifecycle:lifecycle-process", version = "2.9.4" }
|
androidx-lifecycle-process = { module = "androidx.lifecycle:lifecycle-process", version = "2.9.4" }
|
||||||
androidx-media = { module = "androidx.media:media", version = "1.7.1" }
|
androidx-media = { module = "androidx.media:media", version = "1.7.1" }
|
||||||
androidx-documentfile= { module = "androidx.documentfile:documentfile", version ="1.1.0" }
|
|
||||||
android-material = { module = "com.google.android.material:material", version = "1.12.0" }
|
android-material = { module = "com.google.android.material:material", version = "1.12.0" }
|
||||||
google-guava = { module = "com.google.guava:guava", version = "33.5.0-android" }
|
google-guava = { module = "com.google.guava:guava", version = "33.4.8-android" }
|
||||||
appdevnext-androidchart = { module = "com.github.AppDevNext:AndroidChart", version = "3.1.0.31" }
|
appdevnext-androidchart = { module = "com.github.AppDevNext:AndroidChart", version = "3.1.0.31" }
|
||||||
androidx-test-junit = { module = "androidx.test.ext:junit", version = "1.3.0" }
|
androidx-test-junit = { module = "androidx.test.ext:junit", version = "1.3.0" }
|
||||||
junit = { module = "junit:junit", version = "4.13.2" }
|
junit = { module = "junit:junit", version = "4.13.2" }
|
||||||
mockito-core = { module = "org.mockito:mockito-core", version = "5.21.0" }
|
mockito-core = { module = "org.mockito:mockito-core", version = "5.20.0" }
|
||||||
|
|
||||||
[plugins]
|
[plugins]
|
||||||
android-application = { id = "com.android.application", version.ref = "androidGradlePlugin" }
|
android-application = { id = "com.android.application", version.ref = "androidGradlePlugin" }
|
||||||
|
|||||||
@@ -126,7 +126,6 @@ dependencies {
|
|||||||
implementation libs.androidx.recyclerview
|
implementation libs.androidx.recyclerview
|
||||||
implementation libs.androidx.preference
|
implementation libs.androidx.preference
|
||||||
implementation libs.android.material
|
implementation libs.android.material
|
||||||
implementation libs.androidx.documentfile
|
|
||||||
|
|
||||||
testImplementation libs.junit
|
testImplementation libs.junit
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"data_format": 1,
|
"data_format": 1,
|
||||||
"data_url": "https://codeberg.org/comaps/comaps/raw/branch/main/data/taginfo.json",
|
"data_url": "https://codeberg.org/comaps/comaps/raw/branch/main/data/taginfo.json",
|
||||||
"data_updated": "20251228T203737Z",
|
"data_updated": "20251120T121118Z",
|
||||||
"project": {
|
"project": {
|
||||||
"name": "CoMaps",
|
"name": "CoMaps",
|
||||||
"description": "CoMaps is a community-focused privacy navigation iOS & Android app for travelers - drivers, hikers, and cyclists.",
|
"description": "CoMaps is a community-focused privacy navigation iOS & Android app for travelers - drivers, hikers, and cyclists.",
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
"description": "amenity=car_pooling",
|
"description": "amenity=car_pooling",
|
||||||
"key": "amenity",
|
"key": "amenity",
|
||||||
"value": "car_pooling",
|
"value": "car_pooling",
|
||||||
"icon_url": "https://codeberg.org/comaps/comaps/raw/branch/main/data/styles/default/light/symbols/parking_pooling-m.svg"
|
"icon_url": "https://codeberg.org/comaps/comaps/raw/branch/main/data/styles/default/light/symbols/parking-pooling-m.svg"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "amenity=car_rental",
|
"description": "amenity=car_rental",
|
||||||
@@ -431,12 +431,6 @@
|
|||||||
"value": "hunting_stand",
|
"value": "hunting_stand",
|
||||||
"icon_url": "https://codeberg.org/comaps/comaps/raw/branch/main/data/styles/default/light/symbols/hunting-tower-m.svg"
|
"icon_url": "https://codeberg.org/comaps/comaps/raw/branch/main/data/styles/default/light/symbols/hunting-tower-m.svg"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"description": "amenity=hydrant",
|
|
||||||
"key": "amenity",
|
|
||||||
"value": "hydrant",
|
|
||||||
"icon_url": "https://codeberg.org/comaps/comaps/raw/branch/main/data/styles/default/light/symbols/hydrant-m.svg"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"description": "amenity=ice_cream",
|
"description": "amenity=ice_cream",
|
||||||
"key": "amenity",
|
"key": "amenity",
|
||||||
|
|||||||
Reference in New Issue
Block a user