Skip to content

ptr_header.xml should include layout_width/layout_height or it will cause exception #49

Description

@johnvuong20000

I have added it like here:




    <LinearLayout android:id="@+id/ptr_id_textwrapper" style="@style/ptr_textwrapper">
        <TextView android:id="@+id/ptr_id_text" style="@style/ptr_text"
            android:layout_height="wrap_content"
            android:layout_width="wrap_content" />
        <TextView android:id="@+id/ptr_id_last_updated" style="@style/ptr_last_updated"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content" />
    </LinearLayout>
</RelativeLayout>

main.xml should add these too.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions