This commit is contained in:
seven332 committed 2015-01-29 23:11:01 +08:00
1 parent 0804bfc88d
commit 9817a3c74d
9 files changed
+154 -14

No files matched your search

@@ -26,11 +26,7 @@ import com.hippo.util.ViewUtils;
/**
* aspect is width / height
*
* @author Hippo
*
*/
public class FixedAspectImageView extends ImageView {
private static final String TAG = FixedAspectImageView.class.getSimpleName();
@@ -69,7 +65,7 @@ public class FixedAspectImageView extends ImageView {
a = context.obtainStyledAttributes(
attrs, R.styleable.FixedAspectImageView, defStyle, 0);
setAspect(a.getFloat(R.styleable.FixedAspectImageView_aspect, -1f));
setAspect(a.getFloat(R.styleable.FixedAspectImageView_faiAspect, -1f));
a.recycle();
}