packagefr.gouv.etalab.mastodon.drawers;/* Copyright 2017 Thomas Schneider * * This file is a part of Mastalab * * This program is free software; you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation; either version 3 of the * License, or (at your option) any later version. * * Mastalab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General * Public License for more details. * * You should have received a copy of the GNU General Public License along with Mastalab; if not, * see <http://www.gnu.org/licenses>. */importandroid.content.ClipData;importandroid.content.ClipboardManager;importandroid.content.Context;importandroid.content.DialogInterface;importandroid.content.Intent;importandroid.content.SharedPreferences;importandroid.graphics.Bitmap;importandroid.graphics.Color;importandroid.graphics.Paint;importandroid.graphics.drawable.Drawable;importandroid.os.AsyncTask;importandroid.os.Build;importandroid.os.Bundle;importandroid.os.CountDownTimer;importandroid.os.Handler;importandroid.support.annotation.NonNull;importandroid.support.v4.content.ContextCompat;importandroid.support.v7.app.AlertDialog;importandroid.support.v7.widget.PopupMenu;importandroid.support.v7.widget.RecyclerView;importandroid.text.Html;importandroid.text.method.LinkMovementMethod;importandroid.util.TypedValue;importandroid.view.LayoutInflater;importandroid.view.MenuItem;importandroid.view.MotionEvent;importandroid.view.View;importandroid.view.ViewGroup;importandroid.widget.Button;importandroid.widget.CheckBox;importandroid.widge