einfach ja oder nein Ich denke, es reicht, ich weiß, ich kann meine eigenen Tabs erstellen und sie wie die neuen Material entworfen aussehen und haben die volle Kontrolle über ihre Position, aber ich hoffe irgendwie, dass ich mein gewünschtes Ergebnis erreichen kann Unter Verwendung der Support-Bibliothek, Ich habe ein Tutorial gefolgt, um meine Material-Tabs einzurichten, sie brauchen einige asphätische Politur, aber sie funktionieren gut.Kann ich Android-Materialregisterkarten von der Apps-Symbolleiste trennen?
Außer id wie sie tatsächlich auf halbem Weg nach unten meine apps sehen wie this-
Ich habe versucht, nisten sich die Ansichten sein, aber ist es gelungen, bisher nur die bewegen gesamter Bildschirm.
hat jemand eine schnelle Lösung oder Abhilfe für dieses oder ist dies nur, wie es ist?
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
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="match_parent"
android:fitsSystemWindows="true"
tools:context=".MainActivity">
<android.support.design.widget.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:popupTheme="@style/AppTheme.PopupOverlay" />
<android.support.design.widget.TabLayout
android:id="@+id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:tabMode="scrollable"
app:tabGravity="fill" />
<android.support.v4.view.ViewPager
android:id="@+id/viewpager"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
</android.support.design.widget.AppBarLayout>
<include layout="@layout/content_main" />
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="@dimen/fab_margin"
android:src="@drawable/plus" />
</android.support.design.widget.CoordinatorLayout>
Können Sie mir bitte dies, so kann ich es überprüfen, – Nullpoint
sicherlich, @Magnar IVE den Code der Frage hinzugefügt –