Как поместить сообщение внизу Navigationview? - PullRequest
0 голосов
/ 07 февраля 2020

Я работаю над небольшим приложением и пытаюсь поместить текстовое представление (сообщение внизу ящика), но по какой-то причине текстовое представление пересекается с меню.

<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.NavigationView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/drawer_view"
    android:layout_width="wrap_content"
    android:layout_height="match_parent"
    android:layout_gravity="start"
    android:fitsSystemWindows="true"
    app:headerLayout="@layout/nav_header"
    app:menu="@menu/drawer_nav_menu" >


    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="bottom"
        android:orientation="vertical">

        <TextView
            android:id="@+id/textView25"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text=""
            android:textAlignment="center"
            android:textStyle="bold"
            android:layout_marginBottom="2dp"
            android:textSize="12sp" />

        <TextView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:text="version 1"
            android:textAlignment="center"
            android:textSize="8sp"/>

    </LinearLayout>
</android.support.design.widget.NavigationView>
...