2015-06-09 07:37:20 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-09-12 22:48:30 -07:00
|
|
|
<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"
|
2017-09-20 18:14:28 -07:00
|
|
|
android:layout_marginLeft="0dp"
|
|
|
|
android:layout_marginRight="0dp"
|
2017-09-12 22:48:30 -07:00
|
|
|
android:background="@color/transparent"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools">
|
2015-06-09 07:37:20 -07:00
|
|
|
|
2017-09-12 22:48:30 -07:00
|
|
|
<android.support.design.widget.AppBarLayout
|
|
|
|
android:id="@+id/app_bar_layout"
|
2015-06-09 07:37:20 -07:00
|
|
|
android:layout_width="match_parent"
|
2017-09-12 22:48:30 -07:00
|
|
|
android:layout_height="300dp"
|
|
|
|
android:background="@color/transparent">
|
2015-06-09 07:37:20 -07:00
|
|
|
|
2017-09-12 22:48:30 -07:00
|
|
|
<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">
|
2015-06-09 07:37:20 -07:00
|
|
|
|
2017-09-12 22:48:30 -07:00
|
|
|
<ImageView android:id="@+id/avatar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:scaleType="centerCrop"
|
|
|
|
android:transitionName="avatar"
|
|
|
|
app:layout_collapseMode="parallax"
|
|
|
|
app:layout_collapseParallaxMultiplier="0.7"/>
|
2015-07-06 15:11:24 -07:00
|
|
|
|
2017-09-12 22:48:30 -07:00
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="88dp"
|
|
|
|
android:background="@drawable/recipient_preference_scrim_top"
|
|
|
|
app:layout_collapseMode="pin"/>
|
2015-07-06 15:11:24 -07:00
|
|
|
|
2017-09-12 22:48:30 -07:00
|
|
|
<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"/>
|
2015-07-06 15:11:24 -07:00
|
|
|
|
2017-09-12 22:48:30 -07:00
|
|
|
<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" >
|
2015-07-06 15:11:24 -07:00
|
|
|
|
2017-09-12 22:48:30 -07:00
|
|
|
</android.support.v7.widget.Toolbar>
|
2015-07-06 15:11:24 -07:00
|
|
|
|
2017-09-12 22:48:30 -07:00
|
|
|
</android.support.design.widget.CollapsingToolbarLayout>
|
2015-06-09 07:37:20 -07:00
|
|
|
|
2017-09-12 22:48:30 -07:00
|
|
|
</android.support.design.widget.AppBarLayout>
|
2015-06-09 07:37:20 -07:00
|
|
|
|
2017-09-12 22:48:30 -07:00
|
|
|
<android.support.v4.widget.NestedScrollView
|
2017-09-20 18:14:28 -07:00
|
|
|
android:id="@+id/scroll_view"
|
2017-09-12 22:48:30 -07:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fillViewport="true"
|
2017-09-20 18:14:28 -07:00
|
|
|
android:descendantFocusability="blocksDescendants"
|
2017-09-12 22:48:30 -07:00
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
|
2017-09-20 18:14:28 -07:00
|
|
|
<LinearLayout android:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<TextView android:id="@+id/rail_label"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="16dp"
|
2017-10-03 16:29:11 -07:00
|
|
|
android:text="@string/recipient_preference_activity__shared_media"
|
2017-09-20 18:14:28 -07:00
|
|
|
android:visibility="gone"
|
|
|
|
android:textColor="?attr/colorPrimary"/>
|
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.ThreadPhotoRailView
|
|
|
|
android:id="@+id/recent_photos"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="90dp"
|
|
|
|
android:visibility="visible"
|
|
|
|
android:layout_marginBottom="16dp"/>
|
|
|
|
|
|
|
|
<include layout="@layout/preference_divider"/>
|
|
|
|
|
|
|
|
<FrameLayout android:id="@+id/preference_fragment"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2017-09-12 22:48:30 -07:00
|
|
|
|
|
|
|
</android.support.v4.widget.NestedScrollView>
|
|
|
|
|
|
|
|
</android.support.design.widget.CoordinatorLayout>
|