aboutsummaryrefslogtreecommitdiff
path: root/res/layout/chat_item_reverse.xml
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-03-08 17:28:19 -0700
committerScott Jackson <daneren2005@gmail.com>2015-03-08 17:28:19 -0700
commitb2ea0d0f28a9c583234fc1d83115b514db7c049f (patch)
treeeb3dc8707ac5fa55a9f96f26d8d39607a9432948 /res/layout/chat_item_reverse.xml
parentb71b8726238c30a16dfbdd525cc68dfc52ceb36e (diff)
downloaddsub-b2ea0d0f28a9c583234fc1d83115b514db7c049f.tar.gz
dsub-b2ea0d0f28a9c583234fc1d83115b514db7c049f.tar.bz2
dsub-b2ea0d0f28a9c583234fc1d83115b514db7c049f.zip
Get around the random recycled bitmap errors from calling onDraw after a bitmap had been recycled to make room for a new one. This isn't the ideal fix since it will show a blank image, but it is better than just crashing.
Diffstat (limited to 'res/layout/chat_item_reverse.xml')
-rw-r--r--res/layout/chat_item_reverse.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/layout/chat_item_reverse.xml b/res/layout/chat_item_reverse.xml
index 1d441da0..b8102193 100644
--- a/res/layout/chat_item_reverse.xml
+++ b/res/layout/chat_item_reverse.xml
@@ -52,7 +52,7 @@
android:layout_gravity="right"/>
</LinearLayout>
- <ImageView
+ <github.daneren2005.dsub.view.RecyclingImageView
android:id="@+id/chat_avatar"
android:src="@drawable/ic_social_person"
android:layout_width="@dimen/AlbumArt.Small"