Skip to content

Commit 3cb36c9

Browse files
Upgrade auf Android Studio Otter
1 parent 0a5f853 commit 3cb36c9

10 files changed

Lines changed: 213 additions & 139 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<br>
44

5-
Das Repo enthält eine native Android-App (Java), die eine Klasse [BalkenDiagrammView](app/src/main/java/de/mide/android/customview/BalkenDiagrammView.java#L19) *Custom View*
5+
Das Repo enthält eine native Android-App (Java), die eine Klasse [BalkenDiagrammView](app/src/main/java/de/mide/android/customview/BalkenDiagrammView.java#L19) als *Custom View*
66
zur Anzeige eines einfachen Balkendiagramms enthält.
77

88
<br>

app/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ plugins {
44

55
android {
66
namespace 'de.mide.android.customview'
7-
compileSdk 36
7+
compileSdk {
8+
version = release(36)
9+
}
810

911
defaultConfig {
1012
applicationId "de.mide.android.customview"
@@ -29,7 +31,6 @@ android {
2931
}
3032

3133
dependencies {
32-
3334
implementation libs.appcompat
3435
implementation libs.material
3536
implementation libs.activity

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest
33
xmlns:android="http://schemas.android.com/apk/res/android"
4+
xmlns:tools="http://schemas.android.com/tools"
45
android:installLocation="auto">
56

67
<application
@@ -18,10 +19,8 @@
1819
android:exported="true">
1920

2021
<intent-filter>
21-
2222
<action android:name="android.intent.action.MAIN" />
2323
<category android:name="android.intent.category.LAUNCHER" />
24-
2524
</intent-filter>
2625

2726
</activity>

app/src/main/java/de/mide/android/customview/BalkenDiagrammView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ private int getBalkenFarbe(int balkenIndex) {
149149
return FARBEN[ indexFarbe ];
150150
}
151151

152-
152+
153153
/**
154154
* Event-Handler für Touch-Events auf dem View durch den Nutzer. Es werden nur die Koordinaten
155155
* auf den Logger geschrieben, man könnte aber z.B. auch auswerten, ob auf einen Balken

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
plugins {
3-
alias(libs.plugins.android.application) apply false
3+
alias(libs.plugins.android.application) apply false
44
}

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[versions]
2-
agp = "8.13.0"
2+
agp = "9.0.1"
33
junit = "4.13.2"
44
junitVersion = "1.3.0"
55
espressoCore = "3.7.0"
66
appcompat = "1.7.1"
77
material = "1.13.0"
8-
activity = "1.11.0"
8+
activity = "1.12.4"
99
constraintlayout = "2.2.1"
1010

1111
[libraries]

gradle/wrapper/gradle-wrapper.jar

-13.4 KB
Binary file not shown.
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
#Tue Oct 21 09:48:25 CEST 2025
1+
#Wed Mar 11 18:15:51 CET 2026
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
4+
distributionSha256Sum=a17ddd85a26b6a7f5ddb71ff8b05fc5104c0202c6e64782429790c933686c806
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
6+
networkTimeout=10000
7+
validateDistributionUrl=true
58
zipStoreBase=GRADLE_USER_HOME
69
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)