package cn.jianhaozhan.shdy;
import android.os.Bundle;
import cn.jianhaozhan.zhdy.R;
import com.jeremyfeinstein.slidingmenu.lib.app.SlidingFragmentActivity;
public
导入后会有多个v4包造成冲突,删除appcompat_v7里面的v4包。
其它工程再导入。
终极解决方案,将appcompat_v7里面的v4包拷贝到
导入libray
RelativeLayout.LayoutParams params=(LayoutParams) iv_redpoint.getLayoutParams();
params.leftMargin=(int) (myPointDis*positionOffset+position);
iv_redpoin
ImageView point=new ImageView(this);
point.setImageResource(R.drawable.shape_point_gray);
&
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<solid androi