Fixed new geobookmark date, changed "open in app" icon
This commit is contained in:
parent
82a5eb343b
commit
88cf7711b0
@ -108,7 +108,8 @@ public class GeofavoriteDetailActivity extends AppCompatActivity implements Loca
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onMapClicked() {
|
public void onMapClicked() {
|
||||||
Toast.makeText(GeofavoriteDetailActivity.this, "TODO: Open map activity with pin", Toast.LENGTH_SHORT).show();
|
// TODO: Open map activity with pin
|
||||||
|
startActivity(IntentGenerator.newGeoUriIntent(GeofavoriteDetailActivity.this, mGeofavorite));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -120,8 +121,8 @@ public class GeofavoriteDetailActivity extends AppCompatActivity implements Loca
|
|||||||
// New geofavorite
|
// New geofavorite
|
||||||
mGeofavorite = new Geofavorite();
|
mGeofavorite = new Geofavorite();
|
||||||
mGeofavorite.setCategory(DEFAULT_CATEGORY);
|
mGeofavorite.setCategory(DEFAULT_CATEGORY);
|
||||||
mGeofavorite.setDateCreated(System.currentTimeMillis());
|
mGeofavorite.setDateCreated(System.currentTimeMillis() / 1000);
|
||||||
mGeofavorite.setDateModified(System.currentTimeMillis());
|
mGeofavorite.setDateModified(System.currentTimeMillis() / 1000);
|
||||||
mViewHolder.hideActions();
|
mViewHolder.hideActions();
|
||||||
|
|
||||||
// Precompile location
|
// Precompile location
|
||||||
|
@ -1,10 +1,5 @@
|
|||||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
<vector android:height="24dp" android:tint="#FFFFFF"
|
||||||
android:width="24dp"
|
android:viewportHeight="24" android:viewportWidth="24"
|
||||||
android:height="24dp"
|
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
android:viewportWidth="24"
|
<path android:fillColor="@android:color/white" android:pathData="M17,1.01L7,1c-1.1,0 -1.99,0.9 -1.99,2v18c0,1.1 0.89,2 1.99,2h10c1.1,0 2,-0.9 2,-2L19,3c0,-1.1 -0.9,-1.99 -2,-1.99zM17,19L7,19L7,5h10v14zM12.8,13.22v1.75l3.2,-2.99L12.8,9v1.7c-3.11,0.43 -4.35,2.56 -4.8,4.7 1.11,-1.5 2.58,-2.18 4.8,-2.18z"/>
|
||||||
android:viewportHeight="24"
|
|
||||||
android:tint="?attr/colorControlNormal">
|
|
||||||
<path
|
|
||||||
android:fillColor="@android:color/white"
|
|
||||||
android:pathData="M20.5,3l-0.16,0.03L15,5.1 9,3 3.36,4.9c-0.21,0.07 -0.36,0.25 -0.36,0.48V20.5c0,0.28 0.22,0.5 0.5,0.5l0.16,-0.03L9,18.9l6,2.1 5.64,-1.9c0.21,-0.07 0.36,-0.25 0.36,-0.48V3.5c0,-0.28 -0.22,-0.5 -0.5,-0.5zM15,19l-6,-2.11V5l6,2.11V19z"/>
|
|
||||||
</vector>
|
</vector>
|
||||||
|
Loading…
Reference in New Issue
Block a user