diff --git a/app/build.gradle b/app/build.gradle index 2f647978..b6abfbb8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -15,8 +15,8 @@ android { applicationId "eu.basicairdata.graziano.gpslogger" minSdkVersion 8 targetSdkVersion 23 - versionCode 18 - versionName '2.1.8a_20170911' + versionCode 19 + versionName '2.1.8' } buildTypes { release { diff --git a/app/src/main/java/eu/basicairdata/graziano/gpslogger/FragmentAboutDialog.java b/app/src/main/java/eu/basicairdata/graziano/gpslogger/FragmentAboutDialog.java index 5b43fe60..1d9791ac 100644 --- a/app/src/main/java/eu/basicairdata/graziano/gpslogger/FragmentAboutDialog.java +++ b/app/src/main/java/eu/basicairdata/graziano/gpslogger/FragmentAboutDialog.java @@ -43,7 +43,7 @@ public Dialog onCreateDialog(Bundle savedInstanceState) { AlertDialog.Builder createAboutAlert = new AlertDialog.Builder(getActivity(), R.style.MyMaterialThemeAbout); LayoutInflater inflater = getActivity().getLayoutInflater(); - final View view = (View) inflater.inflate(R.layout.fragment_about_dialog, null); + final View view = inflater.inflate(R.layout.fragment_about_dialog, null); TVVersion = (TextView) view.findViewById(R.id.id_about_textView_Version); String versionName = BuildConfig.VERSION_NAME; diff --git a/app/src/main/java/eu/basicairdata/graziano/gpslogger/GPSService.java b/app/src/main/java/eu/basicairdata/graziano/gpslogger/GPSService.java index 5cbf5a4f..b09158e3 100644 --- a/app/src/main/java/eu/basicairdata/graziano/gpslogger/GPSService.java +++ b/app/src/main/java/eu/basicairdata/graziano/gpslogger/GPSService.java @@ -1,4 +1,4 @@ -/* +/** * GPSService - Java Class for Android * Created by G.Capelli (BasicAirData) on 2/11/2016 * @@ -18,7 +18,6 @@ package eu.basicairdata.graziano.gpslogger; - import android.app.Notification; import android.app.PendingIntent; import android.app.Service; @@ -57,8 +56,7 @@ private Notification getNotification() { startIntent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); PendingIntent contentIntent = PendingIntent.getActivity(getApplicationContext(), 1, startIntent, 0); builder.setContentIntent(contentIntent); - Notification notification = builder.build(); - return notification; + return builder.build(); } /* THREAD FOR DEBUG PURPOSE diff --git a/app/src/main/res/layout/fragment_gpsfix.xml b/app/src/main/res/layout/fragment_gpsfix.xml index 3d8d47a7..f8bf0582 100644 --- a/app/src/main/res/layout/fragment_gpsfix.xml +++ b/app/src/main/res/layout/fragment_gpsfix.xml @@ -72,7 +72,8 @@ android:textAppearance="@style/TextAppearanceLargeUM" android:id="@+id/id_textView_LatitudeUM" android:layout_weight="0" - android:layout_marginLeft="7dp" /> + android:layout_marginLeft="7dp" + android:layout_marginStart="7dp"/> + android:layout_marginLeft="7dp" + android:layout_marginStart="7dp" />