¡@

Home 

2014/10/16 ¤W¤È 08:17:41

android Programming Glossary: layeredimageview

How to maintain multi layers of ImageViews and keep their aspect ratio based on the largest one?

http://stackoverflow.com/questions/16729169/how-to-maintain-multi-layers-of-imageviews-and-keep-their-aspect-ratio-based-on

an image with additional layers import java.util.ArrayList import java.util.Iterator import org.pskink.niohttp.LayeredImageView.Layer import android.content.Context import android.content.res.Resources import android.content.res.TypedArray import android.graphics.Bitmap.. import android.view.animation.Transformation import android.widget.ImageView public class LayeredImageView extends ImageView private final static String TAG LayeredImageView private ArrayList Layer mLayers private Matrix mDrawMatrix.. import android.widget.ImageView public class LayeredImageView extends ImageView private final static String TAG LayeredImageView private ArrayList Layer mLayers private Matrix mDrawMatrix private Resources mResources public LayeredImageView Context..