Beginning work on #42. SettingsAdapter has not been implemented

This commit is contained in:
amazing-username committed 2019-03-28 20:51:58 -04:00
1 parent 6775cc37ac
commit 4bb4450e11
7 files changed
+131 -3

No files matched your search

@@ -4,6 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
android:background="@color/color_background"
tools:context=".activities.SettingsActivity">
@@ -21,6 +22,10 @@
</android.support.design.widget.AppBarLayout>
<include layout="@layout/content_settings" />
<include
android:id="@+id/include3"
layout="@layout/content_settings"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</android.support.design.widget.CoordinatorLayout>
@@ -8,6 +8,27 @@
tools:context=".activities.SettingsActivity"
tools:showIn="@layout/activity_settings">
<Space
android:id="@+id/space3"
android:layout_width="12dp"
android:layout_height="55dp"
android:layout_marginStart="120dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<android.support.v7.widget.RecyclerView
android:id="@+id/settingList"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:layout_marginTop="15dp"
android:layout_marginBottom="20dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/space3"
/>
<!--
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
@@ -32,4 +53,5 @@
</LinearLayout>
</FrameLayout>
-->
</android.support.constraint.ConstraintLayout>
@@ -0,0 +1,76 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_height="match_parent">
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:id="@+id/cv_settings"
android:layout_width="wrap_content"
android:layout_height="80dp"
android:layout_marginStart="8dp"
android:layout_marginTop="4dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="4dp"
card_view:cardBackgroundColor="@color/colorPrimary"
card_view:cardCornerRadius="5dp"
card_view:layout_constraintBottom_toBottomOf="parent"
card_view:layout_constraintEnd_toEndOf="parent"
card_view:layout_constraintHorizontal_bias="0.0"
card_view:layout_constraintStart_toStartOf="parent"
card_view:layout_constraintTop_toTopOf="parent"
card_view:layout_constraintVertical_bias="0.023">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"
android:orientation="vertical">
<View
android:layout_width="fill_parent"
android:layout_height="1dp"
android:layout_marginTop="10dp" />
<!--
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
-->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:orientation="vertical">
<TextView
android:id="@+id/trackTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/track_details"
android:textSize="16sp"
android:text="Test"/>
<TextView
android:id="@+id/trackArtist"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/track_details"
android:text="Test"/>
</LinearLayout>
<!-- </LinearLayout> -->
</LinearLayout>
</android.support.v7.widget.CardView>
</android.support.constraint.ConstraintLayout>