Removed the scalable bitmaps for the arrow line cap; added a nodpi image instead.

Change-Id: I6cc61a4df2d651093d3a69429502c461309d37c7
This commit is contained in:
Sarah Maddox 2017-02-01 17:04:45 +11:00
parent 3bc9ac3452
commit a8e92cd467
7 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ android {
repositories {
maven { url "/Users/sarahmaddox/Development/devrelgit-projects/tut-polygons/maps/tutorials/Polygons/app/libs/"}
maven { url "/Users/sarahmaddox/Development/devrelgit-projects/tut-polygon/maps/tutorials/Polygons/app/libs/"}
}
dependencies {

View File

@ -134,7 +134,7 @@ public class PolygonActivity extends AppCompatActivity implements
// Use a custom bitmap as the cap at one end of the line.
polyline.setEndCap(
new CustomCap(BitmapDescriptorFactory.fromResource(R.drawable.ic_arrow_black_48dp),
16));
10));
break;
case "B":
// Use a round cap at the end of the line.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 240 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 413 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 732 B