aboutsummaryrefslogtreecommitdiff
path: root/res
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
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')
-rw-r--r--res/layout-land/download.xml2
-rw-r--r--res/layout-large-land/download.xml2
-rw-r--r--res/layout-port/download.xml2
-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
10 files changed, 10 insertions, 10 deletions
diff --git a/res/layout-land/download.xml b/res/layout-land/download.xml
index e97db866..c0108597 100644
--- a/res/layout-land/download.xml
+++ b/res/layout-land/download.xml
@@ -21,7 +21,7 @@
android:layout_height="fill_parent"
android:layout_weight="1">
- <ImageView
+ <github.daneren2005.dsub.view.RecyclingImageView
android:id="@+id/download_album_art_image"
android:src="@drawable/unknown_album_large"
android:layout_width="wrap_content"
diff --git a/res/layout-large-land/download.xml b/res/layout-large-land/download.xml
index 18b560bc..139685e0 100644
--- a/res/layout-large-land/download.xml
+++ b/res/layout-large-land/download.xml
@@ -15,7 +15,7 @@
android:layout_height="0dip"
android:layout_weight="1">
- <ImageView
+ <github.daneren2005.dsub.view.RecyclingImageView
android:id="@+id/download_album_art_image"
android:src="@drawable/unknown_album_large"
android:layout_width="0dp"
diff --git a/res/layout-port/download.xml b/res/layout-port/download.xml
index b7d047c6..207ab260 100644
--- a/res/layout-port/download.xml
+++ b/res/layout-port/download.xml
@@ -29,7 +29,7 @@
android:layout_height="wrap_content"
android:layout_alignParentTop="true">
- <ImageView
+ <github.daneren2005.dsub.view.RecyclingImageView
android:id="@+id/download_album_art_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
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"