diff options
author | Andrew Dolgov <[email protected]> | 2013-10-16 09:50:59 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-10-16 09:50:59 +0400 |
commit | 33b8aaadc05d24f515c1930cea636a5126ee65f1 (patch) | |
tree | c1bca8dd0ae002c909810a3a8e6e80c607e1693d /src | |
parent | 01ba164f221c171275b8be96c4f2b15216b9fa02 (diff) |
set different border for folders
Diffstat (limited to 'src')
-rw-r--r-- | src/org/fox/ttcomics/ComicListFragment.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/org/fox/ttcomics/ComicListFragment.java b/src/org/fox/ttcomics/ComicListFragment.java index edd13ff..0537577 100644 --- a/src/org/fox/ttcomics/ComicListFragment.java +++ b/src/org/fox/ttcomics/ComicListFragment.java @@ -135,6 +135,13 @@ public class ComicListFragment extends Fragment implements OnItemClickListener { ImageView thumbnail = (ImageView) v.findViewById(R.id.thumbnail);
if (thumbnail != null) {
+
+ if (size == SIZE_DIR) {
+ thumbnail.setBackgroundResource(R.drawable.border_folder);
+ } else {
+ thumbnail.setBackgroundResource(R.drawable.border);
+ }
+
if (m_activity.isStorageAvailable() && thumbnailFile.exists()) {
//
|