|
5 | 5 | android:layout_height="match_parent"
|
6 | 6 | android:gravity="center"
|
7 | 7 | android:orientation="vertical"
|
8 |
| - android:padding="20dp" |
| 8 | + android:padding="10dp" |
9 | 9 | tools:context=".MainActivity">
|
10 | 10 |
|
11 |
| - <TextView |
12 |
| - android:id="@+id/youtube" |
13 |
| - android:layout_width="wrap_content" |
14 |
| - android:layout_height="wrap_content" |
15 |
| - android:layout_gravity="center" |
16 |
| - android:gravity="center" |
17 |
| - android:text="https://www.youtube.com/watch?v=DjsPqBzxSG4" |
18 |
| - android:textSize="18sp" /> |
| 11 | + <LinearLayout style="@style/Item"> |
19 | 12 |
|
20 |
| - <TextView |
21 |
| - android:id="@+id/youtube_music" |
22 |
| - android:layout_width="wrap_content" |
23 |
| - android:layout_height="wrap_content" |
24 |
| - android:layout_gravity="center" |
25 |
| - android:gravity="center" |
26 |
| - android:text="https://music.youtube.com/watch?v=lFMOYjVCLUo" |
27 |
| - android:textSize="18sp" /> |
| 13 | + <androidx.appcompat.widget.AppCompatImageView |
| 14 | + style="@style/ItemIcon" |
| 15 | + android:src="@drawable/youtube" /> |
28 | 16 |
|
29 |
| - <TextView |
30 |
| - android:id="@+id/vimeo" |
31 |
| - android:layout_width="wrap_content" |
32 |
| - android:layout_height="wrap_content" |
33 |
| - android:layout_gravity="center" |
34 |
| - android:layout_marginTop="10dp" |
35 |
| - android:gravity="center" |
36 |
| - android:text="https://vimeo.com/333257472" |
37 |
| - android:textSize="18sp" /> |
| 17 | + <TextView |
| 18 | + android:id="@+id/youtube" |
| 19 | + style="@style/ItemText" |
| 20 | + android:text="https://www.youtube.com/watch?v=dQw4w9WgXcQ" /> |
38 | 21 |
|
| 22 | + </LinearLayout> |
39 | 23 |
|
40 |
| - <TextView |
41 |
| - android:id="@+id/rutube" |
42 |
| - android:layout_width="wrap_content" |
43 |
| - android:gravity="center" |
44 |
| - android:layout_height="wrap_content" |
45 |
| - android:layout_gravity="center" |
46 |
| - android:layout_marginTop="10dp" |
47 |
| - android:text="http://rutube.ru/video/ca8607cd4f7ef28516e043dde0068564/" |
48 |
| - android:textSize="18sp" /> |
| 24 | + <LinearLayout style="@style/Item"> |
49 | 25 |
|
50 |
| - <TextView |
51 |
| - android:id="@+id/text" |
52 |
| - android:layout_width="wrap_content" |
53 |
| - android:gravity="center" |
54 |
| - android:layout_height="wrap_content" |
55 |
| - android:layout_gravity="center" |
56 |
| - android:layout_marginTop="10dp" |
57 |
| - android:text="Тыць" |
58 |
| - android:textSize="18sp" /> |
| 26 | + <androidx.appcompat.widget.AppCompatImageView |
| 27 | + style="@style/ItemIcon" |
| 28 | + android:src="@drawable/youtube_music" /> |
| 29 | + |
| 30 | + <TextView |
| 31 | + android:id="@+id/youtube_music" |
| 32 | + style="@style/ItemText" |
| 33 | + android:text="https://music.youtube.com/watch?v=lFMOYjVCLUo" /> |
| 34 | + </LinearLayout> |
| 35 | + |
| 36 | + <LinearLayout style="@style/Item"> |
| 37 | + |
| 38 | + <androidx.appcompat.widget.AppCompatImageView |
| 39 | + style="@style/ItemIcon" |
| 40 | + android:src="@drawable/vimeo" /> |
| 41 | + |
| 42 | + <TextView |
| 43 | + android:id="@+id/vimeo" |
| 44 | + style="@style/ItemText" |
| 45 | + android:text="https://vimeo.com/333257472" /> |
| 46 | + </LinearLayout> |
| 47 | + |
| 48 | + <LinearLayout style="@style/Item"> |
| 49 | + |
| 50 | + <androidx.appcompat.widget.AppCompatImageView |
| 51 | + style="@style/ItemIcon" |
| 52 | + android:src="@drawable/rutube" /> |
| 53 | + |
| 54 | + <TextView |
| 55 | + android:id="@+id/rutube" |
| 56 | + style="@style/ItemText" |
| 57 | + android:text="https://rutube.ru/video/d70e62b44b8893e98e3e90a6e2c9fcd4/?pl_type=source&pl_id=18265" /> |
| 58 | + </LinearLayout> |
59 | 59 |
|
60 | 60 | <ProgressBar
|
61 | 61 | android:id="@+id/progress"
|
|
0 commit comments