From 679ed2ed69f0218d2f601974bcb5b6507f5b8a90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20C=2E=20P=2E=20Pessoa?= Date: Thu, 4 Oct 2018 18:41:51 -0300 Subject: [PATCH 1/2] Bumped min SDK and enabled multidex Min SDK is now 21. --- app/build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index f9161c2..b7f6aec 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -17,12 +17,13 @@ android { buildToolsVersion buildToolsVersion defaultConfig { applicationId 'com.tristanwiley.chatse' - minSdkVersion 16 + minSdkVersion 21 targetSdkVersion 28 versionCode 3 versionName "0.1.0_Alpha_$versionCode" vectorDrawables.useSupportLibrary = true + multiDexEnabled = true buildConfigField "String", "fabricApiKey", FABRIC_API_KEY From eeb26a5e23e729a9265e159caaf77c1a5d604163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20C=2E=20P=2E=20Pessoa?= Date: Thu, 4 Oct 2018 18:42:07 -0300 Subject: [PATCH 2/2] Improved image upload dialog --- app/src/main/res/layout/simple_grid_item.xml | 37 +++++++++++++++----- 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/app/src/main/res/layout/simple_grid_item.xml b/app/src/main/res/layout/simple_grid_item.xml index 21b9ba1..83638f4 100644 --- a/app/src/main/res/layout/simple_grid_item.xml +++ b/app/src/main/res/layout/simple_grid_item.xml @@ -1,21 +1,40 @@ - + android:layout_height="wrap_content"> + android:layout_width="48dp" + android:layout_height="48dp" + android:layout_marginTop="16dp" + android:layout_marginStart="8dp" + android:layout_marginEnd="8dp" + android:scaleType="fitXY" + app:layout_constraintVertical_chainStyle="packed" + app:layout_constraintVertical_bias="0" + app:layout_constraintBottom_toBottomOf="@id/text_view" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + android:textColor="@android:color/black" + tools:text="Choose from gallery" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toBottomOf="@id/image_view" + app:layout_constraintBottom_toBottomOf="parent"/> - \ No newline at end of file + \ No newline at end of file