-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add 12/24 hour format navigation view option
- Loading branch information
1 parent
2975aea
commit d4cd5da
Showing
13 changed files
with
464 additions
and
195 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
...n-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/NavigationTimeFormat.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.mapbox.services.android.navigation.ui.v5; | ||
|
||
import android.support.annotation.IntDef; | ||
|
||
import java.lang.annotation.Retention; | ||
import java.lang.annotation.RetentionPolicy; | ||
|
||
public class NavigationTimeFormat { | ||
|
||
@Retention(RetentionPolicy.SOURCE) | ||
@IntDef( {NONE_SPECIFIED, TWELVE_HOURS, TWENTY_FOUR_HOURS}) | ||
public @interface Type { | ||
} | ||
|
||
public static final int NONE_SPECIFIED = -1; | ||
public static final int TWELVE_HOURS = 0; | ||
public static final int TWENTY_FOUR_HOURS = 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.