* 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
40 lines
1.6 KiB
XML
40 lines
1.6 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"
|
|
tools:context=".fragments.LibraryFragment">
|
|
|
|
<include
|
|
android:id="@+id/error_layout"
|
|
layout="@layout/error_panel" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/items_recycler_view"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:clipToPadding="false"
|
|
android:paddingHorizontal="12dp"
|
|
android:paddingTop="16dp"
|
|
android:scrollbars="none"
|
|
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:spanCount="@integer/library_columns"
|
|
tools:itemCount="6"
|
|
tools:listitem="@layout/base_item" />
|
|
|
|
<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" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|