diff --git a/app/build.gradle b/app/build.gradle index cb14946..dd43b0f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -25,12 +25,6 @@ android { versionName generateVersionName() // 1.2.3-SNAPSHOT multiDexEnabled true } -/* flavorDimensions "version" - productFlavors { - unsigned { - applicationIdSuffix ".unsigned" - } - }*/ buildTypes { release { diff --git a/app/src/main/ic_launcher-playstore.png b/app/src/main/ic_launcher-playstore.png index 9b4b9b3..6e8a202 100644 Binary files a/app/src/main/ic_launcher-playstore.png and b/app/src/main/ic_launcher-playstore.png differ diff --git a/app/src/main/java/net/foucry/pilldroid/DrugDetailActivity.java b/app/src/main/java/net/foucry/pilldroid/DrugDetailActivity.java index f5f2bae..d52e90d 100644 --- a/app/src/main/java/net/foucry/pilldroid/DrugDetailActivity.java +++ b/app/src/main/java/net/foucry/pilldroid/DrugDetailActivity.java @@ -42,7 +42,7 @@ public class DrugDetailActivity extends AppCompatActivity { assert drug != null; Log.d(TAG, "drug == " + drug.toString()); - setContentView(R.layout.activity_durg_detail); + setContentView(R.layout.activity_drug_detail); Toolbar toolbar = findViewById(detail_toolbar); diff --git a/app/src/main/res/drawable/ic_launcher_foreground.xml b/app/src/main/res/drawable/ic_launcher_foreground.xml index b619276..b0e55c7 100644 --- a/app/src/main/res/drawable/ic_launcher_foreground.xml +++ b/app/src/main/res/drawable/ic_launcher_foreground.xml @@ -4,10 +4,10 @@ android:height="108dp" android:viewportWidth="108" android:viewportHeight="108"> - + @@ -13,6 +13,7 @@ android:id="@+id/app_bar" android:layout_width="match_parent" android:layout_height="@dimen/app_bar_height" + android:background="@color/ic_launcher_background" android:fitsSystemWindows="true" android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"> @@ -31,26 +32,26 @@ android:layout_height="?attr/actionBarSize" app:layout_collapseMode="pin" app:popupTheme="@style/ThemeOverlay.AppCompat.Light" /> - + android:contentDescription="@string/drug_list" + app:layout_behavior="@string/appbar_scrolling_view_behavior"> + + app:backgroundTint="@android:color/transparent"/> diff --git a/app/src/main/res/layout/drug_detail.xml b/app/src/main/res/layout/drug_detail.xml index 6a8bf9d..b4cba33 100644 --- a/app/src/main/res/layout/drug_detail.xml +++ b/app/src/main/res/layout/drug_detail.xml @@ -10,29 +10,28 @@ android:id="@+id/name_cell" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginTop="5sp" layout="@layout/info_cell" /> + layout="@layout/info_cell"/> + + layout="@layout/info_cell"/> + + layout="@layout/value_input"/> + + layout="@layout/value_input"/> + lundi 1 janvier 2001 Valeur Libellé + Attributs d\'un médicament \ No newline at end of file diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index ea39adf..b0d7a45 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -4,6 +4,9 @@ 75dp 200dp 19dp + 48dp + 48dp + 32dp diff --git a/app/src/main/res/values/ic_launcher_background.xml b/app/src/main/res/values/ic_launcher_background.xml index 15f6fd2..b69ad4b 100644 --- a/app/src/main/res/values/ic_launcher_background.xml +++ b/app/src/main/res/values/ic_launcher_background.xml @@ -1,4 +1,4 @@ - #2C75FF + #3D75DC \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 13fa67b..a7b4338 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -75,4 +75,5 @@ Monday January 1st 2001 Value Label + Drug\'s attributes diff --git a/build.gradle b/build.gradle index 5348c41..0f9d530 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:7.0.2' + classpath 'com.android.tools.build:gradle:7.0.3' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files