Switch
This commit is contained in:
commit
00535c3c8d
43 files changed
+854
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user