#32 and #33 Began working on writing functionality for the SongViewActivity as implementing the UI

This commit is contained in:
amazing-username
2019-03-13 23:00:36 -04:00
committed by amazing-username
parent 8371f60d4e
commit 01e7f3869a
14 changed files with 298 additions and 79 deletions
+8 -1
View File
@@ -21,12 +21,19 @@
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="324dp"
android:layout_width="170dp"
android:layout_height="?attr/actionBarSize"
android:background="@color/color_background"
android:baselineAligned="false"
app:popupTheme="@style/AppTheme.PopupOverlay" />
<ImageButton
android:id="@+id/SongView"
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_weight="1"
tools:srcCompat="@tools:sample/backgrounds/scenic[6]" />
<ImageButton
android:id="@+id/SettingsLink"
android:layout_width="0dp"
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout 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"
android:fitsSystemWindows="true"
tools:context=".activities.SongViewActivity">
<android.support.design.widget.AppBarLayout
android:id="@+id/app_bar"
android:layout_width="match_parent"
android:layout_height="@dimen/app_bar_height"
android:fitsSystemWindows="true"
android:theme="@style/AppTheme.AppBarOverlay">
<android.support.design.widget.CollapsingToolbarLayout
android:id="@+id/toolbar_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
app:contentScrim="?attr/colorPrimary"
app:layout_scrollFlags="scroll|exitUntilCollapsed"
app:toolbarId="@+id/toolbar">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:layout_collapseMode="pin"
app:popupTheme="@style/AppTheme.PopupOverlay" />
</android.support.design.widget.CollapsingToolbarLayout>
</android.support.design.widget.AppBarLayout>
<include layout="@layout/content_song_view" />
</android.support.design.widget.CoordinatorLayout>
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.NestedScrollView 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"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context=".activities.SongViewActivity"
tools:showIn="@layout/activity_song_view">
<LinearLayout
android:id="@+id/SongViewList"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
</LinearLayout>
</android.support.v4.widget.NestedScrollView>