[android] Added LP page on all pass subscriotion screen

This commit is contained in:
alexzatsepin 2020-10-22 12:49:24 +03:00 committed by Alexander Boriskov
parent ffc96cb43c
commit 4485c39529
5 changed files with 20 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

View file

@ -10,18 +10,24 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/all_pass_premium_61" />
android:src="@drawable/all_pass_premium_63" />
<ImageView
android:id="@+id/img2"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/all_pass_premium_62" />
android:src="@drawable/all_pass_premium_61" />
<ImageView
android:id="@+id/img3"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/all_pass_premium_62" />
<ImageView
android:id="@+id/img4"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/all_pass_premium_60" />
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"

View file

@ -10,18 +10,24 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/all_pass_premium_61" />
android:src="@drawable/all_pass_premium_63" />
<ImageView
android:id="@+id/img2"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/all_pass_premium_62" />
android:src="@drawable/all_pass_premium_61" />
<ImageView
android:id="@+id/img3"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/all_pass_premium_62" />
<ImageView
android:id="@+id/img4"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/all_pass_premium_60" />
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"

View file

@ -88,6 +88,7 @@ public class BookmarksAllSubscriptionFragment extends AbstractBookmarkSubscripti
private static List<Integer> makeItems()
{
List<Integer> items = new ArrayList<>();
items.add(R.id.img4);
items.add(R.id.img3);
items.add(R.id.img2);
items.add(R.id.img1);

View file

@ -10,7 +10,9 @@ public enum BookmarksAllSubscriptionPage
SECOND(R.string.all_pass_subscription_message_title_3,
R.string.all_pass_subscription_message_subtitle_3),
THIRD(R.string.all_pass_subscription_message_title_2,
R.string.all_pass_subscription_message_subtitle_2);
R.string.all_pass_subscription_message_subtitle_2),
FOURTH(R.string.all_pass_subscription_message_title_4,
R.string.all_pass_subscription_message_subtitle_4);
@StringRes
private final int mTitleId;