Code example for AbsoluteSizeSpan

0
		return spannable;
	} 
 
	public static String formatMinutes(final Context context, final long millisecondes) {
		String delay = "";
		final int minutes = (int) (millisecondes / 60000);
 
		if (minutes < 60) {
			delay = context.getString(R.string.format_minutes, minutes);
		} else { 
			final int heures = minutes / 60;
			final int reste = minutes - heures * 60;
			delay = context.getString(R.string.format_heures, heures, (reste < 10) ? "0" + reste : reste);
		} 
 
		return delay;
	} 
 
	public static String formatMetres(final Context context, final double metres) {
		String result = "";