Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <androidx.coordinatorlayout.widget.CoordinatorLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <com.google.android.material.appbar.AppBarLayout
- android:id="@+id/appBar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:fitsSystemWindows="true">
- <com.google.android.material.appbar.CollapsingToolbarLayout
- android:id="@+id/account_collapse_toolbar"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:contentScrim="?attr/colorPrimary"
- app:expandedTitleGravity="top"
- app:expandedTitleTextAppearance="@android:color/transparent"
- app:layout_scrollFlags="scroll|exitUntilCollapsed|snap"
- app:toolbarId="@id/toolbar">
- <androidx.appcompat.widget.LinearLayoutCompat
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/margin"
- android:orientation="vertical">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginTop="@dimen/margin"
- android:src="@drawable/ic_profile_main" />
- <TextView
- android:id="@+id/account_name_tv"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginTop="@dimen/margin_xl"
- android:layout_marginBottom="@dimen/margin"
- android:text="Тест Тестович"
- android:textColor="@color/colorWhite"
- android:textSize="@dimen/text_size_xl" />
- </androidx.appcompat.widget.LinearLayoutCompat>
- <androidx.appcompat.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- app:layout_collapseMode="pin" />
- </com.google.android.material.appbar.CollapsingToolbarLayout>
- </com.google.android.material.appbar.AppBarLayout>
- <androidx.core.widget.NestedScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layout_behavior="@string/appbar_scrolling_view_behavior">
- </androidx.core.widget.NestedScrollView>
- <com.google.android.material.floatingactionbutton.FloatingActionButton
- android:id="@+id/account_theme_fb"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="@dimen/margin_xxs"
- android:src="@drawable/ic_night_theme"
- android:tint="@color/colorBaseBrand"
- app:layout_anchor="@id/appBar"
- app:layout_anchorGravity="bottom|right|end" />
- </androidx.coordinatorlayout.widget.CoordinatorLayout>
- </androidx.appcompat.widget.LinearLayoutCompat>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement