Created
June 17, 2020 14:02
-
-
Save AhmedBadrSayed/5a118ad92446aa8fe7f33151ac96564e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<androidx.constraintlayout.widget.ConstraintLayout 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=".MainActivity" | |
tools:showIn="@layout/activity_main"> | |
<LinearLayout | |
android:id="@+id/controllers" | |
android:orientation="vertical" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
app:layout_constraintTop_toTopOf="parent" | |
app:layout_constraintBottom_toBottomOf="parent"> | |
<TextView | |
android:id="@+id/track_title" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_gravity="center_horizontal" | |
android:textSize="10pt" | |
android:textColor="@color/colorPrimary" | |
android:layout_marginBottom="10dp"/> | |
<ProgressBar | |
android:id="@+id/progressBar1" | |
style="?android:attr/progressBarStyleLarge" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_gravity="center_horizontal" | |
android:layout_marginBottom="20dp" | |
android:visibility="gone"/> | |
<RelativeLayout | |
android:layout_width="match_parent" | |
android:layout_height="48dp"> | |
<TextView | |
android:id="@+id/startText" | |
android:layout_width="wrap_content" | |
android:layout_height="fill_parent" | |
android:layout_marginStart="10dp" | |
android:layout_alignParentStart="true" | |
android:gravity="center_vertical" | |
android:maxLines="1" | |
android:textColor="@android:color/black" /> | |
<androidx.appcompat.widget.AppCompatSeekBar | |
android:id="@+id/seekBar1" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:layout_centerVertical="true" | |
android:layout_gravity="center" | |
android:layout_marginLeft="5dp" | |
android:layout_marginRight="5dp" | |
android:layout_toStartOf="@+id/endText" | |
android:layout_toEndOf="@+id/startText" /> | |
<TextView | |
android:id="@+id/endText" | |
android:layout_width="wrap_content" | |
android:layout_height="fill_parent" | |
android:layout_marginEnd="10dp" | |
android:layout_alignParentEnd="true" | |
android:gravity="center_vertical" | |
android:layout_alignWithParentIfMissing="true" | |
android:maxLines="1" | |
android:textColor="@android:color/black" /> | |
</RelativeLayout> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="48dp"> | |
<ImageView | |
android:id="@+id/prev" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:layout_weight="1" | |
android:background="?selectableItemBackgroundBorderless" | |
android:src="@drawable/ic_skip_previous_black_24dp" /> | |
<ImageView | |
android:id="@+id/play_pause" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:layout_weight="2" | |
android:background="?selectableItemBackgroundBorderless" | |
android:src="@drawable/ic_play_arrow_black_24dp" /> | |
<ImageView | |
android:id="@+id/next" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:layout_weight="1" | |
android:background="?selectableItemBackgroundBorderless" | |
android:src="@drawable/ic_skip_next_black_24dp" /> | |
</LinearLayout> | |
</LinearLayout> | |
</androidx.constraintlayout.widget.ConstraintLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment