Revision 21efc7d7
Added by Leszek Koltunski about 3 years ago
src/main/java/org/distorted/config/ConfigScreenPane.java | ||
---|---|---|
108 | 108 |
float textSize = height*TEXT_RATIO; |
109 | 109 |
int padding = (int)(height*PADDING_RATIO); |
110 | 110 |
|
111 |
LinearLayout detailsLayout = (LinearLayout)inflate( act, R.layout.config_details , null); |
|
112 |
LinearLayout difficultyLayout = (LinearLayout)inflate( act, R.layout.config_difficulty, null); |
|
113 |
LinearLayout meshLayout = (LinearLayout)inflate( act, R.layout.config_mesh , null); |
|
114 |
|
|
115 |
detailsLayout.setPadding(padding,padding,padding,padding/2); |
|
111 |
LinearLayout configLayout = act.findViewById(R.id.configLayout); |
|
112 |
LinearLayout nameLayout = configLayout.findViewById(R.id.configLayoutName); |
|
113 |
LinearLayout authorLayout = configLayout.findViewById(R.id.configLayoutAuthor); |
|
114 |
LinearLayout difficultyLayout= configLayout.findViewById(R.id.configLayoutDifficulty); |
|
115 |
LinearLayout meshLayout = configLayout.findViewById(R.id.configLayoutMesh); |
|
116 |
|
|
117 |
nameLayout.setPadding(padding,padding,padding,padding/2); |
|
118 |
authorLayout.setPadding(padding,padding/2,padding,padding/2); |
|
116 | 119 |
difficultyLayout.setPadding(padding,padding/2,padding,padding/2); |
117 | 120 |
meshLayout.setPadding(padding,padding/2,padding,padding); |
118 | 121 |
|
119 |
LinearLayout.LayoutParams params1 = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, 0, 1.00f); |
|
120 |
LinearLayout.LayoutParams params2 = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, 0, 1.00f); |
|
121 |
LinearLayout.LayoutParams params3 = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, 0, 1.05f); |
|
122 |
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, 0, 1.00f); |
|
123 |
params.bottomMargin = 0; |
|
124 |
params.topMargin = padding; |
|
125 |
params.leftMargin = padding; |
|
126 |
params.rightMargin = padding; |
|
122 | 127 |
|
123 |
detailsLayout.setLayoutParams(params1); |
|
124 |
difficultyLayout.setLayoutParams(params2); |
|
125 |
meshLayout.setLayoutParams(params3); |
|
128 |
nameLayout.setLayoutParams(params); |
|
129 |
authorLayout.setLayoutParams(params); |
|
130 |
difficultyLayout.setLayoutParams(params); |
|
131 |
meshLayout.setLayoutParams(params); |
|
126 | 132 |
|
127 | 133 |
TextView text; |
128 |
text = detailsLayout.findViewById(R.id.configDetailsTitle); |
|
129 |
text.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); |
|
130 |
text = detailsLayout.findViewById(R.id.configDetailsName1); |
|
134 |
text = nameLayout.findViewById(R.id.configDetailsName1); |
|
131 | 135 |
text.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); |
132 |
text = detailsLayout.findViewById(R.id.configDetailsName2);
|
|
136 |
text = nameLayout.findViewById(R.id.configDetailsName2);
|
|
133 | 137 |
text.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); |
134 |
text = detailsLayout.findViewById(R.id.configDetailsAuthor1);
|
|
138 |
text = authorLayout.findViewById(R.id.configDetailsAuthor1);
|
|
135 | 139 |
text.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); |
136 |
text = detailsLayout.findViewById(R.id.configDetailsAuthor2);
|
|
140 |
text = authorLayout.findViewById(R.id.configDetailsAuthor2);
|
|
137 | 141 |
text.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); |
138 |
|
|
139 | 142 |
text = difficultyLayout.findViewById(R.id.configDifficultyTitle); |
140 | 143 |
text.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); |
141 | 144 |
text = meshLayout.findViewById(R.id.configMeshTitle); |
... | ... | |
160 | 163 |
} |
161 | 164 |
}); |
162 | 165 |
|
163 |
LinearLayout layout = act.findViewById(R.id.configLayout); |
|
164 |
layout.removeAllViews(); |
|
165 |
layout.addView(detailsLayout); |
|
166 |
layout.addView(difficultyLayout); |
|
167 |
layout.addView(meshLayout); |
|
168 |
|
|
169 | 166 |
updatePane(act,objectOrdinal); |
170 | 167 |
} |
171 | 168 |
} |
src/main/res/layout/config.xml | ||
---|---|---|
9 | 9 |
android:id="@+id/configSurfaceView" |
10 | 10 |
android:layout_width="match_parent" |
11 | 11 |
android:layout_height="0dp" |
12 |
android:layout_weight="1.0"/>
|
|
12 |
android:layout_weight="1.3"/>
|
|
13 | 13 |
|
14 | 14 |
<LinearLayout |
15 | 15 |
android:id="@+id/configLayout" |
16 | 16 |
android:layout_width="match_parent" |
17 | 17 |
android:layout_height="0dp" |
18 | 18 |
android:layout_weight="1.0" |
19 |
android:layout_marginLeft="0dp" |
|
20 |
android:layout_marginRight="0dp" |
|
21 | 19 |
android:background="@color/light_grey" |
22 | 20 |
android:orientation="vertical" > |
21 |
|
|
22 |
<LinearLayout |
|
23 |
android:id="@+id/configLayoutName" |
|
24 |
android:layout_width="fill_parent" |
|
25 |
android:layout_height="0dp" |
|
26 |
android:layout_weight="1" |
|
27 |
android:paddingLeft="5dp" |
|
28 |
android:paddingRight="5dp" |
|
29 |
android:background="@color/grey" |
|
30 |
android:orientation="horizontal"> |
|
31 |
|
|
32 |
<TextView |
|
33 |
android:id="@+id/configDetailsName1" |
|
34 |
android:layout_width="0dp" |
|
35 |
android:layout_height="match_parent" |
|
36 |
android:layout_weight="1.0" |
|
37 |
android:gravity="center_vertical|start" |
|
38 |
android:paddingStart="5dp" |
|
39 |
android:textSize="26sp" |
|
40 |
android:singleLine="true" |
|
41 |
android:maxLines="1" |
|
42 |
android:text="@string/config_name"/> |
|
43 |
|
|
44 |
<TextView |
|
45 |
android:id="@+id/configDetailsName2" |
|
46 |
android:layout_width="0dp" |
|
47 |
android:layout_height="match_parent" |
|
48 |
android:layout_weight="2.5" |
|
49 |
android:gravity="center_vertical|start" |
|
50 |
android:paddingStart="5dp" |
|
51 |
android:textSize="26sp" |
|
52 |
android:singleLine="true" |
|
53 |
android:maxLines="1"/> |
|
54 |
|
|
55 |
</LinearLayout> |
|
56 |
|
|
57 |
<LinearLayout |
|
58 |
android:id="@+id/configLayoutAuthor" |
|
59 |
android:layout_width="fill_parent" |
|
60 |
android:layout_height="0dp" |
|
61 |
android:layout_weight="1" |
|
62 |
android:paddingLeft="5dp" |
|
63 |
android:paddingRight="5dp" |
|
64 |
android:background="@color/grey" |
|
65 |
android:orientation="horizontal"> |
|
66 |
|
|
67 |
<TextView |
|
68 |
android:id="@+id/configDetailsAuthor1" |
|
69 |
android:layout_width="0dp" |
|
70 |
android:layout_height="match_parent" |
|
71 |
android:layout_weight="1.0" |
|
72 |
android:gravity="center_vertical|start" |
|
73 |
android:paddingStart="5dp" |
|
74 |
android:textSize="26sp" |
|
75 |
android:singleLine="true" |
|
76 |
android:maxLines="1" |
|
77 |
android:text="@string/config_author"/> |
|
78 |
|
|
79 |
<TextView |
|
80 |
android:id="@+id/configDetailsAuthor2" |
|
81 |
android:layout_width="0dp" |
|
82 |
android:layout_height="match_parent" |
|
83 |
android:layout_weight="2.5" |
|
84 |
android:gravity="center_vertical|start" |
|
85 |
android:paddingStart="5dp" |
|
86 |
android:textSize="26sp" |
|
87 |
android:singleLine="true" |
|
88 |
android:maxLines="1"/> |
|
89 |
|
|
90 |
</LinearLayout> |
|
91 |
|
|
92 |
<LinearLayout |
|
93 |
android:id="@+id/configLayoutDifficulty" |
|
94 |
android:layout_width="fill_parent" |
|
95 |
android:layout_height="0dp" |
|
96 |
android:layout_weight="1" |
|
97 |
android:paddingLeft="5dp" |
|
98 |
android:paddingRight="5dp" |
|
99 |
android:background="@color/grey" |
|
100 |
android:orientation="horizontal"> |
|
101 |
|
|
102 |
<TextView |
|
103 |
android:id="@+id/configDifficultyTitle" |
|
104 |
android:layout_width="0dp" |
|
105 |
android:layout_height="match_parent" |
|
106 |
android:layout_weight="1.0" |
|
107 |
android:gravity="center_vertical|start" |
|
108 |
android:paddingStart="5dp" |
|
109 |
android:textSize="26sp" |
|
110 |
android:singleLine="true" |
|
111 |
android:maxLines="1" |
|
112 |
android:text="@string/config_difficulty"/> |
|
113 |
|
|
114 |
<LinearLayout |
|
115 |
android:id="@+id/configDifficultyLayout" |
|
116 |
android:layout_width="0dp" |
|
117 |
android:layout_height="match_parent" |
|
118 |
android:layout_weight="2.5" |
|
119 |
android:paddingTop="20dp" |
|
120 |
android:paddingBottom="20dp" |
|
121 |
android:orientation="horizontal"> |
|
122 |
|
|
123 |
<ImageView |
|
124 |
android:id="@+id/configDifficulty0" |
|
125 |
android:layout_width="0dp" |
|
126 |
android:layout_height="match_parent" |
|
127 |
android:layout_weight="1" |
|
128 |
android:gravity="center_vertical" |
|
129 |
android:src="@drawable/ui_difficulty_unchecked"/> |
|
130 |
|
|
131 |
<ImageView |
|
132 |
android:id="@+id/configDifficulty1" |
|
133 |
android:layout_width="0dp" |
|
134 |
android:layout_height="match_parent" |
|
135 |
android:layout_weight="1" |
|
136 |
android:gravity="center_vertical" |
|
137 |
android:src="@drawable/ui_difficulty_unchecked"/> |
|
138 |
|
|
139 |
<ImageView |
|
140 |
android:id="@+id/configDifficulty2" |
|
141 |
android:layout_width="0dp" |
|
142 |
android:layout_height="match_parent" |
|
143 |
android:layout_weight="1" |
|
144 |
android:gravity="center_vertical" |
|
145 |
android:src="@drawable/ui_difficulty_unchecked"/> |
|
146 |
|
|
147 |
<ImageView |
|
148 |
android:id="@+id/configDifficulty3" |
|
149 |
android:layout_width="0dp" |
|
150 |
android:layout_height="match_parent" |
|
151 |
android:layout_weight="1" |
|
152 |
android:gravity="center_vertical" |
|
153 |
android:src="@drawable/ui_difficulty_unchecked"/> |
|
154 |
|
|
155 |
<ImageView |
|
156 |
android:id="@+id/configDifficulty4" |
|
157 |
android:layout_width="0dp" |
|
158 |
android:layout_height="match_parent" |
|
159 |
android:layout_weight="1" |
|
160 |
android:gravity="center_vertical" |
|
161 |
android:src="@drawable/ui_difficulty_unchecked"/> |
|
162 |
|
|
163 |
</LinearLayout> |
|
164 |
|
|
165 |
</LinearLayout> |
|
166 |
|
|
167 |
<LinearLayout |
|
168 |
android:id="@+id/configLayoutMesh" |
|
169 |
android:layout_width="fill_parent" |
|
170 |
android:layout_height="0dp" |
|
171 |
android:layout_weight="1" |
|
172 |
android:paddingLeft="5dp" |
|
173 |
android:paddingRight="5dp" |
|
174 |
android:background="@color/grey" |
|
175 |
android:orientation="horizontal"> |
|
176 |
|
|
177 |
<TextView |
|
178 |
android:id="@+id/configMeshTitle" |
|
179 |
android:layout_width="0dp" |
|
180 |
android:layout_height="match_parent" |
|
181 |
android:layout_weight="1.0" |
|
182 |
android:gravity="center_vertical|start" |
|
183 |
android:paddingStart="5dp" |
|
184 |
android:textSize="26sp" |
|
185 |
android:singleLine="true" |
|
186 |
android:maxLines="1" |
|
187 |
android:text="@string/config_mesh"/> |
|
188 |
|
|
189 |
<RadioGroup |
|
190 |
android:id="@+id/meshRadioGroup" |
|
191 |
android:layout_width="0dp" |
|
192 |
android:layout_height="match_parent" |
|
193 |
android:layout_weight="2.5" |
|
194 |
android:orientation="horizontal" |
|
195 |
android:checkedButton="@+id/meshNice" |
|
196 |
android:background="@color/grey"> |
|
197 |
|
|
198 |
<RadioButton |
|
199 |
android:id="@+id/meshSimple" |
|
200 |
android:layout_width="0dp" |
|
201 |
android:layout_height="match_parent" |
|
202 |
android:layout_weight="1" |
|
203 |
android:layout_marginBottom="0dp" |
|
204 |
android:text="@string/config_mesh_simple"/> |
|
205 |
|
|
206 |
<RadioButton |
|
207 |
android:id="@+id/meshNice" |
|
208 |
android:layout_width="0dp" |
|
209 |
android:layout_height="match_parent" |
|
210 |
android:layout_weight="1" |
|
211 |
android:layout_marginBottom="0dp" |
|
212 |
android:text="@string/config_mesh_nice"/> |
|
213 |
|
|
214 |
</RadioGroup> |
|
215 |
|
|
216 |
</LinearLayout> |
|
217 |
|
|
23 | 218 |
</LinearLayout> |
24 | 219 |
|
25 | 220 |
<LinearLayout |
src/main/res/layout/config_details.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
3 |
android:layout_width="fill_parent" |
|
4 |
android:layout_height="0dp" |
|
5 |
android:paddingRight="10dp" |
|
6 |
android:paddingLeft="10dp" |
|
7 |
android:gravity="center|fill_horizontal" |
|
8 |
android:background="@color/grey" |
|
9 |
android:orientation="vertical"> |
|
10 |
|
|
11 |
<TextView |
|
12 |
android:id="@+id/configDetailsTitle" |
|
13 |
android:layout_width="match_parent" |
|
14 |
android:layout_height="0dp" |
|
15 |
android:layout_weight="1" |
|
16 |
android:gravity="center" |
|
17 |
android:textSize="26sp" |
|
18 |
android:paddingLeft="2dp" |
|
19 |
android:paddingRight="2dp" |
|
20 |
android:maxLines="1" |
|
21 |
android:text="@string/config_details" |
|
22 |
android:background="@color/light_grey"/> |
|
23 |
|
|
24 |
<LinearLayout |
|
25 |
android:layout_width="fill_parent" |
|
26 |
android:layout_height="0dp" |
|
27 |
android:layout_weight="1" |
|
28 |
android:paddingLeft="5dp" |
|
29 |
android:paddingRight="5dp" |
|
30 |
android:background="@color/light_grey" |
|
31 |
android:orientation="horizontal"> |
|
32 |
|
|
33 |
<TextView |
|
34 |
android:id="@+id/configDetailsName1" |
|
35 |
android:layout_width="0dp" |
|
36 |
android:layout_height="match_parent" |
|
37 |
android:layout_weight="1.0" |
|
38 |
android:gravity="center_vertical|start" |
|
39 |
android:paddingStart="5dp" |
|
40 |
android:textSize="26sp" |
|
41 |
android:singleLine="true" |
|
42 |
android:maxLines="1" |
|
43 |
android:text="@string/config_name"/> |
|
44 |
|
|
45 |
<TextView |
|
46 |
android:id="@+id/configDetailsName2" |
|
47 |
android:layout_width="0dp" |
|
48 |
android:layout_height="match_parent" |
|
49 |
android:layout_weight="2.5" |
|
50 |
android:gravity="center_vertical|start" |
|
51 |
android:paddingStart="5dp" |
|
52 |
android:textSize="26sp" |
|
53 |
android:singleLine="true" |
|
54 |
android:maxLines="1"/> |
|
55 |
|
|
56 |
</LinearLayout> |
|
57 |
|
|
58 |
<LinearLayout |
|
59 |
android:layout_width="fill_parent" |
|
60 |
android:layout_height="0dp" |
|
61 |
android:layout_weight="1" |
|
62 |
android:paddingLeft="5dp" |
|
63 |
android:paddingRight="5dp" |
|
64 |
android:background="@color/light_grey" |
|
65 |
android:orientation="horizontal"> |
|
66 |
|
|
67 |
<TextView |
|
68 |
android:id="@+id/configDetailsAuthor1" |
|
69 |
android:layout_width="0dp" |
|
70 |
android:layout_height="match_parent" |
|
71 |
android:layout_weight="1.0" |
|
72 |
android:gravity="center_vertical|start" |
|
73 |
android:paddingStart="5dp" |
|
74 |
android:textSize="26sp" |
|
75 |
android:singleLine="true" |
|
76 |
android:maxLines="1" |
|
77 |
android:text="@string/config_author"/> |
|
78 |
|
|
79 |
<TextView |
|
80 |
android:id="@+id/configDetailsAuthor2" |
|
81 |
android:layout_width="0dp" |
|
82 |
android:layout_height="match_parent" |
|
83 |
android:layout_weight="2.5" |
|
84 |
android:gravity="center_vertical|start" |
|
85 |
android:paddingStart="5dp" |
|
86 |
android:textSize="26sp" |
|
87 |
android:singleLine="true" |
|
88 |
android:maxLines="1"/> |
|
89 |
|
|
90 |
</LinearLayout> |
|
91 |
</LinearLayout> |
src/main/res/layout/config_difficulty.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
3 |
android:layout_width="fill_parent" |
|
4 |
android:layout_height="0dp" |
|
5 |
android:gravity="center|fill_horizontal" |
|
6 |
android:background="@color/grey" |
|
7 |
android:paddingLeft="10dp" |
|
8 |
android:paddingRight="10dp" |
|
9 |
android:orientation="vertical"> |
|
10 |
|
|
11 |
<TextView |
|
12 |
android:id="@+id/configDifficultyTitle" |
|
13 |
android:layout_width="match_parent" |
|
14 |
android:layout_height="0dp" |
|
15 |
android:layout_weight="0.8" |
|
16 |
android:gravity="center" |
|
17 |
android:textSize="26sp" |
|
18 |
android:paddingLeft="2dp" |
|
19 |
android:paddingRight="2dp" |
|
20 |
android:maxLines="1" |
|
21 |
android:text="@string/config_difficulty" |
|
22 |
android:background="@color/light_grey"/> |
|
23 |
|
|
24 |
<LinearLayout |
|
25 |
android:id="@+id/configDifficultyLayout" |
|
26 |
android:layout_width="fill_parent" |
|
27 |
android:layout_height="0dp" |
|
28 |
android:layout_weight="2.0" |
|
29 |
android:paddingLeft="5dp" |
|
30 |
android:paddingRight="5dp" |
|
31 |
android:paddingTop="10dp" |
|
32 |
android:paddingBottom="10dp" |
|
33 |
android:background="@color/light_grey" |
|
34 |
android:orientation="horizontal"> |
|
35 |
|
|
36 |
<ImageView |
|
37 |
android:id="@+id/configDifficulty0" |
|
38 |
android:layout_width="0dp" |
|
39 |
android:layout_height="match_parent" |
|
40 |
android:layout_weight="1" |
|
41 |
android:src="@drawable/ui_difficulty_unchecked"/> |
|
42 |
|
|
43 |
<ImageView |
|
44 |
android:id="@+id/configDifficulty1" |
|
45 |
android:layout_width="0dp" |
|
46 |
android:layout_height="match_parent" |
|
47 |
android:layout_weight="1" |
|
48 |
android:gravity="center" |
|
49 |
android:src="@drawable/ui_difficulty_unchecked"/> |
|
50 |
|
|
51 |
<ImageView |
|
52 |
android:id="@+id/configDifficulty2" |
|
53 |
android:layout_width="0dp" |
|
54 |
android:layout_height="match_parent" |
|
55 |
android:layout_weight="1" |
|
56 |
android:gravity="center" |
|
57 |
android:src="@drawable/ui_difficulty_unchecked"/> |
|
58 |
|
|
59 |
<ImageView |
|
60 |
android:id="@+id/configDifficulty3" |
|
61 |
android:layout_width="0dp" |
|
62 |
android:layout_height="match_parent" |
|
63 |
android:layout_weight="1" |
|
64 |
android:gravity="center" |
|
65 |
android:src="@drawable/ui_difficulty_unchecked"/> |
|
66 |
|
|
67 |
<ImageView |
|
68 |
android:id="@+id/configDifficulty4" |
|
69 |
android:layout_width="0dp" |
|
70 |
android:layout_height="match_parent" |
|
71 |
android:layout_weight="1" |
|
72 |
android:gravity="center" |
|
73 |
android:src="@drawable/ui_difficulty_unchecked"/> |
|
74 |
|
|
75 |
</LinearLayout> |
|
76 |
|
|
77 |
</LinearLayout> |
src/main/res/layout/config_mesh.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
3 |
android:layout_width="fill_parent" |
|
4 |
android:layout_height="0dp" |
|
5 |
android:paddingLeft="10dp" |
|
6 |
android:paddingRight="10dp" |
|
7 |
android:paddingBottom="10dp" |
|
8 |
android:gravity="center|fill_horizontal" |
|
9 |
android:background="@color/grey" |
|
10 |
android:orientation="vertical"> |
|
11 |
|
|
12 |
<TextView |
|
13 |
android:id="@+id/configMeshTitle" |
|
14 |
android:layout_width="match_parent" |
|
15 |
android:layout_height="0dp" |
|
16 |
android:layout_weight="0.8" |
|
17 |
android:gravity="center" |
|
18 |
android:textSize="26sp" |
|
19 |
android:paddingLeft="2dp" |
|
20 |
android:paddingRight="2dp" |
|
21 |
android:maxLines="1" |
|
22 |
android:text="@string/config_mesh" |
|
23 |
android:background="@color/light_grey"/> |
|
24 |
|
|
25 |
<RadioGroup |
|
26 |
android:id="@+id/meshRadioGroup" |
|
27 |
android:layout_width="match_parent" |
|
28 |
android:layout_height="0dp" |
|
29 |
android:layout_weight="3.0" |
|
30 |
android:paddingStart="5dp" |
|
31 |
android:checkedButton="@+id/meshNice" |
|
32 |
android:background="@color/light_grey"> |
|
33 |
|
|
34 |
<RadioButton |
|
35 |
android:id="@+id/meshSimple" |
|
36 |
android:layout_width="match_parent" |
|
37 |
android:layout_height="wrap_content" |
|
38 |
android:layout_marginBottom="0dp" |
|
39 |
android:text="@string/config_mesh_simple"/> |
|
40 |
|
|
41 |
<RadioButton |
|
42 |
android:id="@+id/meshNice" |
|
43 |
android:layout_width="match_parent" |
|
44 |
android:layout_height="wrap_content" |
|
45 |
android:layout_marginBottom="0dp" |
|
46 |
android:text="@string/config_mesh_nice"/> |
|
47 |
|
|
48 |
</RadioGroup> |
|
49 |
|
|
50 |
</LinearLayout> |
src/main/res/values-de/strings.xml | ||
---|---|---|
46 | 46 |
<string name="config_author">Autor</string> |
47 | 47 |
<string name="config_difficulty">Schwierigkeit</string> |
48 | 48 |
<string name="config_mesh">3D Netz</string> |
49 |
<string name="config_mesh_simple">Einfach und schnell</string>
|
|
50 |
<string name="config_mesh_nice">Schön und komplex</string>
|
|
49 |
<string name="config_mesh_simple">Einfach</string> |
|
50 |
<string name="config_mesh_nice">Schön</string> |
|
51 | 51 |
|
52 | 52 |
<string name="credits1">Open Source App, die mit der Distorted Graphics Library entwickelt wurde. Lizenziert unter <a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html">GPL Version 2</a> oder wie gewünscht einer späteren Version.</string> |
53 | 53 |
<string name="credits2">Hübsche Muster von Walter Randelshofer. Sehen Sie <a href="http://www.randelshofer.ch">http://www.randelshofer.ch</a></string> |
src/main/res/values-es/strings.xml | ||
---|---|---|
46 | 46 |
<string name="config_author">Autor</string> |
47 | 47 |
<string name="config_difficulty">Dificultad</string> |
48 | 48 |
<string name="config_mesh">Malla 3D</string> |
49 |
<string name="config_mesh_simple">Sencilla y rápida</string>
|
|
50 |
<string name="config_mesh_nice">Bonita y compleja</string>
|
|
49 |
<string name="config_mesh_simple">Sencilla</string> |
|
50 |
<string name="config_mesh_nice">Bonita</string> |
|
51 | 51 |
|
52 | 52 |
<string name="credits1">Aplicación de código abierto desarrollada con la biblioteca de gráficos de Distorted. Con licencia <a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html">GPL versión 2</a> o, a tu elección, cualquier versión posterior.</string> |
53 | 53 |
<string name="credits2">Pretty Patterns por Walter Randelshofer. Mira <a href="http://www.randelshofer.ch">http://www.randelshofer.ch</a></string> |
src/main/res/values-fr/strings.xml | ||
---|---|---|
46 | 46 |
<string name="config_author">Auteur</string> |
47 | 47 |
<string name="config_difficulty">Difficulté</string> |
48 | 48 |
<string name="config_mesh">Maillage 3D</string> |
49 |
<string name="config_mesh_simple">Simple et rapide</string>
|
|
50 |
<string name="config_mesh_nice">Agréable et complexe</string>
|
|
49 |
<string name="config_mesh_simple">Simple</string> |
|
50 |
<string name="config_mesh_nice">Agréable</string> |
|
51 | 51 |
|
52 | 52 |
<string name="credits1">Appli Open Source développée à l\'aide de la bibliothèque graphique Distorted. Sous licence <a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html">GPL version 2</a> ou - à votre choix - toute version ultérieure.</string> |
53 | 53 |
<string name="credits2">Pretty Patterns par Walter Randelshofer. Voir <a href="http://www.randelshofer.ch">http://www.randelshofer.ch</a></string> |
src/main/res/values-ja/strings.xml | ||
---|---|---|
46 | 46 |
<string name="config_author">著者</string> |
47 | 47 |
<string name="config_difficulty">困難</string> |
48 | 48 |
<string name="config_mesh">メッシュ3D</string> |
49 |
<string name="config_mesh_simple">シンプルで速い</string>
|
|
50 |
<string name="config_mesh_nice">素晴らしくて複雑</string>
|
|
49 |
<string name="config_mesh_simple">単純</string>
|
|
50 |
<string name="config_mesh_nice">良い</string>
|
|
51 | 51 |
|
52 | 52 |
<string name="credits1">ディストートグラフィックのライブラリを使用して開発されたオープンソースアプリ。<a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html">GPL バージョン 2</a>でライセンスされているか、または-オプション-それ以降のすべてのバージョン。</string> |
53 | 53 |
<string name="credits2">Pretty Patterns 沿って Walter Randelshofer. 見る <a href="http://www.randelshofer.ch">http://www.randelshofer.ch</a></string> |
src/main/res/values-ko/strings.xml | ||
---|---|---|
46 | 46 |
<string name="config_author">작가</string> |
47 | 47 |
<string name="config_difficulty">어려움</string> |
48 | 48 |
<string name="config_mesh">메쉬3D</string> |
49 |
<string name="config_mesh_simple">간단하고 빠름</string>
|
|
50 |
<string name="config_mesh_nice">멋지고 복잡한</string>
|
|
49 |
<string name="config_mesh_simple">단순한</string>
|
|
50 |
<string name="config_mesh_nice">멋진</string>
|
|
51 | 51 |
|
52 | 52 |
<string name="credits1">왜곡된 그래픽 라이브러리를 사용하여 개발된 오픈 소스 앱. <a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html">GPL 버전 2</a> 또는 귀하의 선택에 따라 최신 버전으로 라이센스가 부여됩니다.</string> |
53 | 53 |
<string name="credits2">Pretty Patterns 으로 Walter Randelshofer. 보다 <a href="http://www.randelshofer.ch">http://www.randelshofer.ch</a></string> |
src/main/res/values-pl/strings.xml | ||
---|---|---|
46 | 46 |
<string name="config_author">Autor</string> |
47 | 47 |
<string name="config_difficulty">Trudność</string> |
48 | 48 |
<string name="config_mesh">Siatka 3D</string> |
49 |
<string name="config_mesh_simple">Prosta i szybka</string>
|
|
50 |
<string name="config_mesh_nice">Ładna i wolna</string>
|
|
49 |
<string name="config_mesh_simple">Prosta</string> |
|
50 |
<string name="config_mesh_nice">Ładna</string> |
|
51 | 51 |
|
52 | 52 |
<string name="credits1">Aplikacja open-source napisana wykorzystując bibliotekę Distorted. Licencja: <a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html">GPL wersja 2</a> albo jakakolwiek poźniejsza.</string> |
53 | 53 |
<string name="credits2">Piękne Wzory Waltera Randelshofera. Zobacz <a href="http://www.randelshofer.ch">http://www.randelshofer.ch</a></string> |
src/main/res/values-ru/strings.xml | ||
---|---|---|
46 | 46 |
<string name="config_author">Автор</string> |
47 | 47 |
<string name="config_difficulty">Сложность</string> |
48 | 48 |
<string name="config_mesh">3D Cетка</string> |
49 |
<string name="config_mesh_simple">Простая и быстрая</string>
|
|
50 |
<string name="config_mesh_nice">Красивая и сложная</string>
|
|
49 |
<string name="config_mesh_simple">Простая</string> |
|
50 |
<string name="config_mesh_nice">Красивая</string> |
|
51 | 51 |
|
52 | 52 |
<string name="credits1">Приложение с открытым исходным кодом, разработанное с использованием библиотеки графики Искажений. Лицензируется согласно <a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html">версии 2 GPL</a> или любой более поздней версии по вашему выбору.</string> |
53 | 53 |
<string name="credits2">Pretty Patterns по Walter Randelshofer. Смотри <a href="http://www.randelshofer.ch">http://www.randelshofer.ch</a></string> |
src/main/res/values-zh-rCN/strings.xml | ||
---|---|---|
46 | 46 |
<string name="config_author">作者</string> |
47 | 47 |
<string name="config_difficulty">困难</string> |
48 | 48 |
<string name="config_mesh">3D网格</string> |
49 |
<string name="config_mesh_simple">简单快捷</string>
|
|
50 |
<string name="config_mesh_nice">美好而复杂</string>
|
|
49 |
<string name="config_mesh_simple">简单的</string>
|
|
50 |
<string name="config_mesh_nice">好的</string>
|
|
51 | 51 |
|
52 | 52 |
<string name="credits1">此应用程式原始码开发使用Distorted图型库。根据<a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html">通用公共许可版本2</a>或者任何更新版本(根据您的选择)进行许可。</string> |
53 | 53 |
<string name="credits2">Pretty Patterns by Werner Randelshofer. 請看 <a href="http://www.randelshofer.ch">http://www.randelshofer.ch</a></string> |
src/main/res/values-zh-rTW/strings.xml | ||
---|---|---|
46 | 46 |
<string name="config_author">作者</string> |
47 | 47 |
<string name="config_difficulty">困難</string> |
48 | 48 |
<string name="config_mesh">3D網格</string> |
49 |
<string name="config_mesh_simple">簡單快捷</string>
|
|
50 |
<string name="config_mesh_nice">美好而復雜</string>
|
|
49 |
<string name="config_mesh_simple">簡單的</string>
|
|
50 |
<string name="config_mesh_nice">好的</string>
|
|
51 | 51 |
|
52 | 52 |
<string name="credits1">此應用程式原始碼開發使用Distorted圖型庫。根據<a href="https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html">通用公共許可版本2</a>或者任何更新版本(根據您的選擇)進行許可。</string> |
53 | 53 |
<string name="credits2">Pretty Patterns by Werner Randelshofer. 請看 <a href="http://www.randelshofer.ch">http://www.randelshofer.ch</a></string> |
src/main/res/values/strings.xml | ||
---|---|---|
57 | 57 |
<string name="config_author">Author</string> |
58 | 58 |
<string name="config_difficulty">Difficulty</string> |
59 | 59 |
<string name="config_mesh">3D Mesh</string> |
60 |
<string name="config_mesh_simple">Simple and fast</string>
|
|
61 |
<string name="config_mesh_nice">Nice and complex</string>
|
|
60 |
<string name="config_mesh_simple">Simple</string> |
|
61 |
<string name="config_mesh_nice">Nice</string> |
|
62 | 62 |
|
63 | 63 |
<string name="opengl_error" translatable="false">Error</string> |
64 | 64 |
<string name="opengl_error_text" translatable="false">This device does not support OpenGL 3.0</string> |
Also available in: Unified diff
Progress with Config UI.