Re: [android-developers] Re: How to calculate a tablets resolution before purchasing the tablet

2014-05-22 Thread Simon Giddings
Great Tobias, This is a great help, thank you for taking the time to put this here ! On Wednesday, 21 May 2014 21:37:20 UTC+2, Tobias wrote: I found this dpi/ppi calculator to be useful: http://www.sven.de/dpi/ It will give you the actual physical dpi. Taking this value and then rounding it

[android-developers] Navigation Drawer Icon Theme/Color?

2014-05-22 Thread Kevin Kovach
We're trying to theme an app that uses a navigation drawer and I want to be able to tint/color the icon for the navigation drawer with an @color. For the life of me I cannot find any information or hints on how to accomplish this. I would really appreciate any hints on doing this. Thanks. -

[android-developers] Is there any functionality difference between ViewTreeObserver.removeOnGlobalLayoutListener() and .removeGlobalOnLayoutListener()?

2014-05-22 Thread Sheng-Dean
The ViewTreeObserver class has 2 methods: removeOnGlobalLayoutListener() removeGlobalOnLayoutListener(). I went on GrepCode and diff-ed every version and couldn't find any functionality difference other than the name change. Is there any functionality differences between these two methods?

Re: [android-developers] Navigation Drawer Icon Theme/Color?

2014-05-22 Thread Kostya Vasilyev
This is the class responsible for that pedestrian crossing icon: https://developer.android.com/reference/android/support/v4/app/ActionBarDrawerToggle.html It's in the support library. The code as it is just loads an image from a resource resource, but should be easy to change to apply a color

Re: [android-developers] Is there any functionality difference between ViewTreeObserver.removeOnGlobalLayoutListener() and .removeGlobalOnLayoutListener()?

2014-05-22 Thread Kostya Vasilyev
Looks like it was just renamed in API 16 for consistency. https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/java/android/view/ViewTreeObserver.java 1. @Deprecated 2. public void removeGlobalOnLayoutListener(OnGlobalLayoutListener victim ) { 3.