aboutsummaryrefslogtreecommitdiff
path: root/res/layout
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
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')
-rw-r--r--res/layout/abstract_fragment_activity.xml2
-rw-r--r--res/layout/album_list_item.xml2
-rw-r--r--res/layout/chat_item.xml2
-rw-r--r--res/layout/chat_item_reverse.xml2
-rw-r--r--res/layout/select_album_header.xml2
-rw-r--r--res/layout/user_header.xml2
-rw-r--r--res/layout/user_list_item.xml2
7 files changed, 7 insertions, 7 deletions
diff --git a/res/layout/abstract_fragment_activity.xml b/res/layout/abstract_fragment_activity.xml
index 0268ff87..fae09e46 100644
--- a/res/layout/abstract_fragment_activity.xml
+++ b/res/layout/abstract_fragment_activity.xml
@@ -18,7 +18,7 @@
style="@style/BasicButton"
android:orientation="horizontal">
- <ImageView
+ <github.daneren2005.dsub.view.RecyclingImageView
android:id="@+id/album_art"
android:layout_width="50dip"
android:layout_height="50dip"
diff --git a/res/layout/album_list_item.xml b/res/layout/album_list_item.xml
index 202843b6..088cdcd3 100644
--- a/res/layout/album_list_item.xml
+++ b/res/layout/album_list_item.xml
@@ -9,7 +9,7 @@
android:layout_width="@dimen/AlbumArt.Small"
android:layout_height="@dimen/AlbumArt.Small">
- <ImageView
+ <github.daneren2005.dsub.view.RecyclingImageView
android:id="@+id/album_coverart"
android:layout_width="@dimen/AlbumArt.Small"
android:layout_height="@dimen/AlbumArt.Small"
diff --git a/res/layout/chat_item.xml b/res/layout/chat_item.xml
index b175d6c1..f31f7988 100644
--- a/res/layout/chat_item.xml
+++ b/res/layout/chat_item.xml
@@ -4,7 +4,7 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content">
- <ImageView
+ <github.daneren2005.dsub.view.RecyclingImageView
android:id="@+id/chat_avatar"
android:src="@drawable/ic_social_person"
android:layout_width="@dimen/AlbumArt.Small"
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"
diff --git a/res/layout/select_album_header.xml b/res/layout/select_album_header.xml
index 19464103..f9eff4e8 100644
--- a/res/layout/select_album_header.xml
+++ b/res/layout/select_album_header.xml
@@ -100,7 +100,7 @@
android:layout_gravity="center_vertical"/>
</LinearLayout>
- <ImageView
+ <github.daneren2005.dsub.view.RecyclingImageView
android:id="@+id/select_album_art"
android:layout_width="@dimen/AlbumArt.Header"
android:layout_height="@dimen/AlbumArt.Header"
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"
diff --git a/res/layout/user_list_item.xml b/res/layout/user_list_item.xml
index ac408295..146c44d5 100644
--- a/res/layout/user_list_item.xml
+++ b/res/layout/user_list_item.xml
@@ -5,7 +5,7 @@
android:layout_height="wrap_content"
android:background="@android:color/transparent">
- <ImageView
+ <github.daneren2005.dsub.view.RecyclingImageView
android:id="@+id/item_avatar"
android:src="@drawable/ic_social_person"
android:layout_width="@dimen/AlbumArt.Small"