Make save button more floating. Avoid screen rotation

This commit is contained in:
jacques 2022-05-30 22:36:03 +02:00
parent 54a79b2514
commit 097d27c1f3
5 changed files with 11 additions and 13 deletions

View file

@ -18,19 +18,15 @@ else {
android {
signingConfigs {
release {
storeFile rootProject.file("android-signing-keystore.jks")
storePassword secretProperties['signing_keystore_password']
keyAlias secretProperties['signing_release_alias_key']
keyPassword secretProperties['signing_release_key_password']
}
prerelease {
storeFile rootProject.file("android-signing-keystore.jks")
storeFile file("../android-signing-keystore.jks")
storePassword secretProperties['signing_keystore_password']
keyAlias secretProperties['signing_pre-release_key_alias']
keyPassword secretProperties['signing_pre-release_key_password']
keyAlias secretProperties['signing_key_alias']
keyPassword secretProperties['signing_key_password']
}
}
compileSdkVersion 31
compileSdkVersion 29
defaultConfig {
applicationId "net.foucry.pilldroid"
@ -87,7 +83,7 @@ android {
targetCompatibility JavaVersion.VERSION_11
}
buildToolsVersion '32.0.0'
buildToolsVersion = "32.0.0"
allprojects {
tasks.withType(JavaCompile) {

View file

@ -13,6 +13,7 @@
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:screenOrientation="portrait"
android:supportsRtl="true"
android:theme="@style/AppTheme"
android:allowBackup="true">
@ -29,7 +30,8 @@
android:name=".DrugDetailActivity"
android:label="@string/title_drug_detail"
android:parentActivityName=".DrugListActivity"
android:theme="@style/AppTheme.NoActionBar">
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustResize">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="net.foucry.pilldroid.DrugListActivity" />

View file

@ -9,6 +9,7 @@
android:divider="?android:attr/dividerHorizontal"
android:orientation="horizontal"
android:showDividers="middle"
android:fitsSystemWindows="true"
tools:context="net.foucry.pilldroid.DrugListActivity">
<!--

View file

@ -6,6 +6,7 @@
android:name="net.foucry.pilldroid.MedicamentListFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
app:layoutManager="LinearLayoutManager"
android:background="@drawable/list_selector"
tools:context="net.foucry.pilldroid.DrugListActivity"

View file

@ -23,8 +23,6 @@ ext {
defaultMinSdkVersion = 26
defaultTargetSdkVersion = 30
defaultVersionCode = 1
defaultVersionCode1 = defaultVersionCode
defaultVersionName = 'beta-0.+$versioncode'
}
allprojects {