Showing
12 changed files
with
13 additions
and
3 deletions
... | @@ -12,9 +12,9 @@ class ViewPagerAdapter(private val context : Context) : PagerAdapter() { | ... | @@ -12,9 +12,9 @@ class ViewPagerAdapter(private val context : Context) : PagerAdapter() { |
12 | 12 | ||
13 | private var layoutInflater : LayoutInflater? = null | 13 | private var layoutInflater : LayoutInflater? = null |
14 | val Image = arrayOf( | 14 | val Image = arrayOf( |
15 | - R.drawable.image01, | 15 | + R.drawable.event1, |
16 | - R.drawable.image02, | 16 | + R.drawable.event2, |
17 | - R.drawable.image03 | 17 | + R.drawable.image01 |
18 | ) | 18 | ) |
19 | 19 | ||
20 | 20 | ... | ... |
vip/app/src/main/res/drawable-v24/event1.png
0 → 100644

31.7 KB
vip/app/src/main/res/drawable-v24/event2.png
0 → 100644

60.2 KB

7.94 KB

12.2 KB

5.86 KB

10.4 KB

13 KB

11.4 KB
vip/app/src/main/res/drawable/gradation.xml
0 → 100644
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<shape xmlns:android="http://schemas.android.com/apk/res/android"> | ||
3 | + <gradient | ||
4 | + android:startColor="#00000000" | ||
5 | + android:centerColor="#00000000" | ||
6 | + android:endColor="#26000000" | ||
7 | + android:angle="270"/> | ||
8 | + <!--android:centerY="0.95"--> | ||
9 | +</shape> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
This diff is collapsed. Click to expand it.
... | @@ -10,5 +10,6 @@ | ... | @@ -10,5 +10,6 @@ |
10 | android:layout_width="match_parent" | 10 | android:layout_width="match_parent" |
11 | android:layout_height="wrap_content" | 11 | android:layout_height="wrap_content" |
12 | android:layout_weight="1" | 12 | android:layout_weight="1" |
13 | + android:foreground="@drawable/gradation" | ||
13 | tools:srcCompat="@tools:sample/avatars" /> | 14 | tools:srcCompat="@tools:sample/avatars" /> |
14 | </LinearLayout> | 15 | </LinearLayout> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment