Skip to content
This repository was archived by the owner on Aug 4, 2021. It is now read-only.

Commit ee41e4a

Browse files
committed
Same with .java
1 parent e446370 commit ee41e4a

File tree

1 file changed

+87
-18
lines changed

1 file changed

+87
-18
lines changed

app/src/main/res/layout/difficulty_select_fragment.xml

Lines changed: 87 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,69 +2,138 @@
22
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
33
android:layout_width="match_parent"
44
android:layout_height="match_parent"
5+
android:layout_marginTop="0dp"
56
android:gravity="center"
6-
android:orientation="horizontal"
7-
android:paddingLeft="@dimen/difficulty_padding"
8-
android:paddingRight="@dimen/difficulty_padding" >
7+
android:paddingLeft="@dimen/difficulty_padding"
8+
android:paddingRight="@dimen/difficulty_padding"
9+
android:orientation="horizontal">
910

1011
<LinearLayout
1112
android:layout_width="match_parent"
1213
android:layout_height="match_parent"
13-
android:layout_margin="@dimen/difficulty_margin"
14+
android:layout_marginBottom="30dp"
15+
android:layout_marginLeft="@dimen/difficulty_margin"
16+
android:layout_marginRight="@dimen/difficulty_margin"
17+
android:layout_marginTop="30dp"
1418
android:layout_weight="1"
1519
android:gravity="center"
16-
android:orientation="vertical" >
20+
android:orientation="vertical">
1721

1822
<com.snatik.matches.ui.DifficultyView
1923
android:id="@+id/select_difficulty_1"
2024
android:layout_width="match_parent"
21-
android:layout_height="wrap_content" />
25+
android:layout_height="30dp"
26+
android:layout_weight="1"
27+
/>
28+
29+
<TextView
30+
android:layout_width="match_parent"
31+
android:layout_height="35dp"
32+
android:layout_marginTop="-40dp"
33+
android:layout_marginBottom="18dp"
34+
android:background="@drawable/time_border"
35+
android:id="@+id/time_difficulty_1"/>
2236

2337
<com.snatik.matches.ui.DifficultyView
2438
android:id="@+id/select_difficulty_4"
2539
android:layout_width="match_parent"
26-
android:layout_height="wrap_content"
27-
android:layout_marginTop="@dimen/difficulty_margin_top" />
40+
android:layout_height="30dp"
41+
android:layout_weight="1"/>
42+
43+
<TextView
44+
android:layout_width="match_parent"
45+
android:layout_height="35dp"
46+
android:layout_marginTop="-40dp"
47+
android:background="@drawable/time_border"
48+
android:id="@+id/time_difficulty_4"
49+
/>
50+
51+
2852
</LinearLayout>
2953

3054
<LinearLayout
3155
android:layout_width="match_parent"
3256
android:layout_height="match_parent"
33-
android:layout_margin="@dimen/difficulty_margin"
57+
android:layout_marginBottom="30dp"
58+
android:layout_marginLeft="@dimen/difficulty_margin"
59+
android:layout_marginRight="@dimen/difficulty_margin"
60+
android:layout_marginTop="30dp"
3461
android:layout_weight="1"
3562
android:gravity="center"
36-
android:orientation="vertical" >
63+
android:orientation="vertical">
3764

3865
<com.snatik.matches.ui.DifficultyView
3966
android:id="@+id/select_difficulty_2"
4067
android:layout_width="match_parent"
41-
android:layout_height="wrap_content" />
68+
android:layout_height="30dp"
69+
android:layout_weight="1"/>
70+
71+
<TextView
72+
android:layout_width="match_parent"
73+
android:layout_height="35dp"
74+
android:layout_marginTop="-40dp"
75+
android:layout_marginBottom="18dp"
76+
android:background="@drawable/time_border"
77+
android:id="@+id/time_difficulty_2"
78+
/>
4279

4380
<com.snatik.matches.ui.DifficultyView
4481
android:id="@+id/select_difficulty_5"
4582
android:layout_width="match_parent"
46-
android:layout_height="wrap_content"
47-
android:layout_marginTop="@dimen/difficulty_margin_top" />
83+
android:layout_height="30dp"
84+
android:layout_weight="1"/>
85+
86+
<TextView
87+
android:layout_width="match_parent"
88+
android:layout_height="35dp"
89+
android:layout_marginTop="-40dp"
90+
android:background="@drawable/time_border"
91+
android:id="@+id/time_difficulty_5"
92+
/>
93+
94+
4895
</LinearLayout>
4996

5097
<LinearLayout
5198
android:layout_width="match_parent"
5299
android:layout_height="match_parent"
53-
android:layout_margin="@dimen/difficulty_margin"
100+
android:layout_marginBottom="30dp"
101+
android:layout_marginLeft="@dimen/difficulty_margin"
102+
android:layout_marginRight="@dimen/difficulty_margin"
103+
android:layout_marginTop="30dp"
54104
android:layout_weight="1"
55105
android:gravity="center"
56-
android:orientation="vertical" >
106+
android:orientation="vertical">
57107

58108
<com.snatik.matches.ui.DifficultyView
59109
android:id="@+id/select_difficulty_3"
60110
android:layout_width="match_parent"
61-
android:layout_height="wrap_content" />
111+
android:layout_height="30dp"
112+
android:layout_weight="1"/>
113+
114+
<TextView
115+
android:layout_width="match_parent"
116+
android:layout_height="35dp"
117+
android:layout_marginTop="-40dp"
118+
android:background="@drawable/time_border"
119+
android:layout_marginBottom="18dp"
120+
android:id="@+id/time_difficulty_3"/>
62121

63122
<com.snatik.matches.ui.DifficultyView
64123
android:id="@+id/select_difficulty_6"
65124
android:layout_width="match_parent"
66-
android:layout_height="wrap_content"
67-
android:layout_marginTop="@dimen/difficulty_margin_top" />
125+
android:layout_height="30dp"
126+
android:layout_weight="1"/>
127+
128+
<TextView
129+
android:layout_width="match_parent"
130+
android:layout_height="35dp"
131+
android:layout_marginTop="-40dp"
132+
android:background="@drawable/time_border"
133+
android:id="@+id/time_difficulty_6"
134+
/>
135+
136+
68137
</LinearLayout>
69138

70139
</LinearLayout>

0 commit comments

Comments
 (0)