* Split app into core and app:phone * Use global versionCode and versionName * Clean up gradle dependencies * Use string formatting inside getString function * Move proguard file to app:phone * Move app_navigation and BasePlayerActivity to app:phone * Add buildTypes to core gradle and remove buildFeatures * Add suffix core to core namespace * Split code into 4 more modules: data, preferences, player:core and player:video * Clean up some gradle files * Clean up data gradle * Remove duplicate Constants.kt * Use AppPreferences in more places * Split off strings * Remove unused animations * Make about_libraries strings non-translatable * Move mpv assets to player:video module * Make AppPreferences a Singleton
55 lines
No EOL
2.1 KiB
XML
55 lines
No EOL
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout 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">
|
|
|
|
<data>
|
|
|
|
<variable
|
|
name="view"
|
|
type="dev.jdtech.jellyfin.models.View" />
|
|
</data>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="12dp">
|
|
|
|
<TextView
|
|
android:id="@+id/view_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="24dp"
|
|
android:textAppearance="@style/TextAppearance.Material3.TitleMedium"
|
|
android:textSize="18sp"
|
|
app:layout_constraintBaseline_toBaselineOf="@id/view_all"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
tools:text="Movies" />
|
|
|
|
<Button
|
|
android:id="@+id/view_all"
|
|
style="@style/Widget.Material3.Button.TextButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="24dp"
|
|
android:text="@string/view_all"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/items_recycler_view"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:clipToPadding="false"
|
|
android:orientation="horizontal"
|
|
android:paddingHorizontal="12dp"
|
|
app:items="@{view.items}"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/view_name"
|
|
tools:listitem="@layout/base_item" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</layout> |