mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2025-07-07 18:42:53 +00:00
Created WebImageView and applyed it to PostAdapter images.
This commit is contained in:
BIN
app/src/main/res/drawable/img_placeholder.png
Normal file
BIN
app/src/main/res/drawable/img_placeholder.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
@ -70,10 +70,11 @@
|
||||
</LinearLayout>
|
||||
|
||||
<!-- Post image (if any) -->
|
||||
<ImageView
|
||||
<org.communiquons.android.comunic.client.ui.views.WebImageView
|
||||
android:id="@+id/post_image"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dp"
|
||||
android:src="@drawable/img_placeholder"
|
||||
android:contentDescription="@string/post_image_description"
|
||||
android:scaleType="centerInside" />
|
||||
|
||||
|
Reference in New Issue
Block a user