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
Context context = getApplicationContext(); | |
CharSequence text = "Minimum is 1 coffee!"; | |
int duration = Toast.LENGTH_SHORT; | |
Toast toast = Toast.makeText(context, text, duration); | |
toast.show(); |
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
<string name="countdown"> | |
<xliff:g id="time" example="5 days>%1$s</xliff:g>until holiday | |
</string> |