mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
78 lines
3.3 KiB
XML
78 lines
3.3 KiB
XML
<?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"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="0dp"
|
|
android:layout_marginRight="0dp"
|
|
android:background="@color/transparent"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<android.support.design.widget.AppBarLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="300dp"
|
|
android:background="@color/transparent">
|
|
|
|
<android.support.design.widget.CollapsingToolbarLayout
|
|
android:id="@+id/collapsing_toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/transparent"
|
|
app:layout_scrollFlags="scroll|exitUntilCollapsed">
|
|
|
|
<ImageView android:id="@+id/avatar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:transitionName="avatar"
|
|
app:layout_collapseMode="parallax"
|
|
app:layout_collapseParallaxMultiplier="0.7"/>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="88dp"
|
|
android:background="@drawable/recipient_preference_scrim_top"
|
|
app:layout_collapseMode="pin"/>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="98dp"
|
|
android:layout_gravity="bottom"
|
|
android:layout_alignBottom="@+id/image"
|
|
android:background="@drawable/recipient_preference_scrim_bottom"/>
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:theme="@style/TextSecure.LightActionBar"
|
|
android:background="@color/transparent"
|
|
android:layout_marginTop="24dp"
|
|
app:layout_collapseMode="pin" >
|
|
|
|
</android.support.v7.widget.Toolbar>
|
|
|
|
</android.support.design.widget.CollapsingToolbarLayout>
|
|
|
|
</android.support.design.widget.AppBarLayout>
|
|
|
|
<android.support.v4.widget.NestedScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fillViewport="true"
|
|
android:descendantFocusability="blocksDescendants"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
<LinearLayout android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<FrameLayout android:id="@+id/preference_fragment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</android.support.v4.widget.NestedScrollView>
|
|
|
|
</android.support.design.widget.CoordinatorLayout> |