Cosmetic changes redux
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.ab.x48" android:installLocation="auto" android:versionCode="21" android:versionName="1.21">
|
||||
package="org.ab.x48" android:installLocation="auto" android:versionName="1.25" android:versionCode="25">
|
||||
<application android:icon="@drawable/icon" android:label="@string/app_name">
|
||||
<activity android:name=".X48"
|
||||
android:label="@string/app_name"
|
||||
|
|
Before Width: | Height: | Size: 999 B After Width: | Height: | Size: 381 B |
Before Width: | Height: | Size: 999 B After Width: | Height: | Size: 369 B |
Before Width: | Height: | Size: 617 B After Width: | Height: | Size: 643 B |
Before Width: | Height: | Size: 614 B After Width: | Height: | Size: 608 B |
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 563 B |
Before Width: | Height: | Size: 622 B After Width: | Height: | Size: 620 B |
Before Width: | Height: | Size: 561 B After Width: | Height: | Size: 544 B |
Before Width: | Height: | Size: 625 B After Width: | Height: | Size: 630 B |
Before Width: | Height: | Size: 512 B After Width: | Height: | Size: 501 B |
Before Width: | Height: | Size: 626 B After Width: | Height: | Size: 622 B |
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 667 B |
Before Width: | Height: | Size: 567 B After Width: | Height: | Size: 570 B |
Before Width: | Height: | Size: 530 B After Width: | Height: | Size: 521 B |
Before Width: | Height: | Size: 566 B After Width: | Height: | Size: 564 B |
Before Width: | Height: | Size: 640 B After Width: | Height: | Size: 631 B |
Before Width: | Height: | Size: 619 B After Width: | Height: | Size: 602 B |
Before Width: | Height: | Size: 635 B After Width: | Height: | Size: 622 B |
Before Width: | Height: | Size: 643 B After Width: | Height: | Size: 609 B |
Before Width: | Height: | Size: 616 B After Width: | Height: | Size: 602 B |
Before Width: | Height: | Size: 653 B After Width: | Height: | Size: 660 B |
Before Width: | Height: | Size: 756 B After Width: | Height: | Size: 780 B |
Before Width: | Height: | Size: 597 B After Width: | Height: | Size: 602 B |
Before Width: | Height: | Size: 652 B After Width: | Height: | Size: 671 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 542 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 493 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 604 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 500 B |
Before Width: | Height: | Size: 547 B After Width: | Height: | Size: 523 B |
Before Width: | Height: | Size: 610 B After Width: | Height: | Size: 607 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 496 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 425 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 502 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 541 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 563 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 538 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 424 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 434 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 557 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 576 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 398 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 670 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 480 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 431 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 557 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 447 B |
|
@ -318,20 +318,25 @@ public class HPView extends SurfaceView implements SurfaceHolder.Callback, Runna
|
|||
}
|
||||
} else {
|
||||
if (k == 24) {
|
||||
key_width = w / 2;
|
||||
key_width = 2f * (float)w / 5f;
|
||||
key_height = usable_h/5f;
|
||||
key_x = 0;
|
||||
key_y = start_h;
|
||||
} else if (k == 27) {
|
||||
key_width = w / 4;
|
||||
} else if (k == 25) {
|
||||
key_width = w / 5;
|
||||
key_height = usable_h/5f;
|
||||
key_x = 2*key_width;
|
||||
key_y = start_h;
|
||||
} else if (k == 28) {
|
||||
key_width = w / 4;
|
||||
} else if (k == 27) {
|
||||
key_width = w / 5;
|
||||
key_height = usable_h/5f;
|
||||
key_x = 3*key_width;
|
||||
key_y = start_h;
|
||||
} else if (k == 28) {
|
||||
key_width = w / 5;
|
||||
key_height = usable_h/5f;
|
||||
key_x = 4*key_width;
|
||||
key_y = start_h;
|
||||
} else if (k >= 30 && k <= 48 && k !=34 && k != 39 && k !=44) {
|
||||
key_width = w / 4;
|
||||
key_height = usable_h/5f;
|
||||
|
|