Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Animated dash line #805

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import com.mapbox.mapboxandroiddemo.examples.camera.RestrictCameraActivity;
import com.mapbox.mapboxandroiddemo.examples.camera.SlowlyRotatingCameraActivity;
import com.mapbox.mapboxandroiddemo.examples.dds.AddRainFallStyleActivity;
import com.mapbox.mapboxandroiddemo.examples.dds.AnimatedDashLineActivity;
import com.mapbox.mapboxandroiddemo.examples.dds.BathymetryActivity;
import com.mapbox.mapboxandroiddemo.examples.dds.ChoroplethJsonVectorMixActivity;
import com.mapbox.mapboxandroiddemo.examples.dds.ChoroplethZoomChangeActivity;
Expand Down Expand Up @@ -630,6 +631,15 @@ private void initializeModels() {
null,
R.string.activity_style_image_source_url, false, BuildConfig.MIN_SDK_VERSION
));
exampleItemModels.add(new ExampleItemModel(
R.id.nav_styles,
R.string.activity_styles_click_to_add_image_title,
R.string.activity_styles_click_to_add_image_description,
new Intent(MainActivity.this, ClickToAddImageActivity.class),
null,
R.string.activity_styles_click_to_add_image_url, false, BuildConfig.MIN_SDK_VERSION
));

exampleItemModels.add(new ExampleItemModel(
R.id.nav_styles,
R.string.activity_style_image_source_time_lapse_title,
Expand Down Expand Up @@ -1607,6 +1617,22 @@ private void initializeModels() {
null,
R.string.activity_dds_circle_icon_toggle_on_click_url, true, BuildConfig.MIN_SDK_VERSION));

exampleItemModels.add(new ExampleItemModel(
R.id.nav_dds,
R.string.activity_lab_dashed_line_directions_picker_title,
R.string.activity_lab_dashed_line_directions_picker_description,
new Intent(MainActivity.this, DashedLineDirectionsPickerActivity.class),
null,
R.string.activity_lab_dashed_line_directions_picker_url, true, BuildConfig.MIN_SDK_VERSION));

exampleItemModels.add(new ExampleItemModel(
R.id.nav_dds,
R.string.activity_dds_animated_dash_line_title,
R.string.activity_dds_animated_dash_line_description,
new Intent(MainActivity.this, AnimatedDashLineActivity.class),
null,
R.string.activity_dds_animated_dash_line_url, true, BuildConfig.MIN_SDK_VERSION));

exampleItemModels.add(new ExampleItemModel(
R.id.nav_basics,
R.string.activity_basic_simple_mapview_title,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
import android.widget.CheckBox;
import android.widget.Toast;

import com.afollestad.materialdialogs.DialogAction;
import com.afollestad.materialdialogs.MaterialDialog;
import com.google.firebase.perf.metrics.AddTrace;
import com.mapbox.mapboxandroiddemo.MainActivity;
import com.mapbox.mapboxandroiddemo.commons.AnalyticsTracker;
import com.github.javiersantos.materialstyleddialogs.MaterialStyledDialog;
import com.google.firebase.perf.metrics.AddTrace;
import com.mapbox.mapboxandroiddemo.MainActivity;
Expand Down
7 changes: 7 additions & 0 deletions MapboxAndroidDemo/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,13 @@
android:name="android.support.PARENT_ACTIVITY"
android:value="com.mapbox.mapboxandroiddemo.MainActivity" />
</activity>
<activity
android:name=".examples.dds.AnimatedDashLineActivity"
android:label="@string/activity_dds_animated_dash_line_title">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.mapbox.mapboxandroiddemo.MainActivity" />
</activity>
<activity
android:name=".examples.dds.StyleLineIdentityPropertyActivity"
android:label="@string/activity_dds_style_line_identity_property_title">
Expand Down
Loading