* Convert MediaFragment to use new UiState * Convert PersonDetailFragment to use new UiState * Load PersonDetail data on start * Convert FavoriteFragment to use new UiState * Convert SeasonFragment to use new UiState * Convert SearchResultFragment to use new UiState * Convert EpisodeBottomSheetFragment to use new UiState (WIP) * Convert EpisodeBottomSheetFragment to use new UiState (Part 2) * Convert LibraryFragment to use new UiState * Convert DownloadFragment to use new UiState * Convert HomeFragment to use new UiState * Convert MediaInfoFragment to use new UiState (WIP) * Convert MediaInfoViewModel to use new UiState (Part 2) * Convert ServerSelectViewModel to use new UiState (Semi) * Fix MediaInfoFragment for downloaded movies
46 lines
No EOL
1.9 KiB
XML
46 lines
No EOL
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.google.android.material.progressindicator.LinearProgressIndicator
|
|
android:id="@+id/loading_indicator"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:indeterminate="true"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<include
|
|
android:id="@+id/error_layout"
|
|
layout="@layout/error_panel" />
|
|
|
|
<TextView
|
|
android:id="@+id/no_search_results_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/no_search_results"
|
|
android:visibility="gone"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/search_results_recycler_view"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:clipToPadding="false"
|
|
android:paddingTop="16dp"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:itemCount="4"
|
|
tools:listitem="@layout/favorite_section" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |