parent
f22832f5c2
commit
e8f1b19208
@ -1,31 +1,71 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
<?xml version="1.0" encoding="utf-8"?> |
||||||
<androidx.constraintlayout.widget.ConstraintLayout |
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||||
xmlns:android="http://schemas.android.com/apk/res/android" |
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||||
xmlns:app="http://schemas.android.com/apk/res-auto" |
xmlns:tools="http://schemas.android.com/tools" |
||||||
xmlns:tools="http://schemas.android.com/tools" |
android:layout_width="match_parent" |
||||||
|
android:layout_height="match_parent"> |
||||||
|
|
||||||
|
<androidx.core.widget.NestedScrollView |
||||||
android:layout_width="match_parent" |
android:layout_width="match_parent" |
||||||
android:layout_height="match_parent"> |
android:layout_height="match_parent" |
||||||
|
android:fillViewport="true" |
||||||
<TextView |
app:layout_behavior="@string/appbar_scrolling_view_behavior"> |
||||||
android:id="@+id/title" |
|
||||||
android:layout_width="wrap_content" |
<androidx.constraintlayout.widget.ConstraintLayout |
||||||
android:layout_height="wrap_content" |
android:layout_width="match_parent" |
||||||
android:text="New session" |
android:layout_height="400dp"> |
||||||
android:layout_marginTop="8dp" |
|
||||||
app:layout_constraintTop_toTopOf="parent" |
<androidx.appcompat.widget.AppCompatTextView |
||||||
app:layout_constraintEnd_toEndOf="parent" |
android:id="@+id/title" |
||||||
android:layout_marginEnd="8dp" |
style="@style/Title" |
||||||
app:layout_constraintStart_toStartOf="parent" |
android:layout_width="wrap_content" |
||||||
android:layout_marginStart="8dp"/> |
android:layout_height="wrap_content" |
||||||
|
android:layout_marginStart="8dp" |
||||||
<androidx.recyclerview.widget.RecyclerView |
android:layout_marginTop="8dp" |
||||||
android:id="@+id/recyclerView" |
android:layout_marginEnd="8dp" |
||||||
android:layout_width="0dp" |
android:text="New session" |
||||||
android:layout_height="0dp" |
app:layout_constraintEnd_toEndOf="parent" |
||||||
app:layout_constraintTop_toBottomOf="@+id/title" |
app:layout_constraintStart_toStartOf="parent" |
||||||
app:layout_constraintEnd_toEndOf="parent" |
app:layout_constraintTop_toTopOf="parent" /> |
||||||
app:layout_constraintStart_toStartOf="parent" |
|
||||||
app:layout_constraintBottom_toBottomOf="parent" |
<androidx.recyclerview.widget.RecyclerView |
||||||
android:layout_marginTop="8dp"/> |
android:id="@+id/recyclerView" |
||||||
|
android:layout_width="0dp" |
||||||
</androidx.constraintlayout.widget.ConstraintLayout> |
android:layout_height="0dp" |
||||||
|
android:layout_marginTop="8dp" |
||||||
|
app:layout_constraintBottom_toBottomOf="parent" |
||||||
|
app:layout_constraintEnd_toEndOf="parent" |
||||||
|
app:layout_constraintStart_toStartOf="parent" |
||||||
|
app:layout_constraintTop_toBottomOf="@+id/title" /> |
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout> |
||||||
|
|
||||||
|
</androidx.core.widget.NestedScrollView> |
||||||
|
|
||||||
|
<com.google.android.material.appbar.AppBarLayout |
||||||
|
android:id="@+id/appBar" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="128dp" |
||||||
|
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"> |
||||||
|
|
||||||
|
<com.google.android.material.appbar.CollapsingToolbarLayout |
||||||
|
android:id="@+id/collapsingToolbar" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="match_parent" |
||||||
|
app:contentScrim="?attr/colorPrimary" |
||||||
|
app:expandedTitleGravity="bottom" |
||||||
|
app:layout_scrollFlags="scroll|exitUntilCollapsed|snap"> |
||||||
|
|
||||||
|
<androidx.appcompat.widget.Toolbar |
||||||
|
android:id="@+id/toolbar" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="?attr/actionBarSize" |
||||||
|
app:title="Poker Analytics" |
||||||
|
app:titleTextColor="@color/white" |
||||||
|
app:layout_collapseMode="pin" /> |
||||||
|
|
||||||
|
</com.google.android.material.appbar.CollapsingToolbarLayout> |
||||||
|
|
||||||
|
</com.google.android.material.appbar.AppBarLayout> |
||||||
|
|
||||||
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |
||||||
Loading…
Reference in new issue