Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

a scrollview Imitation ios uiscrollview,make it support sroll weiget when zoom

License

Notifications You must be signed in to change notification settings

vipmhy/pointScrollView

Repository files navigation

PointScrollView

a scrollview Imitation ios uiscrollview,make it support sroll weiget when zoom

Effect
weiget Effect

Usage

To use PointScrollView, use the Builder pattern.

As an example:

 PointScrollView mapview = (PointScrollView) findViewById(R.id.mapview);
 mapview.setMap("map_stadium.jpg");
 mapview.drawPoint(point.x,point.y,point.getDrawableRes(this),point);
 mapview.removeAllViews();//remove all points(except map)
 mapview.setOnPointClickListener(new PointScrollView.OnPointClickListener() {
 @Override
 public void onCick(View pointView, Object point) {
 PlayGroundPoint clickPoint = (PlayGroundPoint)point;
 Toast.makeText(getApplicationContext(),"clickPoint:" + clickPoint.description,Toast.LENGTH_SHORT).show();
 }
 });

Copyright and Licensing

Copyright george.yang (my log) © 2014-2015. All rights reserved.

This library is distributed under an MIT License.

About

a scrollview Imitation ios uiscrollview,make it support sroll weiget when zoom

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%

AltStyle によって変換されたページ (->オリジナル) /