[android] Fixed subs screen

This commit is contained in:
Dmitry Donskoy 2020-04-02 16:29:16 +03:00 committed by Vladimir Byko-Ianko
parent 5bfc5e5306
commit ca1fce567f
22 changed files with 19 additions and 9 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 495 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 523 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 592 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 372 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 280 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 827 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 MiB

View file

@ -0,0 +1,9 @@
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="90"
android:endColor="#00000000"
android:startColor="#000000"
android:type="linear" />
</shape>

View file

@ -10,19 +10,19 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/img_bonfire" />
android:src="@drawable/all_pass_premium_61" />
<ImageView
android:id="@+id/img2"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/img_camping" />
android:src="@drawable/all_pass_premium_62" />
<ImageView
android:id="@+id/img3"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/img_winter" />
android:src="@drawable/all_pass_premium_60" />
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"

View file

@ -19,6 +19,7 @@
android:gravity="center|top|start"
android:ellipsize="end"
android:maxLines="@integer/bookmark_all_subs_pager_text_max_lines"
android:textStyle="bold"
android:fontFamily="@string/robotoMedium"
android:includeFontPadding="false"
android:letterSpacing="0"
@ -40,7 +41,7 @@
android:gravity="center|start"
android:maxLines="@integer/bookmark_all_subs_pager_text_max_lines"
android:ellipsize="end"
android:fontFamily="@string/robotoRegular"
android:fontFamily="@string/robotoLight"
android:textColor="@color/white_primary"
android:textSize="@dimen/text_size_body_0"
android:text="@{page.descriptionId}"

View file

@ -10,21 +10,21 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/img_bonfire" />
android:src="@drawable/all_pass_premium_61" />
<ImageView
android:id="@+id/img2"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/img_camping" />
android:src="@drawable/all_pass_premium_62" />
<ImageView
android:id="@+id/img3"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/img_winter" />
android:src="@drawable/all_pass_premium_60" />
<FrameLayout
android:background="@color/black_50"
android:background="@drawable/all_pass_overlay"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<androidx.core.widget.NestedScrollView
@ -58,7 +58,7 @@
android:layout_marginEnd="@dimen/margin_base_plus_quarter"
android:fontFamily="@string/robotoMedium"
android:gravity="center|start"
android:text="@string/all_pass_subscription_header"
android:text="@string/subscription"
android:textColor="@color/black_primary"
android:textSize="@dimen/text_size_button" />
<TextView