From b16e49cb1dde8cc4c796dce3abc7b99dfbe46e91 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Sat, 30 Jul 2016 23:00:47 +0200 Subject: show snackbar box not before address in sharelocation activity --- src/main/java/de/pixart/messenger/ui/ShareLocationActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/de/pixart/messenger/ui') diff --git a/src/main/java/de/pixart/messenger/ui/ShareLocationActivity.java b/src/main/java/de/pixart/messenger/ui/ShareLocationActivity.java index 5e059386c..4e1e9c82e 100644 --- a/src/main/java/de/pixart/messenger/ui/ShareLocationActivity.java +++ b/src/main/java/de/pixart/messenger/ui/ShareLocationActivity.java @@ -158,7 +158,6 @@ public class ShareLocationActivity extends Activity implements OnMapReadyCallbac this.mShareButton.setEnabled(true); this.mShareButton.setTextColor(0xde000000); this.mShareButton.setText(R.string.share); - this.mLocationInfo.setVisibility(View.VISIBLE); } this.mLastLocation = location; if (latitude != 0 && longitude != 0) { @@ -233,6 +232,7 @@ public class ShareLocationActivity extends Activity implements OnMapReadyCallbac @Override protected void onPostExecute(String address) { // Setting address of the touched Position + mLocationInfo.setVisibility(View.VISIBLE); mSnackbarLocation.setText(address); Log.d(Config.LOGTAG,"Location: Address = "+ address); } -- cgit v1.2.3