forked from upstream-mirrors/OpenTracks
Add the menu_stop_gps icon
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.0 KiB |
@@ -743,6 +743,7 @@ public class TrackListActivity extends AbstractSendToGoogleActivity
|
|||||||
private void updateMenuItems(boolean isRecording) {
|
private void updateMenuItems(boolean isRecording) {
|
||||||
if (startGpsMenuItem != null) {
|
if (startGpsMenuItem != null) {
|
||||||
startGpsMenuItem.setTitle(startGps ? R.string.menu_stop_gps : R.string.menu_start_gps);
|
startGpsMenuItem.setTitle(startGps ? R.string.menu_stop_gps : R.string.menu_start_gps);
|
||||||
|
startGpsMenuItem.setIcon(startGps ? R.drawable.menu_stop_gps : R.drawable.menu_start_gps);
|
||||||
startGpsMenuItem.setVisible(!isRecording);
|
startGpsMenuItem.setVisible(!isRecording);
|
||||||
}
|
}
|
||||||
if (importAllMenuItem != null) {
|
if (importAllMenuItem != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user