有一个button显示后,图片就会变形。这种怎么解决?求帮助、bottom_bar_back和bottom_bar_home大小不能改变。怎么才能实现不变形?
android:id="@+id/layout_persona_tools"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
android:layout_marginRight="0px"
android:layout_marginTop="10px"
android:background="@drawable/bottom_bar_bg" >
android:id="@+id/bottom_bar_back"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/bottom_bar_back" />
android:id="@+id/btn_persona_home"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/btn_home_normal" />
<ImageButton
android:id="@+id/btn_persona_company"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="15px"
android:layout_weight="1"
android:background="@drawable/btn_company_normal"
android:src="@null" />
<ImageButton
android:id="@+id/btn_persona_edit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="15px"
android:layout_weight="1"
android:background="@drawable/btn_edit_normal"
android:src="@null" />
<ImageButton
android:id="@+id/btn_persona_del"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="15px"
android:layout_weight="1"
android:background="@drawable/btn_del_normal"
android:src="@null" />
<ImageButton
android:id="@+id/btn_persona_delall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="15px"
android:layout_weight="1"
android:background="@drawable/btn_delall_normal"
android:src="@null" />
<ImageButton
android:id="@+id/bottom_bar_home"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="15px"
android:background="@drawable/bottom_bar_home"
android:src="@null" />
</LinearLayout>