标签:
Original:http://sysmagazine.com/posts/216591/
Many plowing on open space Github, I found assemblage of interesting designs, source the codes, and libraries. And now the time came to share them. Meet assemblage vkusnostej under katom!
The design which allows to create that that napodobii mozajki or tiles from Windows Phone, with assemblage of interesting and beautiful animations, FreeFlow the design is inspired iOS frejmvorkom UICollectionViews .
The library for operation with ImageView and if to be more exact to add support Zoom Gestures, is very powerful and floppy, convenient in usage
It is a little about usage
@Override
protected void onCreate (Bundle savedInstanceState) {
super.onCreate (savedInstanceState);
setContentView (R.layout.fragment_edit_it);
ImageView photoView = (ImageView) findViewById (R.id.image);
PhotoViewAttacher attacher = new PhotoViewAttacher (photoView);
attacher.setZoomable (true);
}
The design, which shows how to make not boring action bar as in Google application Newsstand
The most powerful library for loading of pictures, conversion, you can easily load photos in yours View from external references, media links, ways to files, resources androida or other application packages.
Many widespread traps of loading of images on Android are processed automatically by means of Picasso:
To tell the truth it is my favourite library :)
//to Steam of lines with instances;
Picasso.with (context)
.load (url)
.resize (50, 50)
.centerCrop ()
.placeholder (R.drawable.user_placeholder)
.error (R.drawable.user_placeholder_error)
.into (imageView)
And still now in Uzbekistan a holiday of Navruz, with the Holiday you ;)
Useful for Android the development engineer from Github
标签:
原文地址:http://www.cnblogs.com/GoAhead/p/4186716.html