Skip to content

Commit 0a5f853

Browse files
Upgrade auf Android Studio Narwhal
1 parent 9a4a886 commit 0a5f853

7 files changed

Lines changed: 15 additions & 14 deletions

File tree

app/build.gradle

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

55
android {
66
namespace 'de.mide.android.customview'
7-
compileSdk 35
7+
compileSdk 36
88

99
defaultConfig {
1010
applicationId "de.mide.android.customview"
1111
minSdk 24
12-
targetSdk 35
12+
targetSdk 36
1313
versionCode 1
1414
versionName "1.0"
1515

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
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"
54
android:installLocation="auto">
65

76
<application
@@ -12,8 +11,7 @@
1211
android:label="@string/app_name"
1312
android:roundIcon="@mipmap/ic_launcher_round"
1413
android:supportsRtl="true"
15-
android:theme="@style/Theme.CustomView"
16-
tools:targetApi="31">
14+
android:theme="@style/Theme.CustomView">
1715

1816
<activity
1917
android:name=".MainActivity"

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public BalkenDiagrammView(Context context, AttributeSet attrs) {
4848

4949
}
5050

51+
5152
/**
5253
* Custom Attribute für das View aus Layout-Datei auslesen.
5354
* Diese Attribute müssen auch in der Ressourcen-Datei {@code res/values/attrs.xml} deklariert sein.
@@ -148,6 +149,7 @@ private int getBalkenFarbe(int balkenIndex) {
148149
return FARBEN[ indexFarbe ];
149150
}
150151

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

app/src/main/res/layout/activity_main.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
xmlns:app="http://schemas.android.com/apk/res-auto"
44
android:layout_width="match_parent"
55
android:layout_height="match_parent"
6+
android:fitsSystemWindows="true"
67
android:padding="5dp">
78

89

app/src/main/res/xml/backup_rules.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Sample backup rules file; uncomment and customize as necessary.
33
See https://developer.android.com/guide/topics/data/autobackup
44
for details.
5-
Note: This file is ignored for devices older that API 31
5+
Note: This file is ignored for devices older than API 31
66
See https://developer.android.com/about/versions/12/backup-restore
77
-->
88
<full-backup-content>

gradle/libs.versions.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[versions]
2-
agp = "8.8.0"
2+
agp = "8.13.0"
33
junit = "4.13.2"
4-
junitVersion = "1.2.1"
5-
espressoCore = "3.6.1"
6-
appcompat = "1.7.0"
7-
material = "1.12.0"
8-
activity = "1.10.1"
4+
junitVersion = "1.3.0"
5+
espressoCore = "3.7.0"
6+
appcompat = "1.7.1"
7+
material = "1.13.0"
8+
activity = "1.11.0"
99
constraintlayout = "2.2.1"
1010

1111
[libraries]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Wed Mar 12 15:48:21 CET 2025
1+
#Tue Oct 21 09:48:25 CEST 2025
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)