GoogleNavigationDrawerMenu
GoogleNavigationDrawerMenu copied to clipboard
Set height for header view
Hi, I'm not enabled to set the height params for header view in my project... Pratically, I built an header layout but the layout_height doesn't seem to be read and when I execute the code, this height params was reset and I don't know why!
This is my header view:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="100dp"
android:background="@color/dark_gray">
//...other widgets
</RelativeLayout>
When I try to change the layout_height (100dp in my snippet code), doesn't change the height when I execute the code...
How can I solve?
Thanks!!