
ImageView
文章平均质量分 77
benjamin gao
always be curiosity.
以前的经验都是“狗屎”,现在从最开始出发。
做到前20%,才有出头之日。
展开
-
ImageView的adjustViewBounds属性再解读
------- 代码<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_main" android:layout_width=原创 2017-04-05 11:39:35 · 687 阅读 · 0 评论 -
ImageView保持前景src和ImageView的高度一致
public class RatioImageView extends ImageView { public RatioImageView(Context context, AttributeSet attrs) { super(context, attrs); } @Override protected void onMeasure(int w原创 2017-02-24 08:46:05 · 1296 阅读 · 0 评论