Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,17 @@ android {
repositories {
mavenCentral()
google()
maven {
url "https://central.sonatype.com/repository/maven-snapshots/"
}
maven {
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
mavenLocal()
}

dependencies {
implementation 'com.android.support:support-v4:28.0.0'
annotationProcessor 'com.android.support:support-annotations:28.0.0'
implementation 'androidx.activity:activity:1.10.1'
// OTHER_ANDROID_DEPENDENCIES
api fileTree(dir: '../libs', include: '*.aar')
api fileTree(dir: '../libs', include: '*.jar')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@
import android.view.inputmethod.InputMethodManager;
import android.widget.FrameLayout;

import androidx.core.graphics.Insets;
import androidx.core.view.ViewCompat;
import androidx.core.view.WindowInsetsCompat;

import java.util.TimeZone;
import javafx.scene.input.KeyCode;

Expand Down Expand Up @@ -96,6 +100,13 @@ protected void onCreate(Bundle savedInstanceState) {
setContentView(mViewGroup);
instance = this;

// Apply edge-to-edge display
ViewCompat.setOnApplyWindowInsetsListener(mView, (v, insets) -> {
Insets systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars());
v.setPadding(systemBars.left, systemBars.top, systemBars.right, systemBars.bottom);
return insets;
});

imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
Log.v(TAG, "onCreate done");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.8.2'
classpath 'com.android.tools.build:gradle:8.11.0'
}
}

Expand Down
Loading