Revision a19943bf
Added by Leszek Koltunski about 4 years ago
release/output-metadata.json | ||
---|---|---|
1 |
{ |
|
2 |
"version": 1, |
|
3 |
"artifactType": { |
|
4 |
"type": "APK", |
|
5 |
"kind": "Directory" |
|
6 |
}, |
|
7 |
"applicationId": "org.distorted.magic", |
|
8 |
"variantName": "release", |
|
9 |
"elements": [ |
|
10 |
{ |
|
11 |
"type": "SINGLE", |
|
12 |
"filters": [], |
|
13 |
"properties": [], |
|
14 |
"versionCode": 23, |
|
15 |
"versionName": "1.6.0", |
|
16 |
"enabled": true, |
|
17 |
"outputFile": "distorted-cube-release.apk" |
|
18 |
} |
|
19 |
] |
|
20 |
} |
src/main/java/org/distorted/states/RubikStateDone.java | ||
---|---|---|
53 | 53 |
{ |
54 | 54 |
float width = act.getScreenWidthInPixels(); |
55 | 55 |
float titleSize = width*RubikActivity.TITLE_TEXT_SIZE; |
56 |
|
|
57 | 56 |
LayoutInflater inflater = act.getLayoutInflater(); |
58 | 57 |
|
59 | 58 |
// TOP //////////////////////////// |
src/main/java/org/distorted/states/RubikStateReady.java | ||
---|---|---|
49 | 49 |
{ |
50 | 50 |
float width = act.getScreenWidthInPixels(); |
51 | 51 |
float titleSize = width*RubikActivity.TITLE_TEXT_SIZE; |
52 |
|
|
53 | 52 |
LayoutInflater inflater = act.getLayoutInflater(); |
54 | 53 |
|
55 | 54 |
// TOP //////////////////////////// |
src/main/res/layout/dialog_tutorial_row.xml | ||
---|---|---|
3 | 3 |
android:layout_width="fill_parent" |
4 | 4 |
android:layout_height="fill_parent" |
5 | 5 |
android:gravity="center|fill_horizontal" |
6 |
android:layout_marginLeft="8dp" |
|
7 |
android:layout_marginRight="8dp" |
|
8 |
android:layout_marginTop="10dp" |
|
9 |
android:layout_marginBottom="10dp" |
|
10 |
android:background="@color/black" |
|
6 |
android:background="@color/grey" |
|
11 | 7 |
android:orientation="vertical"> |
12 | 8 |
|
13 | 9 |
<TextView |
... | ... | |
22 | 18 |
android:paddingLeft="2dp" |
23 | 19 |
android:paddingRight="2dp" |
24 | 20 |
android:maxLines="1" |
25 |
android:background="@color/grey"/> |
|
21 |
android:background="@color/dark_grey"/>
|
|
26 | 22 |
|
27 | 23 |
<LinearLayout |
28 | 24 |
android:id="@+id/tutorialLayout" |
... | ... | |
30 | 26 |
android:layout_height="wrap_content" |
31 | 27 |
android:layout_marginLeft="10dp" |
32 | 28 |
android:layout_marginRight="10dp" |
33 |
android:background="@color/grey" |
|
29 |
android:background="@color/dark_grey"
|
|
34 | 30 |
android:gravity="center" |
35 | 31 |
android:orientation="horizontal"> |
36 | 32 |
|
src/main/res/layout/upper_text.xml | ||
---|---|---|
3 | 3 |
android:layout_width="fill_parent" |
4 | 4 |
android:layout_height="50dp" |
5 | 5 |
android:textAlignment="center" |
6 |
android:paddingLeft="10dp"
|
|
7 |
android:paddingRight="10dp"
|
|
6 |
android:paddingLeft="0dp" |
|
7 |
android:paddingRight="0dp" |
|
8 | 8 |
android:textSize="28sp"/> |
Also available in: Unified diff
UI.