androidで上に表示されたタイトルバーをレイアウトのXMLから消したいのですが消えてくれません。
ソースは以下のようになってます。
非表示ではなく削除です。
レイアウト以外でタイトルバーが描写されていればどこで描写されるか教えて欲しいです。
activity_item_app_bar.xml←これをメインアクティビティーで読み込んでいます。
<?xml version="1.0" encoding="utf-8"?><FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<include layout="@layout/activity_item_list" />
</FrameLayout>
layout/activity_item_list.xml
<fragment xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" />
<fragment xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" />
layout(sw600dp)/activity_item_list.xml
<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" android:layout_marginLeft="16dp"
android:layout_marginRight="16dp" android:baselineAligned="false"
>
</LinearLayout><fragment android:id="@+id/item_list" android:name="com.aaaa.aaaa.gamen2.ItemListFragment" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="1.10" tools:layout="@android:layout/list_content" />
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。