Skip to content

Instantly share code, notes, and snippets.

@xenon92
Last active August 29, 2015 14:04
Show Gist options
  • Save xenon92/0977a22ec53ca5d0c33b to your computer and use it in GitHub Desktop.
Save xenon92/0977a22ec53ca5d0c33b to your computer and use it in GitHub Desktop.
Patch: Android: Increase thumbnail size. Use higher quality images.
From 9e868ac70deb646120514132a5b00e7bb2d7ed2f Mon Sep 17 00:00:00 2001
From: Shubhang Rathore <shubhang92@gmail.com>
Date: Thu, 24 Jul 2014 19:54:10 +0530
Subject: [PATCH] Increase thumbnail size. Use higher quality images.
Samsung Galaxy Grand i9082 gets recognized as "normal" screen size.
But 5" screen size is quite big. Using 500dip is the same as
declared for "xlarge" screen size. There is no dimension declared
for "large" screen size.
Change-Id: I6e62ecd16fa622ba45b0bab8c06b9ae776472497
---
res/values/dimens.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 7f76c3a..6931fc8 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -8,5 +8,5 @@
<resources>
<!-- maximum size for album art. the real size of the albumart will be divided by two
until both width and height are below this value. -->
- <dimen name="maximum_thumb_size">320dip</dimen>
+ <dimen name="maximum_thumb_size">500dip</dimen>
</resources>
--
1.9.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment