Skip to content
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

Set height for header view #27

Open
robertotucci opened this issue Feb 6, 2015 · 0 comments
Open

Set height for header view #27

robertotucci opened this issue Feb 6, 2015 · 0 comments

Comments

@robertotucci
Copy link

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!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant