写成这种显示一条线,
<com.facebook.drawee.view.SimpleDraweeView
xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@drawable/activity_create_post_photo_item_bg"
android:id="@+id/iv_picture"
android:layout_width="@dimen/x80"
android:layout_height="@dimen/x80" />
改成如下即可正常显示
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@drawable/activity_create_post_photo_item_bg"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<com.facebook.drawee.view.SimpleDraweeView
android:background="@drawable/activity_create_post_photo_item_bg"
android:id="@+id/iv_picture"
android:layout_width="@dimen/x80"
android:layout_height="@dimen/x80" />
</LinearLayout>