2018-07-27 13:07:33 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-07-27 13:58:24 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:id="@+id/root"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical">
|
2018-07-27 13:07:33 +00:00
|
|
|
|
2018-08-01 06:51:27 +00:00
|
|
|
<code.name.monkey.retromusic.views.IconImageView
|
|
|
|
android:id="@+id/back"
|
2018-07-27 13:58:24 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-08-01 06:51:27 +00:00
|
|
|
android:layout_weight="0"
|
|
|
|
android:padding="12dp"
|
|
|
|
android:src="@drawable/ic_keyboard_backspace_black_24dp"/>
|
2018-07-27 13:58:24 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-08-01 06:51:27 +00:00
|
|
|
android:layout_weight="1"
|
2018-07-27 13:58:24 +00:00
|
|
|
android:paddingStart="12dp"
|
|
|
|
android:paddingEnd="0dp"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2018-08-01 06:51:27 +00:00
|
|
|
<code.name.monkey.appthemehelper.common.views.ATEPrimaryTextView
|
2018-07-27 13:58:24 +00:00
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
2018-08-01 06:51:27 +00:00
|
|
|
android:maxLines="1"
|
2018-07-27 13:58:24 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"/>
|
|
|
|
|
2018-08-01 06:51:27 +00:00
|
|
|
<code.name.monkey.appthemehelper.common.views.ATESecondaryTextView
|
2018-07-27 13:58:24 +00:00
|
|
|
android:id="@+id/text"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
2018-08-01 06:51:27 +00:00
|
|
|
android:maxLines="1"
|
2018-07-27 13:58:24 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1"/>
|
|
|
|
</LinearLayout>
|
2018-08-01 06:51:27 +00:00
|
|
|
|
|
|
|
<code.name.monkey.retromusic.views.IconImageView
|
|
|
|
android:id="@+id/edit_lyrics"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:padding="12dp"
|
|
|
|
android:background="?roundSelector"
|
|
|
|
app:srcCompat="@drawable/ic_edit_white_24dp"/>
|
2018-07-27 13:58:24 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
2018-08-01 06:51:27 +00:00
|
|
|
<RadioGroup
|
|
|
|
android:id="@+id/actions"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0"
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
android:paddingEnd="12dp"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<RadioButton
|
2018-08-01 06:51:27 +00:00
|
|
|
android:id="@+id/synced_lyrics"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_margin="4dp"
|
|
|
|
android:padding="8dp"
|
|
|
|
android:background="@drawable/toggle_outline_buttons"
|
|
|
|
android:button="@null"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/synced_lyrics"
|
|
|
|
android:textAppearance="@style/Base.TextAppearance.AppCompat.Caption"/>
|
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<RadioButton
|
2018-08-01 06:51:27 +00:00
|
|
|
android:id="@+id/normal_lyrics"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_margin="4dp"
|
|
|
|
android:padding="8dp"
|
|
|
|
android:background="@drawable/toggle_outline_buttons"
|
|
|
|
android:button="@null"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/normal_lyrics"
|
|
|
|
android:textAppearance="@style/Base.TextAppearance.AppCompat.Caption"/>
|
|
|
|
|
|
|
|
</RadioGroup>
|
|
|
|
|
2018-08-30 09:29:30 +00:00
|
|
|
<androidx.cardview.widget.CardView
|
2018-07-27 13:58:24 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2018-08-01 06:51:27 +00:00
|
|
|
android:layout_weight="1"
|
2018-07-27 13:58:24 +00:00
|
|
|
app:cardCornerRadius="8dp"
|
|
|
|
app:cardElevation="8dp"
|
|
|
|
app:cardUseCompatPadding="true">
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/gradient_background"
|
|
|
|
android:layout_width="match_parent"
|
2018-08-01 06:51:27 +00:00
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/image"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:tint="#80000000"
|
|
|
|
android:scaleType="centerCrop"/>
|
2018-07-27 13:58:24 +00:00
|
|
|
|
|
|
|
<ScrollView
|
2018-07-27 13:07:33 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2018-07-27 13:58:24 +00:00
|
|
|
android:padding="16dp">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/offline_lyrics"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="start"
|
|
|
|
android:lineSpacingExtra="3dp"
|
|
|
|
android:text="@string/no_lyrics_found"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
android:textColor="@color/md_white_1000"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
</ScrollView>
|
|
|
|
|
2018-08-01 06:51:27 +00:00
|
|
|
<code.name.monkey.retromusic.views.LyricView
|
|
|
|
android:id="@+id/lyrics_view"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:fadeInFadeOut="true"
|
|
|
|
app:highlightColor="@color/md_white_1000"
|
|
|
|
app:hint="No Lyrics"
|
|
|
|
app:hintColor="@color/md_grey_400"
|
|
|
|
app:lineSpace="15dp"
|
|
|
|
app:textAlign="left"
|
|
|
|
app:textSize="18sp"/>
|
2018-07-27 13:58:24 +00:00
|
|
|
</FrameLayout>
|
2018-08-30 09:29:30 +00:00
|
|
|
</androidx.cardview.widget.CardView>
|
2018-07-27 13:07:33 +00:00
|
|
|
</LinearLayout>
|