Thursday, April 24, 2014

Get navigation bar (TSB bar) height

The dim value is defined as com.android.internal.R.dimen.navigation_bar_height.

 final int naviHeight = mContext.getResources().getDimensionPixelSize(
                    com.android.internal.R.dimen.navigation_bar_height);

No comments:

Post a Comment

Enable HP Zbook Thunderbolt 3 Dock on Ubuntu

As mention in previously post, I installed Ubuntu on my HP ZBook. After two days used all things work just fine, but the Thunderbolt 3 Dock ...