This commit is contained in:
amazing-username
2019-02-28 21:46:20 -05:00
commit 00535c3c8d
43 changed files with 854 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
<?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"
tools:context=".MainActivity">
<android.support.design.widget.AppBarLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:theme="@style/AppTheme.AppBarOverlay">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:popupTheme="@style/AppTheme.PopupOverlay"/>
</android.support.design.widget.AppBarLayout>
<include layout="@layout/content_main"/>
</android.support.design.widget.CoordinatorLayout>
+76
View File
@@ -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:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:showIn="@layout/activity_main"
tools:context=".MainActivity">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent" tools:layout_editor_absoluteY="16dp"
tools:layout_editor_absoluteX="0dp">
<ImageView
tools:srcCompat="@tools:sample/backgrounds/scenic[2]"
android:id="@+id/imageView" android:layout_height="326dp"
android:layout_width="match_parent"/>
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPersonName"
android:text="Track Title"
android:ems="10"
android:id="@+id/TrackTitle"/>
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textPersonName"
android:text="Album Title"
android:ems="10"
android:id="@+id/AlbumTitle"/>
</LinearLayout>
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<Button
android:text="Shuffle"
android:layout_height="wrap_content" android:id="@+id/ShuffleTracks" android:layout_weight="1"
android:layout_width="1dp"/>
<Button
android:text="Repeat"
android:layout_height="wrap_content" android:id="@+id/RepeatList" android:layout_weight="1"
android:layout_width="1dp"/>
</LinearLayout>
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent" android:layout_height="wrap_content">
<SeekBar
android:layout_width="wrap_content"
android:id="@+id/TrackProgress" android:layout_weight="1" android:layout_height="50dp"/>
</LinearLayout>
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<Button
android:text="Previous"
android:baselineAligned="false" android:layout_height="match_parent"
android:layout_width="111dp" android:id="@+id/PreviousTrack"/>
<Button
android:text="Play"
android:id="@+id/PlayTrack" android:layout_width="135dp" android:layout_height="match_parent"/>
<Button
android:text="Next"
android:layout_height="match_parent" android:id="@+id/NextTrack" android:layout_width="162dp"/>
</LinearLayout>
</LinearLayout>
</android.support.constraint.ConstraintLayout>