Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Merge release-ios-v3.6.0-android-v5.1.0 #9416

Merged
merged 134 commits into from
Jul 5, 2017
Merged
Show file tree
Hide file tree
Changes from 130 commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
08916f2
[android] Update release script to support CircleCI builds (#8950)
zugaldia May 11, 2017
db370a0
[core] When a layer is added, reload its source's tiles
jfirebaugh May 11, 2017
ad46d67
[android] - keep observer when timeout occurs, make observer param nu…
tobrun May 11, 2017
850b008
[android] - avoid crashing when deleting already deleted region (#8920)
tobrun May 11, 2017
e681f69
[android] - update LOST to 2.3.0 (#8872)
tobrun May 12, 2017
cb73736
[android] - update proguard config, allow debug mimification, update …
tobrun May 12, 2017
0ef1293
[core, android, ios, macos, qt] v10 default styles
1ec5 Sep 9, 2016
d85471b
[ios, macos] Updated documented default style version
1ec5 Sep 9, 2016
c5ee41a
[ios, macos] Undeprecated unversioned style URL factory methods
1ec5 Apr 26, 2017
886bf25
[core, android, ios, macos] Added Traffic Day/Night to default styles
1ec5 May 9, 2017
a68788a
[android] Release android-v5.1.0-beta.2 (#8976)
tobrun May 12, 2017
5944216
[android] - MarkerView deselect events with OnMarkerViewClickListener…
tobrun May 15, 2017
627455c
[android] - publish SNAPSHOT from release 5.1.0 branch (#8995)
tobrun May 15, 2017
c7acb55
[ios, macos] edited identity interpolation mode documentation (#8657)
jmkiley May 15, 2017
30b9191
[ios, macos] Factored out tile URL template guide
1ec5 May 10, 2017
4f90d7a
[ios] Telemetry button in modal view controllers (#9027)
jmkiley May 17, 2017
eb83c72
[android] - bump tools and support lib version due to SNAPSHOT depend…
tobrun May 19, 2017
f0b0167
[core] Make destructor virtual to avoid object splicing during destru…
kkaefer May 18, 2017
b52e171
[core] add error for non-virtual destructor deletes + add virtual dtors
kkaefer May 18, 2017
f4f587f
[android] - remove marker from selected markers when removing marker…
tobrun May 19, 2017
3b109c8
Observe layout guides (#7716)
frederoni May 19, 2017
7612e23
[ios, macos] Change == to = in style function initializers
boundsj May 17, 2017
554b1cf
[ios] Add annotation view initializer with annotation and reuse id (#…
boundsj May 19, 2017
b9d3ccc
[ios] Remove annotation view from container view when annotation remo…
boundsj May 19, 2017
4d8625b
[android] - correct bearing conversion when animating the map with ju…
tobrun May 19, 2017
13dee80
[ios, macos] Updated `maximumZoomLevel` description, cherry-picked #8…
jmkiley May 1, 2017
ade7b0e
[ios] Updated podspecs and changelog for v3.5.3 (#8870)
jmkiley May 2, 2017
9ae7371
[ios] Update podspecs and changelog for iOS v3.5.4
boundsj May 9, 2017
e630e8c
[ios, macos] Updated changelogs
1ec5 May 19, 2017
a19fd81
[ios, macos] changed TRUE -> 'true' (#9059) fixes #9056
jmkiley May 19, 2017
e52249c
[ios, macos] Light property implementation in MGLStyle (#9043)
fabian-guerra May 23, 2017
71b6865
[android] - horizontally rotated in snapshot (#9083)
tobrun May 23, 2017
fe17f7e
Cherry-pick arabic text to release branch v3.6.0 (#9071)
fabian-guerra May 23, 2017
a57e9bc
[ios,macos] multipolygon coordinate (#8713)
fabian-guerra May 23, 2017
c9de6cd
[ios, macos] More robust Streets localization
1ec5 May 21, 2017
9b11bb9
[ios] Fallback to Mapbox.bundle as the framework bundle (#9074)
friedbunny May 23, 2017
d90c172
[ios] Move image resources to an asset catalog & switch to PDFs
friedbunny May 19, 2017
bf000c7
[ios, macos] Updated changelogs
1ec5 May 23, 2017
091d3d1
[ios] Update pods spec for iOS v3.6.0-beta.1
fabian-guerra May 23, 2017
8c73cb1
[macos] Enable View ‣ Traffic Night
1ec5 May 23, 2017
3c35bf1
[android] - stop location updates when toggle MyLocationView state (#…
tobrun May 24, 2017
8199315
[android] - LatLngBounds bearing default value (#9102)
tobrun May 24, 2017
e1431f9
[ios, macos] Fix MGLLight.achor to accept style functions
fabian-guerra May 24, 2017
fce7747
[ios] Fix annotation initializers for subclasses of MGLAnnotationView…
boundsj May 25, 2017
35f548a
[ios] Moved `MGLLight` in jazzy table of contents (#9111)
jmkiley May 26, 2017
c392c67
[android] - logo placement for creating a Mapview programatically (#9…
tobrun May 26, 2017
5716bd3
[android] - add binding support for Light (#9013)
tobrun May 26, 2017
82a3a7e
[android] Update Lost to final version 3.0.0 (#9112)
Guardiola31337 May 26, 2017
bc5b147
[android] - convert dp to pixels when getting meters per pixel at. (#…
tobrun May 26, 2017
40a73b3
Release Android v5.1.0-beta.3 (#9115)
tobrun May 26, 2017
fc495de
[android] - harden orientation changes (#9128)
tobrun May 30, 2017
7b85bcc
[ios] Remove filter of single metric event
boundsj May 30, 2017
608fd66
[ios] remove layout guide observers
frederoni May 25, 2017
a39116a
Migrate to GL JS–powered feedback form (#9078)
1ec5 May 30, 2017
83df8a8
[android] - javadoc update for 5.1.0 release (#9138)
tobrun May 31, 2017
b6a4f12
[android] fix missing access token variable issue (#9151)
Guardiola31337 May 31, 2017
af25477
[ios] Update pods spec for iOS v3.6.0-beta.2
fabian-guerra May 31, 2017
52eba42
[android] Cherry picking 9133 (#9145)
Guardiola31337 Jun 1, 2017
b2f277a
add null check in custom location engine activity to prevent null poi…
Guardiola31337 Jun 1, 2017
0d171db
[core] Make TransformState LatLngBounds optional
brunoabinader May 31, 2017
012e88c
[ios] Make annotation view rotation alignment configurable (#9147)
boundsj Jun 1, 2017
3b837d9
Merge branch 'release-ios-v3.6.0-android-v5.1.0' of github.com:mapbox…
fabian-guerra Jun 1, 2017
da53200
[android] - validate if gestures should execute (#9173)
tobrun Jun 2, 2017
ef7b355
[android] - only invoke callback if fling scrolling animation isn't g…
tobrun Jun 6, 2017
a1f8de6
[android] - dealing with infinite camera move callbacks (#9177) (#9194)
LukasPaczos Jun 6, 2017
45327b6
[android] - keep location tracking mode after screen rotation (#9187)
LukasPaczos Jun 6, 2017
facc3d5
fix #8300 flyTo for close points
ansis Jun 6, 2017
ae837f4
[android] - remove conversion from pixels to dp (#9205)
tobrun Jun 7, 2017
78eca86
[android] - option to disable camera animation while following positi…
LukasPaczos Jun 7, 2017
233117f
[android] - invalidating MyLocationView bearing when not following po…
tobrun Jun 8, 2017
9f88e37
Custom location source fix (#9142)
tobrun Jun 9, 2017
fa972fa
[android] - update components with camera values when animating (#9174)
tobrun Jun 9, 2017
6ec5e4f
Cherry picks to release branch (#9230)
tobrun Jun 9, 2017
294f4f8
[android] - update changelog for v5.1.0-beta.4 (#9232)
tobrun Jun 9, 2017
e59766f
[android] - run MapboxMap invocations to ui thread for instrumentatio…
tobrun Jun 12, 2017
87a05b2
[ios, macos] Fix MGLSphericalPosition.radial misleading type.
fabian-guerra Jun 12, 2017
0c275ad
[android] - correct source changed map event javadoc (#9243)
tobrun Jun 13, 2017
7bfcce0
Cherry pick release (#9263)
tobrun Jun 14, 2017
441b80d
[core] Reduce number of varyings to 8 or less
jfirebaugh Jun 12, 2017
951f599
[core] store vertex attribute binding to prevent duplicate binds
kkaefer Jun 4, 2017
eaa8f23
[core] only bind uniforms that exist in the program
kkaefer Jun 4, 2017
b141707
[core] add shader defines for enabling/disabling attributes/uniforms …
kkaefer Jun 4, 2017
cf85873
[core] add uniforms to DataDrivenPaintPropertys
kkaefer Jun 4, 2017
a648282
[core] add constant DDS values as uniforms
kkaefer Jun 4, 2017
212ae52
[core] cleanup ProgramParameters
jfirebaugh Jun 13, 2017
d618d4a
[core] Dynamic program compilation for data-driven properties
jfirebaugh Jun 5, 2017
d277406
[core] Don't upload the FrameHistory texture in frames where it's not…
jfirebaugh Jun 13, 2017
df3af97
[ios, macos] Revised descriptions for abstract classes (#9095)
jmkiley Jun 14, 2017
6cba15f
[ios] Remove old Fabric build infrastructure
friedbunny Jun 14, 2017
67c09b1
MGLLight autogenerate scripts (#9260)
fabian-guerra Jun 16, 2017
6a78141
[ios] Update pods spec for iOS v3.6.0-beta.3
fabian-guerra Jun 16, 2017
8699bcd
[ios, macos] Updated changelogs
1ec5 Jun 16, 2017
1de8aee
[core] Fix composite function approximation for non-integer stops
jfirebaugh Jun 16, 2017
505999a
[ios] Update telemetry cert pinning (#9292)
boundsj Jun 19, 2017
f6bfa07
[core] Trigger repaint on source changes
jfirebaugh Jun 19, 2017
78322a3
[android] - update activity test generation with newest classes, make…
tobrun Jun 20, 2017
399c007
Validate camera position before transforming (#9275)
tobrun Jun 20, 2017
20cb791
[android] fix custom marker views anchor issue (#9282)
Guardiola31337 Jun 20, 2017
985ff4c
[android] fix pulse marker view options parcelable creator (#9283)
Guardiola31337 Jun 20, 2017
78426f1
fix trackball long press timeout calling the main thread method on a …
Guardiola31337 Jun 20, 2017
899d2b0
[android] Update to LOST 3.0.1 (#9302)
zugaldia Jun 20, 2017
a9f52e2
Revisit Javadoc for 5.1.0 (#9266)
tobrun Jun 20, 2017
584bfb7
[android] update mapboxServicesVersion to 2.1.2 (#9311)
zugaldia Jun 20, 2017
651e70a
[android] - update CHANGELOG for release 5.1.0-beta.5 (#9316)
tobrun Jun 21, 2017
d47eab0
[android] - restore LatLngBounds conversion, add regression test (#9324)
tobrun Jun 21, 2017
72e7165
[build] Unbreak Travis
jfirebaugh Jun 21, 2017
d373024
7910: cancel tracking if ongoing animation is stopped manually (#7916)
RomainQuidet Jun 22, 2017
2a5dc2d
[ios, macos] Rewrote MGLStyle class documentation
1ec5 Jun 15, 2017
b7ec96d
[ios, macos] Corrected MGLSource subclassing documentation
1ec5 Jun 16, 2017
a1c5b32
Boxing ObjC structs (#9343)
fabian-guerra Jun 22, 2017
eedd055
[ios] Allow delegate to keep wandering pinch from panning map
1ec5 Jun 22, 2017
9436eca
[ios] Added Hungarian localization from Transifex
1ec5 Jun 22, 2017
5b4f8fd
[ios] Updated German localization
1ec5 Jun 22, 2017
5092243
[ios, macos] Updated changelogs
1ec5 Jun 22, 2017
3e40cab
[ios] Update pods spec for iOS v3.6.0-rc.1
fabian-guerra Jun 22, 2017
9b0b74d
[ios] Fixed infinite loop zooming in past z23
1ec5 Jun 23, 2017
361dda2
[ios, macos] Fix size and color of default marker image
friedbunny Jun 26, 2017
6aecc66
[ios] Minimize tilt gesture delay
friedbunny Jun 28, 2017
34453eb
[core] Fix iterator invalidation in erase_if
jfirebaugh Jun 29, 2017
200d184
OnCameraIdle hook into quickzoom gesture (#9339)
tobrun Jun 29, 2017
8abe210
[ios] moved changes to darwin (#9387)
jmkiley Jun 29, 2017
ae7dc8c
[macos] Reorganized changelog
1ec5 Jun 29, 2017
9215776
[macos] Fixed cursor shifting after drag gesture
1ec5 Jun 29, 2017
dafba03
ios] Update pods spec for iOS v3.6.0
fabian-guerra Jun 29, 2017
47ca78b
[macos] Updated screenshot
1ec5 Jun 30, 2017
3821ce2
macos-v0.5.0
1ec5 Jun 30, 2017
95735c0
Downgrade location provider dependency (#9394)
tobrun Jun 30, 2017
b9a4add
[android] - bump Mapbox Android Services to latest for 5.1.0 final re…
tobrun Jun 30, 2017
d2d8a57
[android] - update changelog for 5.1.0 release (#9405)
tobrun Jul 1, 2017
14c221f
Merge branch 'release-ios-v3.6.0-android-v5.1.0'
tobrun Jul 5, 2017
87081b8
[core] Fix iterator invalidation in erase_if
jfirebaugh Jun 29, 2017
9ab04a2
[android] - invible marker views performance fix #9419 (#9420)
LukasPaczos Jul 5, 2017
79d849d
[darwin] - re-add swift documentation
tobrun Jul 5, 2017
6ca8cd7
[macos] - add Styles header to CHANGELOG.md
tobrun Jul 5, 2017
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
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,6 @@ iframework: $(IOS_PROJ_PATH)
FORMAT=dynamic BUILD_DEVICE=$(BUILD_DEVICE) SYMBOLS=$(SYMBOLS) \
./platform/ios/scripts/package.sh

.PHONY: ifabric
ifabric: $(IOS_PROJ_PATH)
FORMAT=static BUILD_DEVICE=$(BUILD_DEVICE) SYMBOLS=NO SELF_CONTAINED=YES \
./platform/ios/scripts/package.sh

.PHONY: ideploy
ideploy:
caffeinate -i ./platform/ios/scripts/deploy-packages.sh
Expand Down
38 changes: 36 additions & 2 deletions platform/android/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,46 @@

Mapbox welcomes participation and contributions from everyone. If you'd like to do so please see the [`Contributing Guide`](https://github.com/mapbox/mapbox-gl-native/blob/master/CONTRIBUTING.md) first to get started.

## master
## 5.2.0 - TBA

* Add support for ImageSource [#9110](https://github.com/mapbox/mapbox-gl-native/pull/9110)

## 5.1.0 - TBA
## 5.1.0 - June 30, 2017

* Update to MAS 2.1.3 [#9402](https://github.com/mapbox/mapbox-gl-native/pull/9402)
* Downgrade LOST to v1.1.1 [#9394](https://github.com/mapbox/mapbox-gl-native/pull/9394)
* OnCameraIdle hook into quickzoom gesture [#9339](https://github.com/mapbox/mapbox-gl-native/pull/9339)
* LatLngBounds conversion regression, add test [#9324](https://github.com/mapbox/mapbox-gl-native/pull/9324)

## 5.1.0-beta.5 - June 21, 2017

* Update MAS dependency to 2.1.2 [#9311](https://github.com/mapbox/mapbox-gl-native/pull/9311)
* Update LOST dependency to 3.0.1 [#9302](https://github.com/mapbox/mapbox-gl-native/pull/9302)
* Fix Pulse example Parcelable creator [#9283](https://github.com/mapbox/mapbox-gl-native/pull/9283)
* Custom marker view anchoring [#9282](https://github.com/mapbox/mapbox-gl-native/pull/9282)
* Update Activity test generation [#9276](https://github.com/mapbox/mapbox-gl-native/pull/9276)
* Validate camera position before transforming [#9275](https://github.com/mapbox/mapbox-gl-native/pull/9275)
* Revisit javadoc [#9266](https://github.com/mapbox/mapbox-gl-native/pull/9266)
* Build with NDK 15 [#9263](https://github.com/mapbox/mapbox-gl-native/pull/9263)
* Snapshot with view content [#9263](https://github.com/mapbox/mapbox-gl-native/pull/9263)
* Update source changed javadoc [#9243](https://github.com/mapbox/mapbox-gl-native/pull/9243)
* Run tests on UI-thread [#9198](https://github.com/mapbox/mapbox-gl-native/pull/9198)
* Fix trackball on worker thread [#9305](https://github.com/mapbox/mapbox-gl-native/pull/9305)

## 5.1.0-beta.4 - June 9, 2017

* Option to disable location change animation [#9210](https://github.com/mapbox/mapbox-gl-native/pull/9210)
* Invalidating MyLocationView bearing when not following [#9212](https://github.com/mapbox/mapbox-gl-native/pull/9212)
* Remove upgrade runtime exceptions [#9191](https://github.com/mapbox/mapbox-gl-native/pull/9191)
* Check source usage before removal [#9129](https://github.com/mapbox/mapbox-gl-native/pull/9129)
* Fix tracking mode + camera race condition [#9133](https://github.com/mapbox/mapbox-gl-native/pull/9133)
* Harden orientation changes [#9128](https://github.com/mapbox/mapbox-gl-native/pull/9128)
* Infinite location animation updates [#9194](https://github.com/mapbox/mapbox-gl-native/pull/9194)
* Invoke callback with valid fling gestures [#9192](https://github.com/mapbox/mapbox-gl-native/pull/9192)
* Keep location tracking after screen rotation [#9187](https://github.com/mapbox/mapbox-gl-native/pull/9187)
* Update components with camera values when animating [#9174](https://github.com/mapbox/mapbox-gl-native/pull/9174)
* Validate if gestures should execute [#9173](https://github.com/mapbox/mapbox-gl-native/pull/9173)
* Custom location source and LOST integration [#9142](https://github.com/mapbox/mapbox-gl-native/pull/9142)

## 5.1.0-beta.3 - May 26, 2017

Expand Down
4 changes: 3 additions & 1 deletion platform/android/MapboxGLAndroidSDK/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ dependencies {
compile rootProject.ext.dep.supportDesign
compile rootProject.ext.dep.timber
compile rootProject.ext.dep.okhttp3
compile rootProject.ext.dep.lost
compile(rootProject.ext.dep.lost) {
exclude group: 'com.google.guava'
}
testCompile rootProject.ext.dep.junit
testCompile rootProject.ext.dep.mockito

Expand Down
2 changes: 1 addition & 1 deletion platform/android/MapboxGLAndroidSDK/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=com.mapbox.mapboxsdk
VERSION_NAME=5.1.0-SNAPSHOT
VERSION_NAME=5.2.0-SNAPSHOT

POM_DESCRIPTION=Mapbox GL Android SDK
POM_URL=https://github.com/mapbox/mapbox-gl-native
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.mapbox.mapboxsdk;

import android.app.Application;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
Expand All @@ -17,10 +16,10 @@
import com.mapbox.services.android.telemetry.location.LocationEnginePriority;

/**
* The entry point of the Mapbox Android SDK.
* The entry point to initialize the Mapbox Android SDK.
* <p>
* Obtain a reference by calling {@link #getInstance(Context, String)}. Usually this class is configured in
* {@link Application#onCreate()} and is responsible for the active access token, application context, and
* Application#onCreate() and is responsible for the active access token, application context, and
* connectivity state.
* </p>
*/
Expand All @@ -31,6 +30,7 @@ public final class Mapbox {
private Context context;
private String accessToken;
private Boolean connected;
private LocationSource locationSource;

/**
* Get an instance of Mapbox.
Expand All @@ -46,8 +46,8 @@ public final class Mapbox {
public static synchronized Mapbox getInstance(@NonNull Context context, @NonNull String accessToken) {
if (INSTANCE == null) {
Context appContext = context.getApplicationContext();
INSTANCE = new Mapbox(appContext, accessToken);
LocationEngine locationEngine = LocationSource.getLocationEngine(appContext);
INSTANCE = new Mapbox(appContext, accessToken, new LocationSource(appContext));
LocationEngine locationEngine = new LocationSource(appContext);
locationEngine.setPriority(LocationEnginePriority.NO_POWER);
MapboxTelemetry.getInstance().initialize(
appContext, accessToken, BuildConfig.MAPBOX_EVENTS_USER_AGENT, locationEngine);
Expand All @@ -56,9 +56,10 @@ public static synchronized Mapbox getInstance(@NonNull Context context, @NonNull
return INSTANCE;
}

Mapbox(@NonNull Context context, @NonNull String accessToken) {
Mapbox(@NonNull Context context, @NonNull String accessToken, LocationSource locationSource) {
this.context = context;
this.accessToken = accessToken;
this.locationSource = locationSource;
}

/**
Expand Down Expand Up @@ -96,6 +97,8 @@ private static void validateAccessToken() throws MapboxConfigurationException {

/**
* Application context
*
* @return the application context
*/
public static Context getApplicationContext() {
return INSTANCE.context;
Expand Down Expand Up @@ -129,4 +132,8 @@ public static synchronized Boolean isConnected() {
NetworkInfo activeNetwork = cm.getActiveNetworkInfo();
return (activeNetwork != null && activeNetwork.isConnected());
}

public static LocationSource getLocationSource() {
return INSTANCE.locationSource;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,32 @@ public class BubbleLayout extends LinearLayout {
private float strokeWidth;
private int strokeColor;

/**
* Creates an instance of bubble layout.
*
* @param context The context used to inflate this bubble layout
*/
public BubbleLayout(Context context) {
this(context, null, 0);
}

/**
* Creates an instance of bubble layout.
*
* @param context The context used to inflate this bubble layout
* @param attrs The attribute set to initialise this bubble layout from
*/
public BubbleLayout(Context context, AttributeSet attrs) {
this(context, attrs, 0);
}

/**
* Creates an instance of bubble layout.
*
* @param context The context used to inflate this bubble layout
* @param attrs The attribute set to initialise this bubble layout from
* @param defStyleAttr The default style to apply this bubble layout with
*/
public BubbleLayout(Context context, AttributeSet attrs, int defStyleAttr) {
super(context, attrs, defStyleAttr);

Expand Down Expand Up @@ -78,85 +96,173 @@ static float convertDpToPixel(float dp, Context context) {
return dp * (metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT);
}

/**
* Get the arrow direction.
*
* @return the arrow direction
*/
public ArrowDirection getArrowDirection() {
return arrowDirection;
}

/**
* Set the arrow direction.
*
* @param arrowDirection The direction of the arrow
* @return this
*/
public BubbleLayout setArrowDirection(ArrowDirection arrowDirection) {
resetPadding();
this.arrowDirection = arrowDirection;
initPadding();
return this;
}

/**
* Get the arrow width.
*
* @return the width of the arrow
*/
public float getArrowWidth() {
return arrowWidth;
}

/**
* Set the arrow width.
*
* @param arrowWidth The width of the arrow
* @return this
*/
public BubbleLayout setArrowWidth(float arrowWidth) {
resetPadding();
this.arrowWidth = arrowWidth;
initPadding();
return this;
}

/**
* Get the arrow height
*
* @return the height of the arrow
*/
public float getArrowHeight() {
return arrowHeight;
}

/**
* Set the arrow height.
*
* @param arrowHeight The height of the arrow
* @return this
*/
public BubbleLayout setArrowHeight(float arrowHeight) {
resetPadding();
this.arrowHeight = arrowHeight;
initPadding();
return this;
}

/**
* Get the arrow position.
*
* @return the arrow position
*/
public float getArrowPosition() {
return arrowPosition;
}

/**
* Get the arrow position.
*
* @param arrowPosition The arrow position
* @return this
*/
public BubbleLayout setArrowPosition(float arrowPosition) {
resetPadding();
this.arrowPosition = arrowPosition;
initPadding();
return this;
}

/**
* Get the corner radius
*
* @return the corner radius
*/
public float getCornersRadius() {
return cornersRadius;
}

/**
* Set the corner radius
*
* @param cornersRadius The corner radius
* @return this
*/
public BubbleLayout setCornersRadius(float cornersRadius) {
this.cornersRadius = cornersRadius;
requestLayout();
return this;
}

/**
* Get the bubble color.
*
* @return the bubble color
*/
public int getBubbleColor() {
return bubbleColor;
}

/**
* Set the bubble color.
*
* @param bubbleColor The buble color
* @return this
*/
public BubbleLayout setBubbleColor(int bubbleColor) {
this.bubbleColor = bubbleColor;
requestLayout();
return this;
}

/**
* Get stroke width.
*
* @return the stroke width
*/
public float getStrokeWidth() {
return strokeWidth;
}

/**
* Set the stroke width.
*
* @param strokeWidth The stroke width
* @return this
*/
public BubbleLayout setStrokeWidth(float strokeWidth) {
resetPadding();
this.strokeWidth = strokeWidth;
initPadding();
return this;
}

/**
* Get the stroke color.
*
* @return the stroke color
*/
public int getStrokeColor() {
return strokeColor;
}

/**
* Set the stroke color.
*
* @param strokeColor The stroke color
* @return this
*/
public BubbleLayout setStrokeColor(int strokeColor) {
this.strokeColor = strokeColor;
requestLayout();
Expand Down
Loading