From a893f7687e309503d95bf025adb97e51080ee553 Mon Sep 17 00:00:00 2001 From: jacques Date: Mon, 4 May 2020 14:50:59 +0200 Subject: [PATCH] Some change in look and feel --- app/build.gradle | 4 ++-- .../main/res/drawable/ic_navigate_next_black_24dp.xml | 9 +++++++++ app/src/main/res/layout/activity_medicament_list.xml | 3 ++- app/src/main/res/layout/medicament_list_content.xml | 4 ++-- 4 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 app/src/main/res/drawable/ic_navigate_next_black_24dp.xml diff --git a/app/build.gradle b/app/build.gradle index 6c54c5f..10f9640 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -5,8 +5,8 @@ android { compileSdkVersion 29 defaultConfig { applicationId "net.foucry.pilldroid" - minSdkVersion 25 - targetSdkVersion 27 + minSdkVersion 27 + targetSdkVersion 29 versionCode 1 versionName "1.0" } diff --git a/app/src/main/res/drawable/ic_navigate_next_black_24dp.xml b/app/src/main/res/drawable/ic_navigate_next_black_24dp.xml new file mode 100644 index 0000000..2483512 --- /dev/null +++ b/app/src/main/res/drawable/ic_navigate_next_black_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/layout/activity_medicament_list.xml b/app/src/main/res/layout/activity_medicament_list.xml index 33ff41a..19927d0 100644 --- a/app/src/main/res/layout/activity_medicament_list.xml +++ b/app/src/main/res/layout/activity_medicament_list.xml @@ -34,7 +34,7 @@ android:id="@+id/fab" android:layout_width="60dp" android:layout_height="60dp" - android:layout_gravity="bottom|end" + android:layout_gravity="bottom|center_horizontal" android:layout_margin="@dimen/fab_margin" android:onClick="scanNow" android:src="@android:drawable/ic_input_add" @@ -43,4 +43,5 @@ android:baselineAlignBottom="false"/> + diff --git a/app/src/main/res/layout/medicament_list_content.xml b/app/src/main/res/layout/medicament_list_content.xml index dd96240..d163eb8 100644 --- a/app/src/main/res/layout/medicament_list_content.xml +++ b/app/src/main/res/layout/medicament_list_content.xml @@ -14,7 +14,7 @@ android:layout_width="50sp" android:layout_height="50sp" android:layout_marginLeft="5dp" - android:src="@drawable/ic_stock_ok" + android:src="@drawable/ok_stock" android:contentDescription="Icone de stock" android:layout_centerVertical="true" android:layout_alignParentStart="true" /> @@ -66,7 +66,7 @@