<?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>
나를 추가하려는 도구 모음에서 응용과 작은 공간에서 왼쪽의 선형 레이아웃이 있습니다.
이 코드 내 주요 활동 레이아웃을 변경하려고 패딩과 여백의 모든 요소이지만 상황 doasn 있습니다.
사람이 왜 알고 있나요?