<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<androidx.appcompat.widget.Toolbar
android:id="@+id/myToolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#019032"
android:padding="20dp"
android:gravity="center_horizontal">
<ImageView
android:layout_width="25dp"
android:layout_height="25dp"
android:layout_marginLeft="0dp"
android:paddingLeft="0dp"
android:src="@drawable/menu" />
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_gravity="center"
android:textAlignment="center"
android:layout_weight="1"
android:textStyle="bold"
android:textSize="18dp"
android:text="Falesie in Italia" />
<ImageView
android:layout_width="25dp"
android:layout_height="25dp"
android:src="@drawable/menu" />
</LinearLayout>
</androidx.appcompat.widget.Toolbar>
</androidx.constraintlayout.widget.ConstraintLayout>
Snažím se přidat panel Nástrojů na moje app, a já měl trochu prostoru na levé straně lineární uspořádání.
Toto je kód z mých hlavních činností rozvržení, snažil jsem se změnit odsazení a rozpětí všech prvku, ale situace doasn nemění.
Ví někdo, proč?