Skip to content

Commit

Permalink
Navigation drawer width fix for HDPI phones
Browse files Browse the repository at this point in the history
  • Loading branch information
BioHaZard1 committed Apr 6, 2015
1 parent 5d2262f commit 9977cb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file modified android/android-simple-release.apk
Binary file not shown.
3 changes: 2 additions & 1 deletion android/src/main/res/values/dimens.xml
Expand Up @@ -18,7 +18,8 @@

<dimen name="avatar_image_dimension">48dp</dimen>

<dimen name="nav_drawer_width">304dp</dimen>
<dimen name="nav_drawer_top_padding">0dp</dimen>
<dimen name="nav_drawer_width">264dp</dimen>

This comment has been minimized.

Copy link
@federicoiosue

federicoiosue Apr 10, 2015

Hi, you should provide resources for specific screens instead of changing the defaul value.

http://developer.android.com/guide/practices/screens_support.html

This comment has been minimized.

Copy link
@BioHaZard1

BioHaZard1 Apr 11, 2015

Owner

Yeah, if you look at my commits you'll find I did.

a5ec355
9977cb9

<dimen name="nav_drawer_header_height">148dp</dimen>

<dimen name="margin_half_small">4dp</dimen>
Expand Down

0 comments on commit 9977cb9

Please sign in to comment.