mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +00:00
110 lines
No EOL
5.3 KiB
XML
110 lines
No EOL
5.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:background="?attr/colorSurface"
|
|
app:layout_collapseMode="pin"
|
|
app:navigationIcon="@drawable/ic_arrow_back" />
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/app_bar_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:id="@+id/podcast_channel_page_info_sector"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/colorSurface"
|
|
app:layout_scrollFlags="scroll|exitUntilCollapsed|snap">
|
|
|
|
<TextView
|
|
android:id="@+id/podcast_channel_description_label"
|
|
style="@style/TitleLarge"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="8dp"
|
|
android:text="@string/podcast_channel_page_title_description_section"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/podcast_channel_description_text_view"
|
|
style="@style/TitleMedium"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:paddingStart="16dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingEnd="16dp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/podcast_channel_description_label" />
|
|
|
|
<View
|
|
android:id="@+id/upper_button_divider"
|
|
style="@style/Divider"
|
|
android:layout_marginHorizontal="16dp"
|
|
android:layout_marginTop="16dp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/podcast_channel_description_text_view" />
|
|
|
|
<TextView
|
|
android:id="@+id/podcast_episodes_section_label"
|
|
style="@style/TitleLarge"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="8dp"
|
|
android:paddingBottom="12dp"
|
|
android:text="@string/podcast_channel_page_title_episode_section"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/upper_button_divider" />
|
|
|
|
<Button
|
|
android:id="@+id/podcast_episodes_filter_image_view"
|
|
style="@style/Widget.Material3.Button.TonalButton.Icon"
|
|
android:layout_width="52dp"
|
|
android:layout_height="52dp"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:insetLeft="0dp"
|
|
android:insetTop="0dp"
|
|
android:insetRight="0dp"
|
|
android:insetBottom="0dp"
|
|
app:cornerRadius="30dp"
|
|
app:icon="@drawable/ic_filter_list"
|
|
app:layout_constraintBottom_toBottomOf="@+id/podcast_episodes_section_label"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="@+id/podcast_episodes_section_label" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/podcast_episodes_recycler_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipToPadding="false"
|
|
android:paddingTop="16dp"
|
|
android:paddingBottom="@dimen/global_padding_bottom"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
</LinearLayout> |