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
.floating { | |
animation-name: floating; | |
animation-duration: 4s; | |
animation-iteration-count: infinite; | |
animation-timing-function: ease-in-out; | |
margin-left: 30px; | |
margin-top: 5px; | |
} | |
@keyframes floating { |
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
private class SQLiteHelper extends SQLiteOpenHelper { | |
public DatabaseOperations(Context context) { | |
super(context, DatabaseSchemas.DATABASE_NAME, null, DatabaseSchemas.DATABASE_VERSION); | |
} | |
public void onCreate(SQLiteDatabase db) { | |
//Create all tables | |
db.execSQL(DatabaseSchemas.Table.CREATION_SQL); | |
} |
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
public static void showIndefiniteSnackBar(View view, String message){ | |
final Snackbar snack = Snackbar.make(view, message, Snackbar.LENGTH_INDEFINITE); | |
snack.setAction(android.R.string.ok, new View.OnClickListener() { | |
@Override | |
public void onClick(View view) { | |
snack.dismiss(); | |
} | |
}); | |
snack.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
.center { | |
display: flex; | |
flex-direction: column; | |
justify-content: center; | |
align-items: center; | |
text-align: center; | |
min-height: 100vh; | |
} |
NewerOlder