From 37920e2991d73d7860c781aaf550baa0e0c3a09b Mon Sep 17 00:00:00 2001 From: Tommaso Berlose Date: Sun, 8 Oct 2017 00:59:01 +0200 Subject: [PATCH] Bug fixes --- app/build.gradle | 2 +- app/release/output.json | 2 +- app/src/main/res/layout/activity_main.xml | 461 +++++++++++----------- 3 files changed, 230 insertions(+), 235 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 3945a56..aaf39a6 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -13,7 +13,7 @@ android { applicationId "com.tommasoberlose.anotherwidget" minSdkVersion 19 targetSdkVersion 26 - versionCode 2 + versionCode 3 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } diff --git a/app/release/output.json b/app/release/output.json index 1fdbf41..9429200 100644 --- a/app/release/output.json +++ b/app/release/output.json @@ -1 +1 @@ -[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":2},"path":"app-release.apk","properties":{"packageId":"com.tommasoberlose.anotherwidget","split":"","minSdkVersion":"19"}}] \ No newline at end of file +[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":3},"path":"app-release.apk","properties":{"packageId":"com.tommasoberlose.anotherwidget","split":"","minSdkVersion":"19"}}] \ No newline at end of file diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 448ff12..fa50c67 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -1,262 +1,257 @@ - + tools:context="com.tommasoberlose.anotherwidget.ui.activity.MainActivity" + android:background="@drawable/gradient_background" + android:orientation="vertical"> - + - - - - + - - - + android:layout_height="wrap_content" + android:text="@string/app_name" + android:gravity="center_vertical" + style="@style/AnotherWidget.Main.Title" + android:textAllCaps="true"/> + + + + + - + - + + android:layout_height="wrap_content" + android:orientation="vertical" + android:paddingTop="20dp" + android:paddingBottom="20dp"> - + - - - + style="@style/AnotherWidget.Settings.Title" + android:text="@string/settings_unit_title"/> + + - - + + - - - - - - - - - - - - - + android:tint="@android:color/white" + android:background="@drawable/circle_background" + android:src="@drawable/ic_action_calendar"/> + + + + - - - - - - - - - - - - + android:id="@+id/no_location_permission_container" + android:layout_centerInParent="true" + android:orientation="vertical" + android:visibility="gone"> + + + + + + + + + + + + + + + + + + - \ No newline at end of file + + \ No newline at end of file