私はリストビュー、ツールバー、ボトムナビゲーションバーを持っています。ナビゲーションバーが一番下に整列している間、ツールバーは上に揃えられます。 Listviewにアイテムを追加しない限り、うまく動作します。 5つの項目を追加すると、下の棒が消えます。私はツールバーのようにボットバーを整列させるので、それはまだそのままですか?事前にXamarinボトムバーが失われる
活動のAXML
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include
android:id="@+id/toolbar"
layout="@layout/toolbar" />
<ListView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/listv_sepet" />
<include
android:id="@+id/toolbar_bottom"
layout="@layout/toolbar_bot"
android:layout_alignParentBottom="true"/>
</LinearLayout>
</RelativeLayout>
ボトムツールバーAXML
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/toolbar_bottom"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="?attr/actionBarSize"
android:background="?attr/colorPrimary"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
/>
感謝。
質問にXAMLまたはAXMLレイアウトを追加してください。 – Cheesebaron
すべて完了しました –