Skip to content

Instantly share code, notes, and snippets.

@chadmiller
Created January 3, 2015 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chadmiller/e3944a60287ce4c5f5bd to your computer and use it in GitHub Desktop.
Save chadmiller/e3944a60287ce4c5f5bd to your computer and use it in GitHub Desktop.
Android fragment layout doesn't set ID on child when inflated.
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Calculator$PlaceholderFragment">
<o.c.TimelineView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/timeline_view" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment