Skip to content

Instantly share code, notes, and snippets.

gabrielemariotti /
Last active Sep 13, 2020
Floating Action Button (requires Android-L preview)
public class MainActivity extends Activity {
protected void onCreate(Bundle savedInstanceState) {
int size = getResources().getDimensionPixelSize(R.dimen.fab_size);
Outline outline = new Outline();
johnscheible / google_drive_gradle_dependencies
Last active Nov 20, 2020
Dependencies for using Google Drive APIs with the Android Gradle build system
View google_drive_gradle_dependencies
// Replace 'dependencies' in your build.gradle file with the following
// or add these to whatever other dependencies you have.
dependencies {
compile ''
compile ''
compile('') {
exclude group: ''
compile ''