|
5 | 5 | android:gravity="center" |
6 | 6 | android:orientation="vertical" |
7 | 7 | android:paddingBottom="@dimen/large_margin" |
8 | | - android:paddingLeft="@dimen/large_margin" |
9 | | - android:paddingRight="@dimen/large_margin" |
| 8 | + android:paddingEnd="@dimen/large_margin" |
| 9 | + android:paddingStart="@dimen/large_margin" |
10 | 10 | android:paddingTop="@dimen/large_margin" |
11 | 11 | tools:context="com.akexorcist.localizationapp.simpleactivity.SimpleActivity"> |
12 | 12 |
|
|
20 | 20 | android:id="@+id/btn_america" |
21 | 21 | android:layout_width="@dimen/btn_language_size" |
22 | 22 | android:layout_height="@dimen/btn_language_size" |
23 | | - android:layout_marginRight="@dimen/padding" |
| 23 | + android:layout_marginEnd="@dimen/padding" |
24 | 24 | android:background="@color/transparent" |
| 25 | + android:contentDescription="@string/america" |
25 | 26 | android:scaleType="fitCenter" |
26 | 27 | android:src="@mipmap/country_america" /> |
27 | 28 |
|
28 | 29 | <ImageButton |
29 | 30 | android:id="@+id/btn_china" |
30 | 31 | android:layout_width="@dimen/btn_language_size" |
31 | 32 | android:layout_height="@dimen/btn_language_size" |
32 | | - android:layout_marginRight="@dimen/padding" |
| 33 | + android:layout_marginEnd="@dimen/padding" |
33 | 34 | android:background="@color/transparent" |
| 35 | + android:contentDescription="@string/china" |
34 | 36 | android:scaleType="fitCenter" |
35 | 37 | android:src="@mipmap/country_china" /> |
36 | 38 |
|
37 | 39 | <ImageButton |
38 | 40 | android:id="@+id/btn_italy" |
39 | 41 | android:layout_width="@dimen/btn_language_size" |
40 | 42 | android:layout_height="@dimen/btn_language_size" |
41 | | - android:layout_marginRight="@dimen/padding" |
| 43 | + android:layout_marginEnd="@dimen/padding" |
42 | 44 | android:background="@color/transparent" |
| 45 | + android:contentDescription="@string/italy" |
43 | 46 | android:scaleType="fitCenter" |
44 | 47 | android:src="@mipmap/country_italy" /> |
45 | 48 |
|
|
55 | 58 | android:id="@+id/btn_japan" |
56 | 59 | android:layout_width="@dimen/btn_language_size" |
57 | 60 | android:layout_height="@dimen/btn_language_size" |
58 | | - android:layout_marginRight="@dimen/padding" |
| 61 | + android:layout_marginEnd="@dimen/padding" |
59 | 62 | android:background="@color/transparent" |
| 63 | + android:contentDescription="@string/japan" |
60 | 64 | android:scaleType="fitCenter" |
61 | 65 | android:src="@mipmap/country_japan" /> |
62 | 66 |
|
63 | 67 | <ImageButton |
64 | 68 | android:id="@+id/btn_korea" |
65 | 69 | android:layout_width="@dimen/btn_language_size" |
66 | 70 | android:layout_height="@dimen/btn_language_size" |
67 | | - android:layout_marginRight="@dimen/padding" |
| 71 | + android:layout_marginEnd="@dimen/padding" |
68 | 72 | android:background="@color/transparent" |
| 73 | + android:contentDescription="@string/korea" |
69 | 74 | android:scaleType="fitCenter" |
70 | 75 | android:src="@mipmap/country_korea" /> |
71 | 76 |
|
72 | 77 | <ImageButton |
73 | 78 | android:id="@+id/btn_portugal" |
74 | 79 | android:layout_width="@dimen/btn_language_size" |
75 | 80 | android:layout_height="@dimen/btn_language_size" |
76 | | - android:layout_marginRight="@dimen/padding" |
| 81 | + android:layout_marginEnd="@dimen/padding" |
77 | 82 | android:background="@color/transparent" |
| 83 | + android:contentDescription="@string/portugal" |
78 | 84 | android:scaleType="fitCenter" |
79 | 85 | android:src="@mipmap/country_portugal" /> |
80 | 86 |
|
81 | 87 | <ImageButton |
82 | 88 | android:id="@+id/btn_thai" |
83 | 89 | android:layout_width="@dimen/btn_language_size" |
84 | 90 | android:layout_height="@dimen/btn_language_size" |
85 | | - android:layout_marginRight="@dimen/padding" |
| 91 | + android:layout_marginEnd="@dimen/padding" |
86 | 92 | android:background="@color/transparent" |
| 93 | + android:contentDescription="@string/thai" |
87 | 94 | android:scaleType="fitCenter" |
88 | 95 | android:src="@mipmap/country_thai" /> |
89 | 96 | </LinearLayout> |
|
0 commit comments