
Change some naming/structure somewhat, and move all TODOs from AuxioTODO to the project itself.
44 lines
No EOL
1.8 KiB
XML
44 lines
No EOL
1.8 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"
|
|
tools:context=".MainFragment">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:animateLayoutChanges="true"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.viewpager2.widget.ViewPager2
|
|
android:id="@+id/main_view_pager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1" />
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
android:id="@+id/compact_playback"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:name="org.oxycblt.auxio.playback.CompactPlaybackFragment"
|
|
android:elevation="@dimen/elevation_normal" />
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
android:id="@+id/main_tabs"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/tab_menu_size"
|
|
android:layout_gravity="bottom"
|
|
android:background="?android:attr/windowBackground"
|
|
android:elevation="@dimen/elevation_normal"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:tabGravity="fill"
|
|
app:tabIconTint="?android:attr/colorPrimary"
|
|
app:tabIconTintMode="src_in"
|
|
app:tabIndicator="@drawable/indicator"
|
|
app:tabIndicatorColor="?android:attr/colorPrimary"
|
|
app:tabMode="fixed"
|
|
app:tabRippleColor="@color/selection_color"
|
|
tools:background="@color/control_color" />
|
|
|
|
</LinearLayout>
|
|
</layout> |