| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,121 @@ |
| 1 |
+<?xml version="1.0" encoding="utf-8"?><!-- |
|
| 2 |
+ ~ Copyright (c) 2023 Samson Achiaga |
|
| 3 |
+ ~ |
|
| 4 |
+ ~ Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 5 |
+ ~ you may not use this file except in compliance with the License. |
|
| 6 |
+ ~ You may obtain a copy of the License at |
|
| 7 |
+ ~ |
|
| 8 |
+ ~ http://www.apache.org/licenses/LICENSE-2.0 |
|
| 9 |
+ ~ |
|
| 10 |
+ ~ Unless required by applicable law or agreed to in writing, software |
|
| 11 |
+ ~ distributed under the License is distributed on an "AS IS" BASIS, |
|
| 12 |
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 13 |
+ ~ See the License for the specific language governing permissions and |
|
| 14 |
+ ~ limitations under the License. |
|
| 15 |
+ --> |
|
| 16 |
+ |
|
| 17 |
+<layout xmlns:tools="http://schemas.android.com/tools" |
|
| 18 |
+ xmlns:android="http://schemas.android.com/apk/res/android" |
|
| 19 |
+ xmlns:app="http://schemas.android.com/apk/res-auto"> |
|
| 20 |
+ |
|
| 21 |
+ <androidx.constraintlayout.widget.ConstraintLayout |
|
| 22 |
+ android:id="@+id/bottom_sheet_dialog" |
|
| 23 |
+ android:layout_width="match_parent" |
|
| 24 |
+ android:layout_height="wrap_content" |
|
| 25 |
+ android:background="@color/other_fragment_background" |
|
| 26 |
+ android:backgroundTint="#27FFFFFF" |
|
| 27 |
+ android:backgroundTintMode="screen" |
|
| 28 |
+ app:behavior_hideable="true" |
|
| 29 |
+ app:behavior_peekHeight="@dimen/_32sdp" |
|
| 30 |
+ app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"> |
|
| 31 |
+ |
|
| 32 |
+ <androidx.appcompat.widget.LinearLayoutCompat |
|
| 33 |
+ android:id="@+id/linearLayoutCompat" |
|
| 34 |
+ android:layout_width="0dp" |
|
| 35 |
+ android:layout_height="wrap_content" |
|
| 36 |
+ android:background="@color/other_fragment_background" |
|
| 37 |
+ android:orientation="horizontal" |
|
| 38 |
+ android:paddingStart="@dimen/_16sdp" |
|
| 39 |
+ android:paddingTop="@dimen/_8sdp" |
|
| 40 |
+ android:paddingEnd="@dimen/_16sdp" |
|
| 41 |
+ android:paddingBottom="@dimen/_8sdp" |
|
| 42 |
+ app:layout_constraintEnd_toEndOf="parent" |
|
| 43 |
+ app:layout_constraintStart_toStartOf="parent" |
|
| 44 |
+ app:layout_constraintTop_toTopOf="parent"> |
|
| 45 |
+ |
|
| 46 |
+ <androidx.appcompat.widget.AppCompatImageView |
|
| 47 |
+ android:layout_width="wrap_content" |
|
| 48 |
+ android:layout_height="wrap_content" |
|
| 49 |
+ android:tint="@color/black_day_white_night" |
|
| 50 |
+ app:srcCompat="@drawable/ic_mic_black_24dp" /> |
|
| 51 |
+ |
|
| 52 |
+ <com.google.android.material.textview.MaterialTextView |
|
| 53 |
+ android:layout_width="wrap_content" |
|
| 54 |
+ android:layout_height="wrap_content" |
|
| 55 |
+ android:layout_marginStart="@dimen/_16sdp" |
|
| 56 |
+ android:layout_weight="3" |
|
| 57 |
+ android:text="@string/record_player" |
|
| 58 |
+ android:textColor="@color/black_day_white_night" |
|
| 59 |
+ android:textSize="@dimen/_16ssp" |
|
| 60 |
+ android:fontFamily="@font/open_sans_bold"/> |
|
| 61 |
+ |
|
| 62 |
+ <com.google.android.material.textview.MaterialTextView |
|
| 63 |
+ android:id="@+id/tv_now_playing" |
|
| 64 |
+ android:layout_width="wrap_content" |
|
| 65 |
+ android:layout_height="wrap_content" |
|
| 66 |
+ android:layout_weight="3" |
|
| 67 |
+ android:text="@string/now_playing" |
|
| 68 |
+ android:textSize="@dimen/_12ssp" |
|
| 69 |
+ android:textColor="@color/black_day_white_night" |
|
| 70 |
+ android:fontFamily="@font/open_sans_regular" |
|
| 71 |
+ android:textAlignment="textEnd" /> |
|
| 72 |
+ |
|
| 73 |
+ </androidx.appcompat.widget.LinearLayoutCompat> |
|
| 74 |
+ |
|
| 75 |
+ <com.google.android.material.textview.MaterialTextView |
|
| 76 |
+ android:id="@+id/tv_note_title" |
|
| 77 |
+ android:layout_width="0dp" |
|
| 78 |
+ android:layout_height="wrap_content" |
|
| 79 |
+ android:layout_marginTop="@dimen/_20sdp" |
|
| 80 |
+ android:ellipsize="end" |
|
| 81 |
+ android:maxLines="1" |
|
| 82 |
+ android:textAlignment="center" |
|
| 83 |
+ android:textSize="@dimen/_16ssp" |
|
| 84 |
+ android:textColor="@color/black_day_white_night" |
|
| 85 |
+ android:fontFamily="@font/open_sans_semi_bold" |
|
| 86 |
+ app:layout_constraintEnd_toEndOf="parent" |
|
| 87 |
+ app:layout_constraintStart_toStartOf="parent" |
|
| 88 |
+ app:layout_constraintTop_toBottomOf="@+id/linearLayoutCompat" |
|
| 89 |
+ tools:text="CPE 407 - Lecture 1" /> |
|
| 90 |
+ |
|
| 91 |
+ <androidx.appcompat.widget.AppCompatImageButton |
|
| 92 |
+ android:id="@+id/btn_play" |
|
| 93 |
+ android:layout_width="wrap_content" |
|
| 94 |
+ android:layout_height="wrap_content" |
|
| 95 |
+ android:layout_marginTop="@dimen/_8sdp" |
|
| 96 |
+ android:background="@null" |
|
| 97 |
+ android:src="@drawable/ic_play_arrow_black_24dp" |
|
| 98 |
+ android:tint="@color/black_day_white_night" |
|
| 99 |
+ app:layout_constraintEnd_toEndOf="parent" |
|
| 100 |
+ app:layout_constraintStart_toStartOf="parent" |
|
| 101 |
+ app:layout_constraintTop_toBottomOf="@+id/tv_note_title" /> |
|
| 102 |
+ |
|
| 103 |
+ <SeekBar |
|
| 104 |
+ android:id="@+id/seekbar" |
|
| 105 |
+ style="@android:style/Widget.Material.SeekBar" |
|
| 106 |
+ android:layout_width="0dp" |
|
| 107 |
+ android:layout_height="wrap_content" |
|
| 108 |
+ android:layout_marginStart="@dimen/_16sdp" |
|
| 109 |
+ android:layout_marginTop="@dimen/_8sdp" |
|
| 110 |
+ android:layout_marginEnd="@dimen/_16sdp" |
|
| 111 |
+ android:layout_marginBottom="@dimen/_8sdp" |
|
| 112 |
+ android:progress="42" |
|
| 113 |
+ android:progressTint="@color/black_day_white_night" |
|
| 114 |
+ android:thumbTint="@color/black_day_white_night" |
|
| 115 |
+ app:layout_constraintBottom_toBottomOf="parent" |
|
| 116 |
+ app:layout_constraintEnd_toEndOf="parent" |
|
| 117 |
+ app:layout_constraintStart_toStartOf="parent" |
|
| 118 |
+ app:layout_constraintTop_toBottomOf="@+id/btn_play" /> |
|
| 119 |
+ |
|
| 120 |
+ </androidx.constraintlayout.widget.ConstraintLayout> |
|
| 121 |
+</layout> |
|
| 0 | 122 |
\ No newline at end of file |