` <android.support.design.widget.CoordinatorLayout android:id="@+id/main" android:layout_width="match_parent" android:layout_height="match_parent" android:focusableInTouchMode="true" tools:ignore="RtlHardcoded"> <android.support.design.widget.AppBarLayout android:id="@+id/main_appbar" android:layout_width="match_parent" android:layout_height="292dp" android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"> <android.support.design.widget.CollapsingToolbarLayout android:id="@+id/main_collapsing" android:layout_width="match_parent" android:layout_height="wrap_content" app:layout_scrollFlags="scroll|exitUntilCollapsed|snap"> <include layout="@layout/profile_header"></include> <android.support.v7.widget.Toolbar android:id="@+id/main_toolbar" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" app:layout_collapseMode="pin" app:popupTheme="@style/ThemeOverlay.AppCompat.Light"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal"> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingLeft="1dp" android:paddingTop="17dp" android:src="@drawable/ic_arrow_left" /> <TextView android:id="@+id/main_tv_toolbar_name" android:layout_width="wrap_content" android:layout_height="match_parent" android:gravity="center_vertical" android:text="Toolbar Title" android:textColor="#a0cd64" android:textSize="20sp" /> </LinearLayout> </android.support.v7.widget.Toolbar> </android.support.design.widget.CollapsingToolbarLayout> </android.support.design.widget.AppBarLayout> <FrameLayout android:id="@+id/container_for_fragment_with_content_and_recycler_view" android:layout_width="match_parent" android:layout_height="match_parent" /> </android.support.design.widget.CoordinatorLayout>`
Обсуждают сегодня