PlayerAndroid/app/src/main/res/layout/activity_pro_version.xml

200 lines
8.9 KiB
XML
Raw Normal View History

2018-07-27 13:07:33 +00:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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"
android:orientation="vertical"
tools:ignore="UnusedAttribute">
<FrameLayout
android:id="@+id/status_bar_container"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<include layout="@layout/status_bar" />
</FrameLayout>
2018-08-30 09:29:30 +00:00
<androidx.coordinatorlayout.widget.CoordinatorLayout
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="match_parent"
2018-08-22 17:54:07 +00:00
android:layout_below="@+id/status_bar_container"
android:layout_alignParentStart="true">
2018-07-27 13:07:33 +00:00
2018-08-30 09:29:30 +00:00
<com.google.android.material.appbar.AppBarLayout
2018-12-06 10:23:03 +00:00
android:id="@+id/appBarLayout"
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-12-01 15:27:01 +00:00
android:background="@android:color/transparent"
2018-07-27 13:07:33 +00:00
android:elevation="0dp"
app:elevation="0dp">
2018-08-30 09:29:30 +00:00
<com.google.android.material.appbar.CollapsingToolbarLayout
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
2018-08-22 17:54:07 +00:00
android:layout_height="wrap_content"
app:layout_scrollFlags="scroll|enterAlways"
app:titleEnabled="false">
2018-07-27 13:07:33 +00:00
2019-09-28 17:52:49 +00:00
<com.google.android.material.appbar.MaterialToolbar
2018-08-30 09:29:30 +00:00
android:id="@+id/toolbar"
2018-12-04 15:34:26 +00:00
style="@style/Toolbar"
2018-08-30 09:29:30 +00:00
app:layout_collapseMode="pin"
2019-10-29 17:49:31 +00:00
app:title="@string/retro_music_pro"
app:titleTextAppearance="@style/ToolbarTextAppearanceNormal"
2019-05-20 19:38:43 +00:00
tools:ignore="UnusedAttribute" />
2018-07-27 13:07:33 +00:00
2018-08-30 09:29:30 +00:00
</com.google.android.material.appbar.CollapsingToolbarLayout>
</com.google.android.material.appbar.AppBarLayout>
2018-07-27 13:07:33 +00:00
2019-01-28 10:45:51 +00:00
<RelativeLayout
2018-07-27 13:07:33 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-11-12 17:32:30 +00:00
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior">
2018-07-27 13:07:33 +00:00
2019-09-28 17:52:49 +00:00
<com.google.android.material.card.MaterialCardView
2019-01-28 10:45:51 +00:00
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-10-29 17:49:31 +00:00
android:layout_margin="4dp"
app:cardCornerRadius="8dp"
app:cardElevation="0dp"
app:cardUseCompatPadding="true"
app:strokeWidth="1.5dp">
2018-07-27 13:07:33 +00:00
2019-01-28 10:45:51 +00:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-09-28 17:52:49 +00:00
android:orientation="vertical">
2018-07-27 13:07:33 +00:00
2019-09-28 17:52:49 +00:00
<LinearLayout
2019-01-28 10:45:51 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-09-28 17:52:49 +00:00
android:gravity="center_vertical"
android:orientation="horizontal">
2019-01-28 10:45:51 +00:00
2019-09-28 17:52:49 +00:00
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
app:srcCompat="@drawable/ic_theme_palette_white_24dp"
app:tint="?colorOnSurface" />
2019-01-28 10:45:51 +00:00
2019-09-28 17:52:49 +00:00
<com.google.android.material.textview.MaterialTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
android:text="@string/now_playing_themes"
android:textAppearance="@style/TextViewSubtitle1" />
</LinearLayout>
2019-01-28 10:45:51 +00:00
2019-09-28 17:52:49 +00:00
<LinearLayout
android:layout_width="match_parent"
2019-01-28 10:45:51 +00:00
android:layout_height="wrap_content"
2019-09-28 17:52:49 +00:00
android:gravity="center_vertical"
android:orientation="horizontal">
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
app:srcCompat="@drawable/ic_view_carousel_black_24dp"
app:tint="?colorOnSurface" />
<com.google.android.material.textview.MaterialTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
android:text="@string/carousal_effect_on_now_playing_screen"
android:textAppearance="@style/TextViewSubtitle1" />
</LinearLayout>
<LinearLayout
2019-01-28 10:45:51 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-09-28 17:52:49 +00:00
android:gravity="center_vertical"
android:orientation="horizontal">
2019-01-28 10:45:51 +00:00
2019-09-28 17:52:49 +00:00
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
app:srcCompat="@drawable/ic_rounded_corner"
app:tint="?colorOnSurface" />
2019-01-28 10:45:51 +00:00
2019-09-28 17:52:49 +00:00
<com.google.android.material.textview.MaterialTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
android:text="@string/window_corner_edges"
android:textAppearance="@style/TextViewSubtitle1" />
</LinearLayout>
<LinearLayout
2019-01-28 10:45:51 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-09-28 17:52:49 +00:00
android:gravity="center_vertical"
android:orientation="horizontal">
2019-01-28 10:45:51 +00:00
2019-09-28 17:52:49 +00:00
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="16dp"
app:srcCompat="@drawable/ic_favorite_white_24dp"
app:tint="?colorOnSurface" />
2019-01-28 10:45:51 +00:00
2019-09-28 17:52:49 +00:00
<com.google.android.material.textview.MaterialTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp"
android:text="@string/support_development"
android:textAppearance="@style/TextViewSubtitle1" />
</LinearLayout>
2019-01-28 10:45:51 +00:00
</LinearLayout>
2019-09-28 17:52:49 +00:00
</com.google.android.material.card.MaterialCardView>
2019-01-28 10:45:51 +00:00
<LinearLayout
android:id="@+id/actions"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/content"
android:orientation="horizontal">
<com.google.android.material.button.MaterialButton
android:id="@+id/restoreButton"
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:layout_weight="1"
android:paddingTop="14dp"
android:paddingBottom="14dp"
android:text="@string/restore"
android:textAllCaps="false"
2019-09-28 17:52:49 +00:00
android:textColor="?colorOnBackground"
2019-01-28 10:45:51 +00:00
app:strokeWidth="2dp" />
<com.google.android.material.button.MaterialButton
android:id="@+id/purchaseButton"
style="@style/Widget.MaterialComponents.Button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:layout_weight="1"
android:paddingTop="14dp"
android:paddingBottom="14dp"
android:text="@string/purchase"
android:textAllCaps="false" />
</LinearLayout>
</RelativeLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
2018-07-27 13:07:33 +00:00
</RelativeLayout>