<TextView
android:id="@+id/tab_area"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:drawablePadding="5dp"
android:drawableRight="@mipmap/down_select"
android:ellipsize="end"
android:gravity="center"
android:paddingLeft="35dp"
android:paddingRight="35dp"
android:singleLine="true"
android:text="区域"
android:textColor="@color/textColor"
android:textSize="12dp" />
在onCreate中
TextView tab_area= (TextView) findViewById(R.id.tab_area);
Drawable drawable1=getResources().getDrawable(R.mipmap.down_select);
drawable1.setBounds(0,0,25,25);
tab_area.setCompoundDrawables(null,null,drawable1,null);
完美解决!!