Skip to content

Instantly share code, notes, and snippets.

View fiftyonemoon's full-sized avatar
™️

51M fiftyonemoon

™️
View GitHub Profile
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<ripple android:color="#26000000">
<item>
<shape android:shape="rectangle">
<solid android:color="#FEECE1" />
<corners android:radius="8dp" />
@fiftyonemoon
fiftyonemoon / AndroidXI
Created July 12, 2021 14:57
File create, rename, duplicate and delete in Android11.
import android.app.PendingIntent;
import android.app.RecoverableSecurityException;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.content.Context;
import android.content.IntentSender;
import android.database.Cursor;
import android.net.Uri;
import android.os.Build;
import android.provider.MediaStore;