Revision 5ba1740c
Added by Leszek Koltunski 9 months ago
src/main/java/org/distorted/bandaged/BandagedWorkerThread.java | ||
---|---|---|
245 | 245 |
android.util.Log.e("D", "buffer encroaches on the bottom! centerX="+centerX+" centerY="+centerY+" size="+size); |
246 | 246 |
sB = 2*(height-centerY); |
247 | 247 |
} |
248 |
/* |
|
249 |
if( sL==size && sR==size && sT==size && sB==size ) |
|
250 |
{ |
|
251 |
android.util.Log.e("D", "EVERYTHING ALL RIGHT centerX="+centerX+" centerY="+centerY+" size="+size); |
|
252 |
} |
|
253 |
*/ |
|
248 |
|
|
254 | 249 |
int minH = Math.min(sL,sR); |
255 | 250 |
int minV = Math.min(sT,sB); |
256 | 251 |
mCreatedBufSize = Math.min(minH,minV); |
src/main/res/layout/dialog_updates_pane.xml | ||
---|---|---|
5 | 5 |
android:layout_height="wrap_content" |
6 | 6 |
android:background="@color/medium_grey" |
7 | 7 |
android:padding="8dp" |
8 |
android:orientation="horizontal"> |
|
8 |
android:orientation="horizontal" |
|
9 |
android:baselineAligned="false"> |
|
9 | 10 |
|
10 | 11 |
<LinearLayout |
11 | 12 |
android:layout_width="0dp" |
src/main/res/layout/main.xml | ||
---|---|---|
24 | 24 |
android:gravity="center" |
25 | 25 |
android:weightSum="1.0" |
26 | 26 |
android:orientation="horizontal" |
27 |
android:background="@color/dark_grey"> |
|
27 |
android:background="@color/dark_grey" |
|
28 |
android:baselineAligned="false"> |
|
28 | 29 |
|
29 | 30 |
<LinearLayout |
30 | 31 |
android:layout_width="0dp" |
src/main/res/layout/old_main.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
3 |
android:id="@+id/relativeLayout" |
|
4 |
android:layout_width="match_parent" |
|
5 |
android:layout_height="match_parent" > |
|
6 |
|
|
7 |
<org.distorted.main_old.RubikSurfaceView |
|
8 |
android:id="@+id/rubikSurfaceView" |
|
9 |
android:layout_width="match_parent" |
|
10 |
android:layout_height="match_parent" |
|
11 |
android:layout_alignParentStart="true" |
|
12 |
android:layout_alignParentTop="true"/> |
|
13 |
|
|
14 |
<LinearLayout |
|
15 |
android:id="@+id/hiddenBar" |
|
16 |
android:layout_alignParentTop="true" |
|
17 |
android:layout_width="match_parent" |
|
18 |
android:layout_height="0dp" |
|
19 |
android:gravity="center" |
|
20 |
android:orientation="horizontal" |
|
21 |
android:background="@android:color/transparent"> |
|
22 |
</LinearLayout> |
|
23 |
|
|
24 |
<LinearLayout |
|
25 |
android:id="@+id/upperBar" |
|
26 |
android:layout_below="@id/hiddenBar" |
|
27 |
android:layout_width="match_parent" |
|
28 |
android:layout_height="0dp" |
|
29 |
android:gravity="center" |
|
30 |
android:orientation="horizontal" |
|
31 |
android:background="@android:color/transparent"> |
|
32 |
</LinearLayout> |
|
33 |
|
|
34 |
<LinearLayout |
|
35 |
android:id="@+id/lowerBar" |
|
36 |
android:layout_alignParentBottom="true" |
|
37 |
android:layout_width="match_parent" |
|
38 |
android:layout_height="0dp" |
|
39 |
android:orientation="horizontal" |
|
40 |
android:background="@android:color/transparent"> |
|
41 |
</LinearLayout> |
|
42 |
|
|
43 |
</RelativeLayout> |
Also available in: Unified diff
Lint