diff options
author | AlexF <alexfongg@gmail.com> | 2015-11-12 09:49:36 +0800 |
---|---|---|
committer | jan iversen <jani@documentfoundation.org> | 2015-12-25 12:59:10 +0000 |
commit | 321dc29fc51c1d901ed8e2bf166c2f1dc55c3ee5 (patch) | |
tree | 881897de963b332bf92d1c811a3b6dcdd4bfdced /android | |
parent | e6c14e281e2f4e9c5d7cbc3d69da11cd86770adf (diff) |
tdf#88391 android document browser: draw and impress icon is the same
Added missing code to set icon for draw in grid mode.
Change-Id: I9ee356d5ab1a296a90e5ece11f5f4c50e7600f13
Reviewed-on: https://gerrit.libreoffice.org/19921
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'android')
-rw-r--r-- | android/source/src/java/org/libreoffice/ui/GridItemAdapter.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/android/source/src/java/org/libreoffice/ui/GridItemAdapter.java b/android/source/src/java/org/libreoffice/ui/GridItemAdapter.java index d1e4278aee19..b083de40314b 100644 --- a/android/source/src/java/org/libreoffice/ui/GridItemAdapter.java +++ b/android/source/src/java/org/libreoffice/ui/GridItemAdapter.java @@ -101,7 +101,9 @@ public class GridItemAdapter extends BaseAdapter { case FileUtilities.CALC: imageView.setImageResource(R.drawable.calc); break; - case FileUtilities.DRAWING: // FIXME: only for now ... + case FileUtilities.DRAWING: + imageView.setImageResource(R.drawable.draw); + break; case FileUtilities.IMPRESS: imageView.setImageResource(R.drawable.impress); break; |