diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-03-08 17:28:19 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-03-08 17:28:19 -0700 |
commit | b2ea0d0f28a9c583234fc1d83115b514db7c049f (patch) | |
tree | eb3dc8707ac5fa55a9f96f26d8d39607a9432948 /res/layout/user_header.xml | |
parent | b71b8726238c30a16dfbdd525cc68dfc52ceb36e (diff) | |
download | dsub-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/user_header.xml')
-rw-r--r-- | res/layout/user_header.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/layout/user_header.xml b/res/layout/user_header.xml index 5966e0ed..0b303afe 100644 --- a/res/layout/user_header.xml +++ b/res/layout/user_header.xml @@ -4,7 +4,7 @@ android:layout_width="fill_parent" android:layout_height="wrap_content"> - <ImageView + <github.daneren2005.dsub.view.RecyclingImageView android:id="@+id/user_avatar" android:src="@drawable/ic_social_person" android:layout_width="wrap_content" |