Skip to content

Instantly share code, notes, and snippets.

coding makes my nails polish peel

Amir A pantos27

coding makes my nails polish peel
View GitHub Profile
IzikAlgrisi /
Created Mar 15, 2016
FullScreenFragment also hide the ActionBar if exists
import android.os.Bundle;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
alphamu /
Last active May 17, 2019
Gist showing use cases of headless Fragments to request Android-M runtime permissions
public class CameraMicPermissionHelper extends Fragment {
private static final int REQUEST_CAMERA_MIC_PERMISSIONS = 10;
public static final String TAG = "CamMicPerm";
private CameraMicPermissionCallback mCallback;
private static boolean sCameraMicPermissionDenied;
public static CameraMicPermissionHelper newInstance() {
return new CameraMicPermissionHelper();
* Copyright (C) 2014
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Unless required by applicable law or agreed to in writing, software
hvkale / colors.xml
Last active Feb 14, 2021
Material Design Color Palette Colors.xml Resource file for Android
View colors.xml
<?xml version="1.0" encoding="utf-8"?>
Google Material Design Color Palette for Android
Spreadsheet used to create this reosurce -
Link to this colors.xml resource file -
Harshad Kale
staltz /
Last active Oct 15, 2021
The introduction to Reactive Programming you've been missing