0
I’ll use a tablouyt but it sits under the action bar, how to solve this?
Xml of the screen
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.TabLayout
android:id="@+id/tab_Solicitacao"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
app:layout_constraintBottom_toTopOf="@+id/pgr_Solicitacao"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
</android.support.design.widget.TabLayout>
<android.support.v4.view.ViewPager
android:id="@+id/pgr_Solicitacao"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tab_Solicitacao" />
I can’t take the action bar out of every project just because of this screen.
– Marceloawq
then do the same procedure above, but without Toolbar v7
– Samuel Ives
was the same way
– Marceloawq
Could send the xml of your complete layout?
– Samuel Ives
is complete, only has the setting of the layout Constraint on top of that.
– Marceloawq