2015-06-09 14:37:20 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-09-13 05:48:30 +00: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"
|
2019-03-20 22:52:14 +00:00
|
|
|
android:layout_marginStart="0dp"
|
|
|
|
android:layout_marginEnd="0dp"
|
2017-09-13 05:48:30 +00:00
|
|
|
android:background="@color/transparent"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools">
|
2015-06-09 14:37:20 +00:00
|
|
|
|
2017-09-13 05:48:30 +00:00
|
|
|
<android.support.design.widget.AppBarLayout
|
|
|
|
android:id="@+id/app_bar_layout"
|
2015-06-09 14:37:20 +00:00
|
|
|
android:layout_width="match_parent"
|
2017-09-13 05:48:30 +00:00
|
|
|
android:layout_height="300dp"
|
|
|
|
android:background="@color/transparent">
|
2015-06-09 14:37:20 +00:00
|
|
|
|
2017-09-13 05:48:30 +00: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 14:37:20 +00:00
|
|
|
|
2017-09-13 05:48:30 +00:00
|
|
|
<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"/>
|
2015-07-06 22:11:24 +00:00
|
|
|
|
2017-09-13 05:48:30 +00: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 22:11:24 +00:00
|
|
|
|
2017-09-13 05:48:30 +00: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 22:11:24 +00:00
|
|
|
|
2017-09-13 05:48:30 +00: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 22:11:24 +00:00
|
|
|
|
2017-09-13 05:48:30 +00:00
|
|
|
</android.support.v7.widget.Toolbar>
|
2015-07-06 22:11:24 +00:00
|
|
|
|
2017-09-13 05:48:30 +00:00
|
|
|
</android.support.design.widget.CollapsingToolbarLayout>
|
2015-06-09 14:37:20 +00:00
|
|
|
|
2017-09-13 05:48:30 +00:00
|
|
|
</android.support.design.widget.AppBarLayout>
|
2015-06-09 14:37:20 +00:00
|
|
|
|
2017-09-13 05:48:30 +00:00
|
|
|
<android.support.v4.widget.NestedScrollView
|
2017-09-21 01:14:28 +00:00
|
|
|
android:id="@+id/scroll_view"
|
2017-09-13 05:48:30 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:fillViewport="true"
|
2017-09-21 01:14:28 +00:00
|
|
|
android:descendantFocusability="blocksDescendants"
|
2017-09-13 05:48:30 +00:00
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
|
2017-09-21 01:14:28 +00: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 23:29:11 +00:00
|
|
|
android:text="@string/recipient_preference_activity__shared_media"
|
2017-09-21 01:14:28 +00:00
|
|
|
android:visibility="gone"
|
2017-10-09 00:36:35 +00:00
|
|
|
android:focusableInTouchMode="true"
|
2017-10-04 19:26:03 +00:00
|
|
|
style="?android:attr/preferenceCategoryStyle"
|
|
|
|
android:textColor="@color/textsecure_primary"/>
|
2017-09-21 01:14:28 +00:00
|
|
|
|
|
|
|
<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-13 05:48:30 +00:00
|
|
|
|
|
|
|
</android.support.v4.widget.NestedScrollView>
|
|
|
|
|
|
|
|
</android.support.design.widget.CoordinatorLayout>
|