diff --git a/app/build.gradle b/app/build.gradle index 71d60ff..d509f01 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,13 +2,13 @@ apply plugin: 'com.android.application' android { compileSdkVersion 29 - buildToolsVersion "29.0.0" + buildToolsVersion "29.0.2" defaultConfig { applicationId "com.blogspot.developersu.nowol.nowol" minSdkVersion 14 targetSdkVersion 29 - versionCode 2 - versionName "2.0" + versionCode 3 + versionName "3.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true } @@ -23,10 +23,10 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.volley:volley:1.1.1' - implementation 'androidx.appcompat:appcompat:1.0.2' - implementation 'androidx.constraintlayout:constraintlayout:1.1.3' - implementation 'com.google.android.material:material:1.0.0' + implementation 'androidx.appcompat:appcompat:1.2.0' + implementation 'androidx.constraintlayout:constraintlayout:2.0.1' + implementation 'com.google.android.material:material:1.2.1' testImplementation 'junit:junit:4.12' - androidTestImplementation 'androidx.test:runner:1.2.0' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' + androidTestImplementation 'androidx.test:runner:1.3.0' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 99d6dc3..94ca99d 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -13,6 +13,9 @@ android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true" + android:resizeableActivity="true" + android:supportsPictureInPicture="true" + android:usesCleartextTraffic="true" android:theme="@style/AppTheme"> diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 1ed76f4..4f43633 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -45,13 +45,15 @@ android:layout_alignBottom="@+id/pwr5BntMainAct" android:layout_alignParentEnd="true" android:layout_alignParentRight="true" + android:layout_marginRight="10dp" android:height="110dp" android:text="@string/powerBntMain" android:drawableTop="@drawable/pwr_widget_button" tools:layout_editor_absoluteX="16dp" tools:layout_editor_absoluteY="98dp" android:layout_toRightOf="@+id/pwr5BntMainAct" - android:layout_toEndOf="@+id/pwr5BntMainAct" /> + android:layout_toEndOf="@+id/pwr5BntMainAct" + android:layout_marginEnd="10dp" />