This file contains hidden or 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
| package app.utils.customviews; | |
| import android.content.Context; | |
| import android.content.res.TypedArray; | |
| import android.graphics.Color; | |
| import android.text.SpannableStringBuilder; | |
| import android.text.Spanned; | |
| import android.text.TextUtils; | |
| import android.text.style.ForegroundColorSpan; |
This file contains hidden or 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
| import android.annotation.SuppressLint; | |
| import android.content.Context; | |
| import android.content.SharedPreferences; | |
| import android.content.res.Configuration; | |
| import android.content.res.Resources; | |
| import android.os.Build; | |
| import android.preference.PreferenceManager; | |
| import java.util.Locale; | |
| public class LocaleManager { |
This file contains hidden or 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 FORMAT = "dd/MM/yyyy"; | |
| private CountDownTimer mTimer; | |
| public void startTimer() { | |
| SimpleDateFormat sdfNew = new SimpleDateFormat(FORMAT); | |
| String date = sdfNew.format(new Date()); | |
| String endingDate = ""; | |
| if (isBefore(date, "12/10/2018")) { | |
| endingDate = "12/10/2018"; | |
| } else if (isBefore(date, "14/10/2018")) { |
This file contains hidden or 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
| package app.com.my_app.activities; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.content.pm.ActivityInfo; | |
| import android.media.MediaPlayer; | |
| import android.net.Uri; | |
| import android.os.Build; | |
| import android.support.v4.content.ContextCompat; | |
| import android.support.v7.app.AppCompatActivity; |
This file contains hidden or 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
| package com.zeeroapps.easy_permissions; | |
| import android.Manifest; | |
| import android.os.Build; | |
| import android.support.annotation.NonNull; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.os.Bundle; | |
| import android.util.Log; | |
| import android.view.View; | |
| import android.widget.Toast; |