<!--
  ~ Nextcloud Maps Geofavorites for Android
  ~
  ~ This program is free software: you can redistribute it and/or modify
  ~ it under the terms of the GNU General Public License as published by
  ~ the Free Software Foundation, either version 3 of the License, or
  ~ (at your option) any later version.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~ GNU General Public License for more details.
  ~
  ~ You should have received a copy of the GNU General Public License
  ~ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  -->

<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="wrap_content"
    android:gravity="center_vertical"
    android:paddingStart="@dimen/spacer_1x"
    android:paddingEnd="@dimen/spacer_2x"
    android:paddingLeft="@dimen/spacer_1x"
    android:paddingRight="@dimen/spacer_2x">

    <androidx.appcompat.widget.AppCompatImageView
        android:id="@+id/navigationItemIcon"
        android:layout_width="44dp"
        android:layout_height="44dp"
        android:contentDescription="@null"
        android:focusable="false"
        android:scaleType="center"
        android:src="@drawable/ic_time_grey"/>

    <TextView
        android:id="@+id/navigationItemLabel"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginStart="@dimen/spacer_1x"
        android:layout_marginLeft="@dimen/spacer_1x"
        android:layout_weight="1"
        android:ellipsize="end"
        android:lines="1"
        tools:text="@tools:sample/lorem/random"/>

</LinearLayout>