ile çalışmıyor. Android materyal tasarımı destek kitaplığı üzerinde çalışmaya başladım ve yeni başlayanlar olarak bazı karışıklıklara sahibim. Ve yardımına ihtiyacım var. :)app: layout_scrollFlags = "scroll | enterAlways", LinearLayout
1) LinearLayout ile layout_scrollFlags="scroll|enterAlways"
kullanmak mümkün mü?
2) Araç Çubuğunun hemen altında bir LinearLayout istiyorum. AppBarLayout'u kullanarak başardım, ancak LinearLayout'un altındaki içeriği kaydırmak için LinearLayout araç çubuğunu kaydırmak istiyorum. LinearLayout üzerinde layout_scrollFlags="scroll|enterAlways"
kullanmak işe yaramıyor.
3) AppBarLayout'ta CoordinatorLAyout ve Araç Çubuğunda birden fazla AppBarLayout kullanabilir miyiz?
<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">
<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" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="10dp"
app:layout_scrollFlags="scroll|enterAlways">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TextView : 1 " />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TextView : 2" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TextView : 3" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TextView : 4" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TextView : 5" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TextView : 6" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TextView : 7" />
</LinearLayout>
</android.support.design.widget.AppBarLayout>
<android.support.v7.widget.RecyclerView
android:id="@+id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
</android.support.design.widget.CoordinatorLayout>
SaravInfern en çözümünü uygulamadan sonra, İşte
... ben bugüne kadar elde budur
Ben Araç Çubuğu – Jaydeep
https://youtu.be/enWVNP3Gifg kaydırma gibi bir şey istiyorum sonra LinearLayout gizlemek istiyorum, tek fark ben LinearLayout ve içindeki textViews istiyorum ve bu video bir tabLayout var – Jaydeep
cevabınız yok İstediğiniz çıktıyı ver ... – Jaydeep