要实现的效果
已经实现的效果
代码如下,图标图片突破不出背景图啊,请问如何实现
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/list_company_item"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg_company_item"
android:layout_margin="30dp">
<TableLayout
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:layout_gravity="center_vertical">
<TableRow>
<ImageView
android:src="@drawable/icon_item"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
/>
</TableRow>
</TableLayout>
</FrameLayout>