My Acivity is contains an include of fragment ...
<android.support.design.widget.CoordinatorLayout ...>
<android.support.design.widget.AppBarLayout ...>
...
</android.support.design.widget.AppBarLayout>
<include layout="@layout/person_detail" />
</android.support.design.widget.CoordinatorLayout>
fragment person_detail.xml
<LinearLayout ... android:orientation="vertical" ...>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_margin="@dimen/text_margin"
android:layout_marginEnd="@dimen/text_margin">
<TextView
android:id="@+id/person_detail_name_text1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Medium Size Text?"
android:textAppearance="?android:attr/textAppearanceMedium"
/>
<TextView
android:id="@+id/person_detail_name_text2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Large Text?"
android:textAppearance="?android:attr/textAppearanceLarge"
/>
</LinearLayout>
<ListView
android:id="@+id/children_listView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
</LinearLayout>
I was thinking I'd get "Medium Size Text? Large Text?" as the 1st line
below the AppBar
Then I'd get a list.
The ToolBar looks great, the list looks great, but..
Why do I get two rows of "Medium Size Text? Large Text?"
-Paul
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-developers/CAFR9p%3DN3uwoyLU4eewc0qnLhQp9vKBMPXgEkvJtMBkZ3VUaR%2Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.