From e529cabfb1d084de46f637e79a0addd2ff0c60a9 Mon Sep 17 00:00:00 2001 From: Anuken Date: Tue, 19 Dec 2017 20:51:46 -0500 Subject: [PATCH] Death to unit.dp --- android/build.gradle | 4 +-- android/res/values/strings.xml | 1 + android/res/values/styles.xml | 2 +- .../io/anuke/mindustry/DonationsActivity.java | 2 +- build.gradle | 3 +- core/src/io/anuke/mindustry/Vars.java | 6 ++-- .../src/io/anuke/mindustry/core/Renderer.java | 8 +++-- .../src/io/anuke/mindustry/core/Tutorial.java | 6 ++-- core/src/io/anuke/mindustry/core/UI.java | 32 +++++++++---------- .../anuke/mindustry/input/AndroidInput.java | 2 +- .../anuke/mindustry/input/GestureHandler.java | 4 +-- .../anuke/mindustry/mapeditor/MapEditor.java | 5 +-- .../mindustry/mapeditor/MapEditorDialog.java | 20 ++++++------ .../mapeditor/MapGenerateDialog.java | 6 ++-- .../mindustry/mapeditor/MapLoadDialog.java | 10 +++--- .../mindustry/mapeditor/MapResizeDialog.java | 5 ++- .../mindustry/mapeditor/MapSaveDialog.java | 3 +- .../io/anuke/mindustry/mapeditor/MapView.java | 4 +-- .../io/anuke/mindustry/ui/BorderImage.java | 2 +- .../io/anuke/mindustry/ui/FileChooser.java | 26 ++++----------- .../io/anuke/mindustry/ui/FloatingDialog.java | 6 ++-- .../io/anuke/mindustry/ui/LevelDialog.java | 18 +++++------ .../src/io/anuke/mindustry/ui/LoadDialog.java | 8 ++--- .../src/io/anuke/mindustry/ui/MenuDialog.java | 10 +++--- .../mindustry/ui/MindustryKeybindDialog.java | 6 ++-- .../mindustry/ui/MindustrySettingsDialog.java | 6 ++-- .../src/io/anuke/mindustry/ui/SaveDialog.java | 3 +- .../ui/fragments/BlocksFragment.java | 32 +++++++++---------- .../mindustry/ui/fragments/HudFragment.java | 16 +++++----- .../mindustry/ui/fragments/MenuFragment.java | 12 +++---- .../ui/fragments/PlacementFragment.java | 20 ++++++------ .../mindustry/ui/fragments/ToolFragment.java | 6 ++-- .../blocks/types/distribution/Sorter.java | 6 ++-- .../blocks/types/distribution/Teleporter.java | 6 ++-- gradle.properties | 1 + 35 files changed, 150 insertions(+), 157 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 02204ab61d..d32e6953d1 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -14,7 +14,7 @@ dependencies { android { buildToolsVersion '26.0.2' - compileSdkVersion 25 + compileSdkVersion 26 sourceSets { main { manifest.srcFile 'AndroidManifest.xml' @@ -34,7 +34,7 @@ android { defaultConfig { applicationId "io.anuke.mindustry" minSdkVersion 9 - targetSdkVersion 25 + targetSdkVersion 26 } compileOptions { diff --git a/android/res/values/strings.xml b/android/res/values/strings.xml index 102e06c23a..5bc3a457fa 100644 --- a/android/res/values/strings.xml +++ b/android/res/values/strings.xml @@ -4,6 +4,7 @@ Mindustry 1 Dollar + 2 Dollars 5 Dollars 10 Dollars 15 Dollars diff --git a/android/res/values/styles.xml b/android/res/values/styles.xml index 5325d1651d..5b8b96ea1e 100644 --- a/android/res/values/styles.xml +++ b/android/res/values/styles.xml @@ -1,6 +1,6 @@ -