skip to Main Content

Android Studio – Problems with a xml Android layout. The layout overlaps the toolbar

I am programming an Android application in Java. I have the following xml layout: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:ads="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="wrap_content" tools:context="com.geologyapplications.minerals.Ficha" android:theme="@android:style/Holo.Light.ButtonBar" android:descendantFocusability="beforeDescendants" android:focusableInTouchMode="true"> <androidx.appcompat.widget.Toolbar android:id="@+id/toolbar" android:layout_width="match_parent" android:layout_height="wrap_content" android:minHeight="?attr/actionBarSize" android:theme="@style/ToolbarTheme"> <TextView android:id="@+id/toolbarTextView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:ellipsize="end"…

VIEW QUESTION
Back To Top
Search