Tag Archives: id

1,430 views

fragment Binary XML file line Must specify unique android:id, android:tag, or have a parent with an id for

FrameLayou, fragment have to unique id android:id=”@+id/your_id_unique” <FrameLayout 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" >   <fragment android:id="@+id/your_id_unique" android:layout_width="match_parent" android:layout_height="match_parent" class="cz.okhelp.notepad.AddNoteFragment" tools:layout="@layout/add_note" />   </FrameLayout>

Posted in Android Studio, Bugs, warnings, errors | Tagged , , | Comments Off on fragment Binary XML file line Must specify unique android:id, android:tag, or have a parent with an id for