New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main menu icons too large on high-res phone screens #15

GoogleCodeExporter opened this Issue Jun 26, 2015 · 3 comments


None yet
1 participant

GoogleCodeExporter commented Jun 26, 2015

I recently upgraded my personal phone to a Samsung Galaxy S4 and noticed that 
the icons on the Cryptnos main menu screen were displayed very large, so large 
that you have to scroll to see them all. These icons were never intended to be 
displayed that large on such a small screen.

Fortunately, this is a pretty easy issue to fix. It stems for an artifact in 
how Android handles resources (icons) for various screen resolutions. There are 
several built-in mechanisms to handle this, but Cryptnos uses some of the older 
mechanisms (based on screen density) for backward compatibility, rather than 
the newer mechanisms (based on physical screen size) that would probably work 

The S4 has a very high resolution display (< 400 dpi), whereas my previous 
phone had a much lower resolution display. Essentially, the S4 is picking up 
the icons intended to be displayed for tablets, rather than the icon set 
intended for phones. It may take some trial and error, but I'll see what I can 
do to tweak the resource bundles and get the right icons displayed.

Fortunately, this is a minor issue that does not seem to affect usability. The 
problem is mostly cosmetic.

Original issue reported on by on 6 Jun 2013 at 8:27



This comment has been minimized.

GoogleCodeExporter commented Jun 26, 2015

This issue was updated by revision r74.

Rearranged the resources directory ("res") to take advantage of aliases for the 
hdpi items. These were originally under drawable-hdpi, but I moved them under 
drawable and renamed them just like I did with the xhdpi resources.

Then I added a new directory, drawable-normal-xhdpi, and populated it with 
aliases to the hdpi files. This should help "fix" Issue 15, where I discovered 
that extra-high resolution smartphones (i.e. phones with a resolution of xhdpi 
but a screen size of normal) were using the xhdpi resources that were really 
too big for that smaller screen.

I really need to make an xhdpi icon (96 x 96), but that's going to take a bit 
more work than I have time for now.

Original comment by on 9 Jun 2013 at 2:11


This comment has been minimized.

GoogleCodeExporter commented Jun 26, 2015

Attaching this to Milestone 1.3.2

Original comment by on 5 Jul 2013 at 3:18

  • Added labels: Milestone-1.3.2

This comment has been minimized.

GoogleCodeExporter commented Jun 26, 2015

Fixed with the release of version 1.3.2

Original comment by on 5 Jul 2013 at 5:17

  • Changed state: Fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment