У меня есть список, панель инструментов и нижняя панель навигации. Панель инструментов выровнена сверху, а панель навигации выровнена вниз. Его работа хорошо, если я не добавляю элементы в список. После добавления 5 элементов нижняя панель исчезает. Не могу я выровнять ботовую панель, как панель инструментов, чтобы она оставалась неподвижной?Xamarin Bottom Bar Потерянный
axml Activity в
<?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
Все это сделано –