RetroMusicPlayer/app/src/main/res/layout/fragment_home.xml

92 lines
4.1 KiB
XML
Raw Normal View History

2019-09-28 23:22:49 +05:30
<?xml version="1.0" encoding="utf-8"?><!--
2019-08-05 23:14:05 +05:30
~ Copyright (c) 2019 Hemanth Savarala.
~
~ Licensed under the GNU General Public License v3
~
~ This is free software: you can redistribute it and/or modify it under
~ the terms of the GNU General Public License as published by
~ the Free Software Foundation either version 3 of the License, or (at your option) any later version.
~
~ This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
~ without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU General Public License for more details.
-->
2020-09-25 23:08:59 +05:30
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
2018-08-05 22:05:09 +05:30
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
2018-08-01 12:21:27 +05:30
android:layout_width="match_parent"
android:layout_height="match_parent"
2021-11-11 20:59:28 +05:30
android:fitsSystemWindows="true">
2018-07-27 18:37:33 +05:30
2020-09-25 23:08:59 +05:30
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/appBarLayout"
2018-11-13 09:00:08 +05:30
android:layout_width="match_parent"
2020-09-25 23:08:59 +05:30
android:layout_height="wrap_content"
2021-09-16 18:29:31 +05:30
android:fitsSystemWindows="true"
app:liftOnScroll="true">
2018-11-13 09:00:08 +05:30
2020-09-25 23:08:59 +05:30
<FrameLayout
android:layout_width="match_parent"
2018-11-23 22:00:46 +05:30
android:layout_height="wrap_content"
2020-09-25 23:08:59 +05:30
app:layout_scrollFlags="scroll|enterAlways">
2018-11-05 19:23:07 +05:30
2020-09-25 23:08:59 +05:30
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:navigationIcon="@drawable/ic_search"
app:popupTheme="?attr/toolbarPopupTheme"
app:title="@null"
tools:ignore="UnusedAttribute">
2018-08-30 14:59:30 +05:30
2020-09-25 23:08:59 +05:30
<com.google.android.material.textview.MaterialTextView
android:id="@+id/appNameText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:textAppearance="@style/TextViewHeadline6"
android:textStyle="bold" />
</androidx.appcompat.widget.Toolbar>
<ViewStub
android:id="@+id/cab_stub"
android:layout_width="match_parent"
android:layout_height="@dimen/toolbar_height" />
</FrameLayout>
</com.google.android.material.appbar.AppBarLayout>
<androidx.core.widget.NestedScrollView
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:descendantFocusability="beforeDescendants"
android:focusableInTouchMode="true"
android:overScrollMode="@integer/overScrollMode"
2020-09-25 23:08:59 +05:30
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/contentContainer"
2020-09-25 23:08:59 +05:30
android:layout_width="match_parent"
2021-11-11 20:59:28 +05:30
android:layout_height="wrap_content"
android:transitionGroup="true">
2020-09-25 23:08:59 +05:30
2022-01-15 11:45:36 +05:30
<code.name.monkey.retromusic.views.HomeImageLayout
android:id="@+id/imageLayout"
android:layout_width="0dp"
2020-09-25 23:08:59 +05:30
android:layout_height="wrap_content"
2022-01-15 11:45:36 +05:30
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
2020-09-25 23:08:59 +05:30
<include
android:id="@+id/home_content"
2020-09-25 23:08:59 +05:30
layout="@layout/home_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
2022-01-15 11:45:36 +05:30
app:layout_constraintTop_toBottomOf="@id/imageLayout" />
</androidx.constraintlayout.widget.ConstraintLayout>
2019-12-05 23:48:54 +05:30
2020-09-25 23:08:59 +05:30
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>