Merge pull request #75 from RichyHBM/predefined-images
Predefined images
This commit is contained in:
commit
03714739fe
57 changed files with 1285 additions and 22 deletions
|
@ -120,6 +120,8 @@ So make sure you have a **current backup** before switching!
|
|||
* [Android-ItemTouchHelper-Demo](https://github.com/iPaulPro/Android-ItemTouchHelper-Demo/tree/master/app/src/main/java/co/paulburke/android/itemtouchhelperdemo/helper)
|
||||
* [Code Parts from Google's Android Samples](https://android.googlesource.com/platform/development/+/master/samples/Vault/src/com/example/android/vault)
|
||||
* [FloatingActionMenuAndroid](https://github.com/pmahsky/FloatingActionMenuAndroid)
|
||||
* [LetterBitmap](http://stackoverflow.com/questions/23122088/colored-boxed-with-letters-a-la-gmail)
|
||||
* [DimensionConverter](https://stackoverflow.com/questions/8343971/how-to-parse-a-dimension-string-and-convert-it-to-a-dimension-value)
|
||||
|
||||
## License:
|
||||
```
|
||||
|
|
|
@ -49,11 +49,11 @@ import org.openintents.openpgp.OpenPgpSignatureResult;
|
|||
import org.openintents.openpgp.util.OpenPgpApi;
|
||||
import org.openintents.openpgp.util.OpenPgpServiceConnection;
|
||||
import org.shadowice.flocke.andotp.Database.Entry;
|
||||
import org.shadowice.flocke.andotp.Utilities.FileHelper;
|
||||
import org.shadowice.flocke.andotp.R;
|
||||
import org.shadowice.flocke.andotp.Utilities.DatabaseHelper;
|
||||
import org.shadowice.flocke.andotp.Utilities.EncryptionHelper;
|
||||
import org.shadowice.flocke.andotp.Utilities.FileHelper;
|
||||
import org.shadowice.flocke.andotp.Utilities.Tools;
|
||||
import org.shadowice.flocke.andotp.R;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
|
@ -439,7 +439,7 @@ public class BackupActivity extends BaseActivity {
|
|||
SecretKey key = EncryptionHelper.generateSymmetricKeyFromPassword(password);
|
||||
byte[] decrypted = EncryptionHelper.decrypt(key, encrypted);
|
||||
|
||||
ArrayList<Entry> entries = DatabaseHelper.stringToEntries(new String(decrypted, StandardCharsets.UTF_8));
|
||||
ArrayList<Entry> entries = DatabaseHelper.stringToEntries(this, new String(decrypted, StandardCharsets.UTF_8));
|
||||
|
||||
if (! replace.isChecked()) {
|
||||
ArrayList<Entry> currentEntries = DatabaseHelper.loadDatabase(this);
|
||||
|
@ -508,7 +508,7 @@ public class BackupActivity extends BaseActivity {
|
|||
|
||||
private void doRestoreEncrypted(String content) {
|
||||
if (Tools.isExternalStorageReadable()) {
|
||||
ArrayList<Entry> entries = DatabaseHelper.stringToEntries(content);
|
||||
ArrayList<Entry> entries = DatabaseHelper.stringToEntries(this, content);
|
||||
|
||||
if (entries.size() > 0) {
|
||||
if (! replace.isChecked()) {
|
||||
|
|
|
@ -429,7 +429,9 @@ public class MainActivity extends BaseActivity
|
|||
public void onSharedPreferenceChanged(SharedPreferences prefs, String key) {
|
||||
if (key.equals(getString(R.string.settings_key_label_size)) ||
|
||||
key.equals(getString(R.string.settings_key_tap_to_reveal)) ||
|
||||
key.equals(getString(R.string.settings_key_label_scroll))) {
|
||||
key.equals(getString(R.string.settings_key_label_scroll)) ||
|
||||
key.equals(getString(R.string.settings_key_thumbnail_visible)) ||
|
||||
key.equals(getString(R.string.settings_key_thumbnail_size))) {
|
||||
adapter.notifyDataSetChanged();
|
||||
} else if (key.equals(getString(R.string.settings_key_theme)) ||
|
||||
key.equals(getString(R.string.settings_key_lang))) {
|
||||
|
|
|
@ -29,6 +29,7 @@ import org.apache.commons.codec.binary.Base32;
|
|||
import org.json.JSONArray;
|
||||
import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
import org.shadowice.flocke.andotp.Utilities.EntryThumbnail;
|
||||
import org.shadowice.flocke.andotp.Utilities.TokenCalculator;
|
||||
|
||||
import java.net.URL;
|
||||
|
@ -52,6 +53,7 @@ public class Entry {
|
|||
private static final String JSON_TYPE = "type";
|
||||
private static final String JSON_ALGORITHM = "algorithm";
|
||||
private static final String JSON_TAGS = "tags";
|
||||
private static final String JSON_THUMBNAIL = "thumbnail";
|
||||
|
||||
private OTPType type = OTPType.TOTP;
|
||||
private int period = TokenCalculator.TOTP_DEFAULT_PERIOD;
|
||||
|
@ -62,6 +64,7 @@ public class Entry {
|
|||
private String currentOTP;
|
||||
private long last_update = 0;
|
||||
public List<String> tags = new ArrayList<>();
|
||||
private EntryThumbnail.EntryThumbnails thumbnail = EntryThumbnail.EntryThumbnails.Default;
|
||||
|
||||
public Entry(){}
|
||||
|
||||
|
@ -138,19 +141,19 @@ public class Entry {
|
|||
|
||||
try {
|
||||
this.digits = jsonObj.getInt(JSON_DIGITS);
|
||||
} catch(JSONException e) {
|
||||
} catch(Exception e) {
|
||||
this.digits = TokenCalculator.TOTP_DEFAULT_DIGITS;
|
||||
}
|
||||
|
||||
try {
|
||||
this.type = OTPType.valueOf(jsonObj.getString(JSON_TYPE));
|
||||
} catch(JSONException e) {
|
||||
} catch(Exception e) {
|
||||
this.type = DEFAULT_TYPE;
|
||||
}
|
||||
|
||||
try {
|
||||
this.algorithm = TokenCalculator.HashAlgorithm.valueOf(jsonObj.getString(JSON_ALGORITHM));
|
||||
} catch (JSONException e) {
|
||||
} catch (Exception e) {
|
||||
this.algorithm = TokenCalculator.DEFAULT_ALGORITHM;
|
||||
}
|
||||
|
||||
|
@ -160,9 +163,15 @@ public class Entry {
|
|||
for(int i = 0; i < tagsArray.length(); i++) {
|
||||
this.tags.add(tagsArray.getString(i));
|
||||
}
|
||||
} catch (JSONException e) {
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
try {
|
||||
this.thumbnail = EntryThumbnail.EntryThumbnails.valueOf(jsonObj.getString(JSON_THUMBNAIL));
|
||||
} catch(Exception e) {
|
||||
this.thumbnail = EntryThumbnail.EntryThumbnails.Default;
|
||||
}
|
||||
}
|
||||
|
||||
public JSONObject toJSON() throws JSONException {
|
||||
|
@ -173,6 +182,7 @@ public class Entry {
|
|||
jsonObj.put(JSON_DIGITS, getDigits());
|
||||
jsonObj.put(JSON_TYPE, getType().toString());
|
||||
jsonObj.put(JSON_ALGORITHM, algorithm.toString());
|
||||
jsonObj.put(JSON_THUMBNAIL, getThumbnail().name());
|
||||
|
||||
JSONArray tagsArray = new JSONArray();
|
||||
for(String tag : tags){
|
||||
|
@ -227,6 +237,10 @@ public class Entry {
|
|||
|
||||
public void setTags(List<String> tags) { this.tags = tags; }
|
||||
|
||||
public EntryThumbnail.EntryThumbnails getThumbnail() { return thumbnail; }
|
||||
|
||||
public void setThumbnail( EntryThumbnail.EntryThumbnails value) { thumbnail = value; }
|
||||
|
||||
public TokenCalculator.HashAlgorithm getAlgorithm() {
|
||||
return this.algorithm;
|
||||
}
|
||||
|
|
|
@ -22,11 +22,11 @@
|
|||
|
||||
package org.shadowice.flocke.andotp.Preferences;
|
||||
|
||||
import android.app.AlertDialog;
|
||||
import android.content.Context;
|
||||
import android.content.res.TypedArray;
|
||||
import android.preference.DialogPreference;
|
||||
import android.support.design.widget.TextInputEditText;
|
||||
import android.app.AlertDialog;
|
||||
import android.support.design.widget.TextInputLayout;
|
||||
import android.text.Editable;
|
||||
import android.text.InputType;
|
||||
|
|
|
@ -65,7 +65,7 @@ public class DatabaseHelper {
|
|||
SecretKey key = KeyStoreHelper.loadOrGenerateWrappedKey(context, new File(context.getFilesDir() + "/" + KEY_FILE));
|
||||
data = EncryptionHelper.decrypt(key, data);
|
||||
|
||||
entries = stringToEntries(new String(data));
|
||||
entries = stringToEntries(context, new String(data));
|
||||
} catch (Exception error) {
|
||||
error.printStackTrace();
|
||||
}
|
||||
|
@ -89,14 +89,15 @@ public class DatabaseHelper {
|
|||
return json.toString();
|
||||
}
|
||||
|
||||
public static ArrayList<Entry> stringToEntries(String data) {
|
||||
public static ArrayList<Entry> stringToEntries(Context context, String data) {
|
||||
ArrayList<Entry> entries = new ArrayList<>();
|
||||
|
||||
try {
|
||||
JSONArray json = new JSONArray(data);
|
||||
|
||||
for (int i = 0; i < json.length(); i++) {
|
||||
entries.add(new Entry(json.getJSONObject(i)));
|
||||
Entry entry = new Entry(json.getJSONObject(i));
|
||||
entries.add(entry);
|
||||
}
|
||||
} catch (Exception error) {
|
||||
error.printStackTrace();
|
||||
|
@ -119,7 +120,7 @@ public class DatabaseHelper {
|
|||
ArrayList<Entry> entries = null;
|
||||
|
||||
if (! content.isEmpty())
|
||||
entries = stringToEntries(content);
|
||||
entries = stringToEntries(context, content);
|
||||
|
||||
return entries;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,81 @@
|
|||
package org.shadowice.flocke.andotp.Utilities;
|
||||
|
||||
import android.util.DisplayMetrics;
|
||||
import android.util.TypedValue;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
public class DimensionConverter {
|
||||
|
||||
// -- Initialize dimension string to constant lookup.
|
||||
public static final Map<String, Integer> dimensionConstantLookup = initDimensionConstantLookup();
|
||||
private static Map<String, Integer> initDimensionConstantLookup() {
|
||||
Map<String, Integer> m = new HashMap<String, Integer>();
|
||||
m.put("px", TypedValue.COMPLEX_UNIT_PX);
|
||||
m.put("dip", TypedValue.COMPLEX_UNIT_DIP);
|
||||
m.put("dp", TypedValue.COMPLEX_UNIT_DIP);
|
||||
m.put("sp", TypedValue.COMPLEX_UNIT_SP);
|
||||
m.put("pt", TypedValue.COMPLEX_UNIT_PT);
|
||||
m.put("in", TypedValue.COMPLEX_UNIT_IN);
|
||||
m.put("mm", TypedValue.COMPLEX_UNIT_MM);
|
||||
return Collections.unmodifiableMap(m);
|
||||
}
|
||||
// -- Initialize pattern for dimension string.
|
||||
private static final Pattern DIMENSION_PATTERN = Pattern.compile("^\\s*(\\d+(\\.\\d+)*)\\s*([a-zA-Z]+)\\s*$");
|
||||
|
||||
public static int stringToDimensionPixelSize(String dimension, DisplayMetrics metrics) {
|
||||
// -- Mimics TypedValue.complexToDimensionPixelSize(int data, DisplayMetrics metrics).
|
||||
InternalDimension internalDimension = stringToInternalDimension(dimension);
|
||||
final float value = internalDimension.value;
|
||||
final float f = TypedValue.applyDimension(internalDimension.unit, value, metrics);
|
||||
final int res = (int)(f+0.5f);
|
||||
if (res != 0) return res;
|
||||
if (value == 0) return 0;
|
||||
if (value > 0) return 1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
public static float stringToDimension(String dimension, DisplayMetrics metrics) {
|
||||
// -- Mimics TypedValue.complexToDimension(int data, DisplayMetrics metrics).
|
||||
InternalDimension internalDimension = stringToInternalDimension(dimension);
|
||||
return TypedValue.applyDimension(internalDimension.unit, internalDimension.value, metrics);
|
||||
}
|
||||
|
||||
private static InternalDimension stringToInternalDimension(String dimension) {
|
||||
// -- Match target against pattern.
|
||||
Matcher matcher = DIMENSION_PATTERN.matcher(dimension);
|
||||
if (matcher.matches()) {
|
||||
// -- Match found.
|
||||
// -- Extract value.
|
||||
float value = Float.valueOf(matcher.group(1)).floatValue();
|
||||
// -- Extract dimension units.
|
||||
String unit = matcher.group(3).toLowerCase();
|
||||
// -- Get Android dimension constant.
|
||||
Integer dimensionUnit = dimensionConstantLookup.get(unit);
|
||||
if (dimensionUnit == null) {
|
||||
// -- Invalid format.
|
||||
throw new NumberFormatException();
|
||||
} else {
|
||||
// -- Return valid dimension.
|
||||
return new InternalDimension(value, dimensionUnit);
|
||||
}
|
||||
} else {
|
||||
// -- Invalid format.
|
||||
throw new NumberFormatException();
|
||||
}
|
||||
}
|
||||
|
||||
private static class InternalDimension {
|
||||
float value;
|
||||
int unit;
|
||||
|
||||
public InternalDimension(float value, int unit) {
|
||||
this.value = value;
|
||||
this.unit = unit;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,101 @@
|
|||
package org.shadowice.flocke.andotp.Utilities;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.BitmapFactory;
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.drawable.Drawable;
|
||||
|
||||
import org.shadowice.flocke.andotp.R;
|
||||
|
||||
public class EntryThumbnail {
|
||||
private enum AssetType {
|
||||
Bitmap,
|
||||
Vector
|
||||
}
|
||||
|
||||
public enum EntryThumbnails {
|
||||
Default(R.mipmap.ic_launcher_round),
|
||||
Amazon(R.drawable.thumb_amazon),
|
||||
AmazonWebServices(R.drawable.thumb_amazonwebservices),
|
||||
AngelList(R.drawable.thumb_angellist),
|
||||
Apple(R.drawable.thumb_apple),
|
||||
BattleNet(R.drawable.thumb_battlenet),
|
||||
BitBucket(R.drawable.thumb_bitbucket),
|
||||
Bitcoin(R.drawable.thumb_bitcoin),
|
||||
Bitstamp(R.mipmap.thumb_bitstamp, AssetType.Bitmap),
|
||||
Bitwarden(R.mipmap.thumb_bitwarden, AssetType.Bitmap),
|
||||
Cloudflare(R.drawable.thumb_cloudflare),
|
||||
Coinbase(R.drawable.thumb_coinbase),
|
||||
CozyCloud(R.drawable.thumb_cozycloud),
|
||||
DigitalOcean(R.drawable.thumb_digital_ocean),
|
||||
Discord(R.drawable.thumb_discord),
|
||||
Dropbox(R.drawable.thumb_dropbox),
|
||||
Facebook(R.drawable.thumb_facebook),
|
||||
Git(R.drawable.thumb_git),
|
||||
Github(R.drawable.thumb_github),
|
||||
Gitlab(R.drawable.thumb_gitlab),
|
||||
Google(R.drawable.thumb_google),
|
||||
IFTTT(R.drawable.thumb_ifttt),
|
||||
Kickstarter(R.drawable.thumb_kickstarter),
|
||||
LastPass(R.drawable.thumb_lastpass),
|
||||
Mailgun(R.drawable.thumb_mailgun),
|
||||
Mastodon(R.drawable.thumb_mastodon),
|
||||
Microsoft(R.drawable.thumb_microsoft),
|
||||
NextCloud(R.drawable.thumb_nextcloud),
|
||||
Origin(R.drawable.thumb_origin),
|
||||
PayPal(R.drawable.thumb_paypal),
|
||||
ProtonMail(R.drawable.thumb_protonmail),
|
||||
RSS(R.drawable.thumb_rss),
|
||||
Slack(R.drawable.thumb_slack),
|
||||
Steam(R.drawable.thumb_steam),
|
||||
Stripe(R.drawable.thumb_stripe),
|
||||
Twitch(R.drawable.thumb_twitch),
|
||||
Twitter(R.drawable.thumb_twitter),
|
||||
Wordpress(R.drawable.thumb_wordpress);
|
||||
|
||||
private int resource;
|
||||
private AssetType assetType;
|
||||
|
||||
EntryThumbnails(int resource) {
|
||||
this.resource = resource;
|
||||
this.assetType = AssetType.Vector;
|
||||
}
|
||||
|
||||
EntryThumbnails(int resource, AssetType assetType) {
|
||||
this.resource = resource;
|
||||
this.assetType = assetType;
|
||||
}
|
||||
|
||||
public int getResource() {
|
||||
return resource;
|
||||
}
|
||||
public AssetType getAssetType() {
|
||||
return assetType;
|
||||
}
|
||||
}
|
||||
|
||||
public static Bitmap getThumbnailGraphic(Context context, String label, int size, EntryThumbnails thumbnail) {
|
||||
if(thumbnail == EntryThumbnails.Default) {
|
||||
LetterBitmap letterBitmap = new LetterBitmap(context);
|
||||
return letterBitmap.getLetterTile(label, label, size, size);
|
||||
}
|
||||
|
||||
try {
|
||||
if(thumbnail.getAssetType() == AssetType.Vector) {
|
||||
Drawable drawable = context.getResources().getDrawable(thumbnail.getResource());
|
||||
Bitmap bitmap = Bitmap.createBitmap(drawable.getMinimumWidth(), drawable.getMinimumHeight(), Bitmap.Config.ARGB_8888);
|
||||
Canvas canvas = new Canvas(bitmap);
|
||||
drawable.setBounds(0, 0, drawable.getMinimumWidth(), drawable.getMinimumHeight());
|
||||
drawable.draw(canvas);
|
||||
return bitmap;
|
||||
} else {
|
||||
return BitmapFactory.decodeResource(context.getResources(), thumbnail.getResource());
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
return BitmapFactory.decodeResource(context.getResources(), R.mipmap.ic_launcher_round);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,133 @@
|
|||
package org.shadowice.flocke.andotp.Utilities;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.Resources;
|
||||
import android.content.res.TypedArray;
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.BitmapFactory;
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.Color;
|
||||
import android.graphics.Paint;
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.Typeface;
|
||||
import android.text.TextPaint;
|
||||
|
||||
import org.shadowice.flocke.andotp.R;
|
||||
|
||||
/**
|
||||
* Orginal http://stackoverflow.com/questions/23122088/colored-boxed-with-letters-a-la-gmail
|
||||
* Used to create a {@link Bitmap} that contains a letter used in the English
|
||||
* alphabet or digit, if there is no letter or digit available, a default image
|
||||
* is shown instead.
|
||||
*
|
||||
* Only English language supported.
|
||||
*/
|
||||
class LetterBitmap {
|
||||
|
||||
/**
|
||||
* The number of available tile colors
|
||||
*/
|
||||
private static final int NUM_OF_TILE_COLORS = 8;
|
||||
|
||||
/**
|
||||
* The {@link TextPaint} used to draw the letter onto the tile
|
||||
*/
|
||||
private final TextPaint mPaint = new TextPaint();
|
||||
/**
|
||||
* The bounds that enclose the letter
|
||||
*/
|
||||
private final Rect mBounds = new Rect();
|
||||
/**
|
||||
* The {@link Canvas} to draw on
|
||||
*/
|
||||
private final Canvas mCanvas = new Canvas();
|
||||
/**
|
||||
* The first char of the name being displayed
|
||||
*/
|
||||
private final char[] mFirstChar = new char[1];
|
||||
|
||||
/**
|
||||
* The background colors of the tile
|
||||
*/
|
||||
private final TypedArray mColors;
|
||||
/**
|
||||
* The font size used to display the letter
|
||||
*/
|
||||
private final int mTileLetterFontSize;
|
||||
/**
|
||||
* The default image to display
|
||||
*/
|
||||
private final Bitmap mDefaultBitmap;
|
||||
|
||||
/**
|
||||
* Constructor for <code>LetterTileProvider</code>
|
||||
*
|
||||
* @param context The {@link Context} to use
|
||||
*/
|
||||
public LetterBitmap(Context context) {
|
||||
final Resources res = context.getResources();
|
||||
|
||||
mPaint.setTypeface(Typeface.create("sans-serif-light", Typeface.BOLD));
|
||||
mPaint.setColor(Color.WHITE);
|
||||
mPaint.setTextAlign(Paint.Align.CENTER);
|
||||
mPaint.setAntiAlias(true);
|
||||
|
||||
mColors = res.obtainTypedArray(R.array.letter_tile_colors);
|
||||
mTileLetterFontSize = res.getDimensionPixelSize(R.dimen.tile_letter_font_size);
|
||||
|
||||
mDefaultBitmap = BitmapFactory.decodeResource(res, android.R.drawable.sym_def_app_icon);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param displayName The name used to create the letter for the tile
|
||||
* @param key The key used to generate the background color for the tile
|
||||
* @param width The desired width of the tile
|
||||
* @param height The desired height of the tile
|
||||
* @return A {@link Bitmap} that contains a letter used in the English
|
||||
* alphabet or digit, if there is no letter or digit available, a
|
||||
* default image is shown instead
|
||||
*/
|
||||
public Bitmap getLetterTile(String displayName, String key, int width, int height) {
|
||||
final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
|
||||
char firstChar = displayName.charAt(0);
|
||||
|
||||
final Canvas c = mCanvas;
|
||||
c.setBitmap(bitmap);
|
||||
c.drawColor(pickColor(key));
|
||||
|
||||
if (!isEnglishLetterOrDigit(firstChar)) {
|
||||
firstChar = 'A';
|
||||
}
|
||||
mFirstChar[0] = Character.toUpperCase(firstChar);
|
||||
mPaint.setTextSize(mTileLetterFontSize);
|
||||
mPaint.getTextBounds(mFirstChar, 0, 1, mBounds);
|
||||
c.drawText(mFirstChar, 0, 1, width / 2, height / 2
|
||||
+ (mBounds.bottom - mBounds.top) / 2, mPaint);
|
||||
return bitmap;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param c The char to check
|
||||
* @return True if <code>c</code> is in the English alphabet or is a digit,
|
||||
* false otherwise
|
||||
*/
|
||||
private static boolean isEnglishLetterOrDigit(char c) {
|
||||
return 'A' <= c && c <= 'Z' || 'a' <= c && c <= 'z' || '0' <= c && c <= '9';
|
||||
}
|
||||
|
||||
/**
|
||||
* @param key The key used to generate the tile color
|
||||
* @return A new or previously chosen color for <code>key</code> used as the
|
||||
* tile background color
|
||||
*/
|
||||
private int pickColor(String key) {
|
||||
// String.hashCode() is not supposed to change across java versions, so
|
||||
// this should guarantee the same key always maps to the same color
|
||||
final int color = Math.abs(key.hashCode()) % NUM_OF_TILE_COLORS;
|
||||
try {
|
||||
return mColors.getColor(color, Color.BLACK);
|
||||
} finally {
|
||||
mColors.recycle();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -330,4 +330,18 @@ public class Settings {
|
|||
toggledTags.add(tag);
|
||||
setStringSet(R.string.settings_key_tags_toggles, toggledTags);
|
||||
}
|
||||
|
||||
public boolean getThumbnailVisible() {
|
||||
return getBoolean(R.string.settings_key_thumbnail_visible, true);
|
||||
}
|
||||
|
||||
public int getThumbnailSize() {
|
||||
try {
|
||||
String dimen = getString(R.string.settings_key_thumbnail_size, context.getResources().getString(R.string.settings_default_thumbnail_size));
|
||||
return DimensionConverter.stringToDimensionPixelSize(dimen, context.getResources().getDisplayMetrics());
|
||||
} catch(Exception e) {
|
||||
e.printStackTrace();
|
||||
return context.getResources().getDimensionPixelSize(R.dimen.card_thumbnail_size);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,25 +31,29 @@ import android.content.SharedPreferences;
|
|||
import android.preference.PreferenceManager;
|
||||
import android.support.v7.widget.PopupMenu;
|
||||
import android.support.v7.widget.RecyclerView;
|
||||
import android.text.Editable;
|
||||
import android.text.TextWatcher;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.MenuInflater;
|
||||
import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.AdapterView;
|
||||
import android.widget.EditText;
|
||||
import android.widget.Filter;
|
||||
import android.widget.Filterable;
|
||||
import android.widget.FrameLayout;
|
||||
import android.widget.GridView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.Toast;
|
||||
|
||||
import org.shadowice.flocke.andotp.Database.Entry;
|
||||
import org.shadowice.flocke.andotp.R;
|
||||
import org.shadowice.flocke.andotp.Utilities.DatabaseHelper;
|
||||
import org.shadowice.flocke.andotp.Utilities.EntryThumbnail;
|
||||
import org.shadowice.flocke.andotp.Utilities.Settings;
|
||||
import org.shadowice.flocke.andotp.Utilities.TagDialogHelper;
|
||||
import org.shadowice.flocke.andotp.View.ItemTouchHelper.ItemTouchHelperAdapter;
|
||||
import org.shadowice.flocke.andotp.R;
|
||||
|
||||
import static org.shadowice.flocke.andotp.Utilities.Settings.SortMode;
|
||||
|
||||
import java.text.Collator;
|
||||
import java.util.ArrayList;
|
||||
|
@ -60,6 +64,8 @@ import java.util.HashSet;
|
|||
import java.util.List;
|
||||
import java.util.concurrent.Callable;
|
||||
|
||||
import static org.shadowice.flocke.andotp.Utilities.Settings.SortMode;
|
||||
|
||||
public class EntriesCardAdapter extends RecyclerView.Adapter<EntryViewHolder>
|
||||
implements ItemTouchHelperAdapter, Filterable {
|
||||
private Context context;
|
||||
|
@ -154,7 +160,7 @@ public class EntriesCardAdapter extends RecyclerView.Adapter<EntryViewHolder>
|
|||
public void onBindViewHolder(EntryViewHolder entryViewHolder, int i) {
|
||||
Entry entry = displayedEntries.get(i);
|
||||
|
||||
entryViewHolder.updateValues(entry.getLabel(), entry.getCurrentOTP(), entry.getTags());
|
||||
entryViewHolder.updateValues(entry.getLabel(), entry.getCurrentOTP(), entry.getTags(), entry.getThumbnail());
|
||||
|
||||
if (entry.hasNonDefaultPeriod()) {
|
||||
entryViewHolder.showCustomPeriod(entry.getPeriod());
|
||||
|
@ -171,6 +177,9 @@ public class EntriesCardAdapter extends RecyclerView.Adapter<EntryViewHolder>
|
|||
int fontSize = sharedPrefs.getInt(context.getString(R.string.settings_key_label_size), context.getResources().getInteger(R.integer.settings_default_label_size));
|
||||
entryViewHolder.setLabelSize(fontSize);
|
||||
|
||||
int thumbnailSize = settings.getThumbnailSize();
|
||||
entryViewHolder.setThumbnailSize(thumbnailSize);
|
||||
|
||||
entryViewHolder.setLabelScroll(sharedPrefs.getBoolean(context.getString(R.string.settings_key_label_scroll), false));
|
||||
}
|
||||
|
||||
|
@ -251,7 +260,9 @@ public class EntriesCardAdapter extends RecyclerView.Adapter<EntryViewHolder>
|
|||
notifyItemChanged(pos);
|
||||
}
|
||||
|
||||
entries.get(realIndex).setLabel(newLabel);
|
||||
Entry e = entries.get(realIndex);
|
||||
e.setLabel(newLabel);
|
||||
|
||||
DatabaseHelper.saveDatabase(context, entries);
|
||||
}
|
||||
})
|
||||
|
@ -263,6 +274,86 @@ public class EntriesCardAdapter extends RecyclerView.Adapter<EntryViewHolder>
|
|||
.show();
|
||||
}
|
||||
|
||||
public void changeThumbnail(final int pos) {
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(context);
|
||||
|
||||
int marginSmall = context.getResources().getDimensionPixelSize(R.dimen.activity_margin_small);
|
||||
int marginMedium = context.getResources().getDimensionPixelSize(R.dimen.activity_margin_medium);
|
||||
|
||||
int realIndex = getRealIndex(pos);
|
||||
final ThumbnailSelectionAdapter thumbnailAdapter = new ThumbnailSelectionAdapter(context, entries.get(realIndex).getLabel());
|
||||
|
||||
final EditText input = new EditText(context);
|
||||
input.setLayoutParams(new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT));
|
||||
input.setSingleLine();
|
||||
|
||||
input.addTextChangedListener(new TextWatcher() {
|
||||
@Override
|
||||
public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {}
|
||||
|
||||
@Override
|
||||
public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {}
|
||||
|
||||
@Override
|
||||
public void afterTextChanged(Editable editable) {
|
||||
thumbnailAdapter.filter(editable.toString());
|
||||
}
|
||||
});
|
||||
|
||||
GridView grid = new GridView(context);
|
||||
grid.setAdapter(thumbnailAdapter);
|
||||
grid.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT));
|
||||
|
||||
int thumbnailSize = settings.getThumbnailSize();
|
||||
grid.setColumnWidth(thumbnailSize);
|
||||
grid.setNumColumns(GridView.AUTO_FIT);
|
||||
grid.setVerticalSpacing(context.getResources().getDimensionPixelSize(R.dimen.activity_margin_medium));
|
||||
grid.setHorizontalSpacing(context.getResources().getDimensionPixelSize(R.dimen.activity_margin_medium));
|
||||
grid.setStretchMode(GridView.STRETCH_COLUMN_WIDTH);
|
||||
|
||||
LinearLayout layout = new LinearLayout(context);
|
||||
layout.setOrientation(LinearLayout.VERTICAL);
|
||||
layout.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT));
|
||||
layout.addView(input);
|
||||
layout.addView(grid);
|
||||
|
||||
FrameLayout container = new FrameLayout(context);
|
||||
container.setPaddingRelative(marginMedium, marginSmall, marginMedium, 0);
|
||||
container.addView(layout);
|
||||
|
||||
final AlertDialog alert = builder.setTitle(R.string.menu_popup_change_image)
|
||||
.setView(container)
|
||||
.setNegativeButton(android.R.string.cancel, new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialogInterface, int i) {}
|
||||
})
|
||||
.create();
|
||||
|
||||
grid.setOnItemClickListener(new AdapterView.OnItemClickListener() {
|
||||
@Override
|
||||
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
|
||||
int realIndex = getRealIndex(pos);
|
||||
EntryThumbnail.EntryThumbnails thumbnail = EntryThumbnail.EntryThumbnails.Default;
|
||||
try {
|
||||
int realPos = thumbnailAdapter.getRealIndex(position);
|
||||
thumbnail = EntryThumbnail.EntryThumbnails.values()[realPos];
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
Entry e = entries.get(realIndex);
|
||||
e.setThumbnail(thumbnail);
|
||||
|
||||
DatabaseHelper.saveDatabase(context, entries);
|
||||
notifyItemChanged(pos);
|
||||
alert.cancel();
|
||||
}
|
||||
});
|
||||
|
||||
alert.show();
|
||||
}
|
||||
|
||||
|
||||
public void editEntryTags(final int pos) {
|
||||
final int realPos = getRealIndex(pos);
|
||||
final Entry entry = entries.get(realPos);
|
||||
|
@ -347,6 +438,9 @@ public class EntriesCardAdapter extends RecyclerView.Adapter<EntryViewHolder>
|
|||
if (id == R.id.menu_popup_editLabel) {
|
||||
editEntryLabel(pos);
|
||||
return true;
|
||||
} else if(id == R.id.menu_popup_changeImage) {
|
||||
changeThumbnail(pos);
|
||||
return true;
|
||||
} else if (id == R.id.menu_popup_editTags) {
|
||||
editEntryTags(pos);
|
||||
return true;
|
||||
|
|
|
@ -33,9 +33,11 @@ import android.widget.ImageView;
|
|||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
|
||||
import org.shadowice.flocke.andotp.R;
|
||||
import org.shadowice.flocke.andotp.Utilities.EntryThumbnail;
|
||||
import org.shadowice.flocke.andotp.Utilities.Settings;
|
||||
import org.shadowice.flocke.andotp.Utilities.Tools;
|
||||
import org.shadowice.flocke.andotp.View.ItemTouchHelper.ItemTouchHelperViewHolder;
|
||||
import org.shadowice.flocke.andotp.R;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -51,12 +53,12 @@ public class EntryViewHolder extends RecyclerView.ViewHolder
|
|||
private LinearLayout coverLayout;
|
||||
private LinearLayout customPeriodLayout;
|
||||
private ImageView visibleImg;
|
||||
private ImageView thumbnailImg;
|
||||
private TextView value;
|
||||
private TextView label;
|
||||
private TextView tags;
|
||||
private TextView customPeriod;
|
||||
|
||||
|
||||
public EntryViewHolder(Context context, final View v) {
|
||||
super(v);
|
||||
|
||||
|
@ -66,6 +68,7 @@ public class EntryViewHolder extends RecyclerView.ViewHolder
|
|||
value = v.findViewById(R.id.valueText);
|
||||
valueLayout = v.findViewById(R.id.valueLayout);
|
||||
visibleImg = v.findViewById(R.id.valueImg);
|
||||
thumbnailImg = v.findViewById(R.id.thumbnailImg);
|
||||
coverLayout = v.findViewById(R.id.coverLayout);
|
||||
label = v.findViewById(R.id.textViewLabel);
|
||||
tags = v.findViewById(R.id.textViewTags);
|
||||
|
@ -102,7 +105,9 @@ public class EntryViewHolder extends RecyclerView.ViewHolder
|
|||
});
|
||||
}
|
||||
|
||||
public void updateValues(String label, String token, List<String> tags) {
|
||||
public void updateValues(String label, String token, List<String> tags, EntryThumbnail.EntryThumbnails thumbnail) {
|
||||
Settings settings = new Settings(context);
|
||||
|
||||
this.label.setText(label);
|
||||
value.setText(token);
|
||||
|
||||
|
@ -120,6 +125,11 @@ public class EntryViewHolder extends RecyclerView.ViewHolder
|
|||
} else {
|
||||
this.tags.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
thumbnailImg.setVisibility(settings.getThumbnailVisible() ? View.VISIBLE : View.GONE);
|
||||
|
||||
int thumbnailSize = settings.getThumbnailSize();
|
||||
thumbnailImg.setImageBitmap(EntryThumbnail.getThumbnailGraphic(context, label, thumbnailSize, thumbnail));
|
||||
}
|
||||
|
||||
public void showCustomPeriod(int period) {
|
||||
|
@ -136,6 +146,12 @@ public class EntryViewHolder extends RecyclerView.ViewHolder
|
|||
tags.setTextSize(0.75f * size);
|
||||
}
|
||||
|
||||
public void setThumbnailSize(int size) {
|
||||
thumbnailImg.getLayoutParams().height = size;
|
||||
thumbnailImg.getLayoutParams().width = size;
|
||||
thumbnailImg.requestLayout();
|
||||
}
|
||||
|
||||
public void setLabelScroll(boolean active) {
|
||||
if (active) {
|
||||
label.setEllipsize(TextUtils.TruncateAt.MARQUEE);
|
||||
|
|
|
@ -0,0 +1,81 @@
|
|||
package org.shadowice.flocke.andotp.View;
|
||||
|
||||
import android.content.Context;
|
||||
import android.support.annotation.NonNull;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.BaseAdapter;
|
||||
import android.widget.GridView;
|
||||
import android.widget.ImageView;
|
||||
|
||||
import org.shadowice.flocke.andotp.Utilities.EntryThumbnail;
|
||||
import org.shadowice.flocke.andotp.Utilities.Settings;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
public class ThumbnailSelectionAdapter extends BaseAdapter {
|
||||
private Context context;
|
||||
private List items;
|
||||
private String label = "Example";
|
||||
private Settings settings;
|
||||
|
||||
ThumbnailSelectionAdapter(Context context, String label) {
|
||||
items = new ArrayList(EntryThumbnail.EntryThumbnails.values().length);
|
||||
Collections.addAll(items, EntryThumbnail.EntryThumbnails.values());
|
||||
this.label = label;
|
||||
this.context = context;
|
||||
settings = new Settings(context);
|
||||
}
|
||||
|
||||
void filter(String filter) {
|
||||
items.clear();
|
||||
for (EntryThumbnail.EntryThumbnails thumb : EntryThumbnail.EntryThumbnails.values()) {
|
||||
if(thumb.name().toLowerCase().contains(filter.toLowerCase())) {
|
||||
items.add(thumb);
|
||||
}
|
||||
}
|
||||
notifyDataSetChanged();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getCount() {
|
||||
return items.size();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getItem(int i) {
|
||||
if(i < getCount())
|
||||
return items.get(i);
|
||||
else
|
||||
return EntryThumbnail.EntryThumbnails.Default;
|
||||
}
|
||||
|
||||
public int getRealIndex(int displayPosition) {
|
||||
return ((EntryThumbnail.EntryThumbnails)getItem(displayPosition)).ordinal();
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getItemId(int i) {
|
||||
return ((EntryThumbnail.EntryThumbnails) getItem(i)).ordinal();
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public View getView(int i, View view, @NonNull ViewGroup viewGroup) {
|
||||
int thumbnailSize = settings.getThumbnailSize();
|
||||
ImageView imageView;
|
||||
if (view == null) {
|
||||
imageView = new ImageView(context);
|
||||
imageView.setLayoutParams(new GridView.LayoutParams(thumbnailSize, thumbnailSize));
|
||||
} else {
|
||||
imageView = (ImageView) view;
|
||||
}
|
||||
|
||||
EntryThumbnail.EntryThumbnails thumb = (EntryThumbnail.EntryThumbnails)getItem(i);
|
||||
|
||||
imageView.setImageBitmap(EntryThumbnail.getThumbnailGraphic(context, label, thumbnailSize, thumb));
|
||||
return imageView;
|
||||
}
|
||||
}
|
21
app/src/main/res/drawable/thumb_amazon.xml
Normal file
21
app/src/main/res/drawable/thumb_amazon.xml
Normal file
|
@ -0,0 +1,21 @@
|
|||
<vector android:height="90dp" android:viewportHeight="181.49922"
|
||||
android:viewportWidth="602.27954" android:width="301dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillAlpha="1" android:fillColor="#ff9900"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="m373.64,141.94c-35,25.8 -85.73,39.56 -129.41,39.56 -61.24,0 -116.38,-22.65 -158.09,-60.32 -3.28,-2.96 -0.34,-7 3.59,-4.69 45.01,26.19 100.67,41.95 158.17,41.95 38.77,0 81.43,-8.02 120.65,-24.67 5.93,-2.52 10.88,3.88 5.09,8.18" android:strokeColor="#00000000"/>
|
||||
<path android:fillAlpha="1" android:fillColor="#ff9900"
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="m388.19,125.29c-4.46,-5.72 -29.57,-2.7 -40.85,-1.36 -3.43,0.42 -3.96,-2.57 -0.87,-4.72 20,-14.08 52.83,-10.01 56.65,-5.3 3.83,4.75 -1,37.65 -19.79,53.35 -2.88,2.41 -5.64,1.13 -4.35,-2.07 4.22,-10.54 13.69,-34.16 9.2,-39.9" android:strokeColor="#00000000"/>
|
||||
<path android:fillColor="#221f1f" android:fillType="evenOdd"
|
||||
android:pathData="m348.13,19.82 l0,-13.69c0,-2.07 1.57,-3.46 3.46,-3.46l61.27,0c1.97,0 3.54,1.42 3.54,3.46l0,11.72c-0.03,1.97 -1.68,4.54 -4.61,8.6l-31.75,45.33c11.8,-0.29 24.25,1.47 34.95,7.5 2.41,1.36 3.07,3.36 3.25,5.32l0,14.6c0,1.99 -2.2,4.33 -4.51,3.12 -18.85,-9.88 -43.89,-10.96 -64.73,0.1 -2.12,1.15 -4.35,-1.15 -4.35,-3.15l0,-13.87c0,-2.23 0.03,-6.03 2.25,-9.41l36.78,-52.75 -32.01,0c-1.97,0 -3.54,-1.39 -3.54,-3.43" android:strokeColor="#00000000"/>
|
||||
<path android:fillColor="#221f1f" android:fillType="evenOdd"
|
||||
android:pathData="m124.63,105.21 l-18.64,0c-1.78,-0.13 -3.2,-1.47 -3.33,-3.17l0,-95.67c0,-1.91 1.6,-3.43 3.59,-3.43l17.38,0c1.81,0.08 3.25,1.47 3.38,3.2l0,12.51 0.34,0c4.54,-12.09 13.06,-17.72 24.54,-17.72 11.67,0 18.95,5.64 24.2,17.72 4.51,-12.09 14.76,-17.72 25.74,-17.72 7.81,0 16.36,3.22 21.58,10.46 5.9,8.05 4.69,19.74 4.69,29.99l-0.03,60.38c0,1.91 -1.6,3.46 -3.59,3.46l-18.61,0c-1.86,-0.13 -3.36,-1.63 -3.36,-3.46l0,-50.7c0,-4.04 0.37,-14.1 -0.52,-17.93 -1.39,-6.42 -5.56,-8.23 -10.96,-8.23 -4.51,0 -9.23,3.01 -11.14,7.84 -1.91,4.82 -1.73,12.9 -1.73,18.33l0,50.7c0,1.91 -1.6,3.46 -3.59,3.46l-18.61,0c-1.89,-0.13 -3.36,-1.63 -3.36,-3.46l-0.03,-50.7c0,-10.67 1.76,-26.37 -11.48,-26.37 -13.4,0 -12.87,15.31 -12.87,26.37l0,50.7c0,1.91 -1.6,3.46 -3.59,3.46" android:strokeColor="#00000000"/>
|
||||
<path android:fillColor="#221f1f" android:fillType="evenOdd"
|
||||
android:pathData="m469.15,0.92c27.66,0 42.63,23.75 42.63,53.95 0,29.18 -16.54,52.33 -42.63,52.33 -27.16,0 -41.95,-23.75 -41.95,-53.35 0,-29.78 14.97,-52.93 41.95,-52.93m0.16,19.53c-13.74,0 -14.6,18.72 -14.6,30.39 0,11.69 -0.18,36.65 14.45,36.65 14.45,0 15.13,-20.13 15.13,-32.4 0,-8.07 -0.34,-17.72 -2.78,-25.38 -2.1,-6.66 -6.27,-9.25 -12.19,-9.25" android:strokeColor="#00000000"/>
|
||||
<path android:fillColor="#221f1f" android:fillType="evenOdd"
|
||||
android:pathData="m547.64,105.21 l-18.56,0c-1.86,-0.13 -3.36,-1.63 -3.36,-3.46l-0.03,-95.69c0.16,-1.76 1.7,-3.12 3.59,-3.12l17.28,0c1.63,0.08 2.96,1.18 3.33,2.67l0,14.63 0.34,0c5.22,-13.08 12.53,-19.32 25.4,-19.32 8.36,0 16.52,3.01 21.76,11.27 4.88,7.66 4.88,20.53 4.88,29.78l0,60.22c-0.21,1.68 -1.76,3.01 -3.59,3.01l-18.69,0c-1.7,-0.13 -3.12,-1.39 -3.3,-3.01l0,-51.96c0,-10.46 1.21,-25.77 -11.67,-25.77 -4.54,0 -8.7,3.04 -10.78,7.66 -2.62,5.85 -2.96,11.67 -2.96,18.12l0,51.52c-0.03,1.91 -1.65,3.46 -3.64,3.46" android:strokeColor="#00000000"/>
|
||||
<path android:fillColor="#221f1f" android:fillType="evenOdd"
|
||||
android:pathData="m299.29,59.51c0,7.26 0.18,13.32 -3.49,19.77 -2.96,5.24 -7.68,8.47 -12.9,8.47 -7.16,0 -11.35,-5.45 -11.35,-13.5 0,-15.89 14.24,-18.77 27.74,-18.77l0,4.04m18.8,45.43c-1.23,1.1 -3.01,1.18 -4.4,0.45 -6.19,-5.14 -7.31,-7.52 -10.7,-12.43 -10.22,10.43 -17.49,13.55 -30.73,13.55 -15.7,0 -27.89,-9.67 -27.89,-29.05 0,-15.13 8.18,-25.43 19.87,-30.46 10.12,-4.46 24.25,-5.24 35.05,-6.48l0,-2.41c0,-4.43 0.34,-9.67 -2.28,-13.5 -2.25,-3.43 -6.61,-4.85 -10.46,-4.85 -7.1,0 -13.42,3.64 -14.97,11.19 -0.31,1.68 -1.55,3.33 -3.25,3.41l-18.06,-1.94c-1.52,-0.34 -3.22,-1.57 -2.78,-3.91 4.14,-21.92 23.96,-28.52 41.68,-28.52 9.07,0 20.92,2.41 28.08,9.28 9.07,8.47 8.21,19.77 8.21,32.06l0,29.05c0,8.73 3.62,12.56 7.03,17.28 1.18,1.68 1.44,3.7 -0.08,4.95 -3.8,3.17 -10.57,9.07 -14.29,12.37l-0.03,-0.05" android:strokeColor="#00000000"/>
|
||||
<path android:fillColor="#221f1f" android:fillType="evenOdd"
|
||||
android:pathData="m54.92,59.51c0,7.26 0.18,13.32 -3.49,19.77 -2.96,5.24 -7.66,8.47 -12.9,8.47 -7.16,0 -11.33,-5.45 -11.33,-13.5 0,-15.89 14.24,-18.77 27.71,-18.77l0,4.04m18.8,45.43c-1.23,1.1 -3.01,1.18 -4.4,0.45 -6.19,-5.14 -7.29,-7.52 -10.7,-12.43 -10.22,10.43 -17.46,13.55 -30.73,13.55 -15.68,0 -27.89,-9.67 -27.89,-29.05 0,-15.13 8.21,-25.43 19.87,-30.46 10.12,-4.46 24.25,-5.24 35.05,-6.48l0,-2.41c0,-4.43 0.34,-9.67 -2.25,-13.5 -2.28,-3.43 -6.63,-4.85 -10.46,-4.85 -7.1,0 -13.45,3.64 -15,11.19 -0.31,1.68 -1.55,3.33 -3.22,3.41l-18.09,-1.94c-1.52,-0.34 -3.2,-1.57 -2.78,-3.91 4.17,-21.92 23.96,-28.52 41.68,-28.52 9.07,0 20.92,2.41 28.08,9.28 9.07,8.47 8.21,19.77 8.21,32.06l0,29.05c0,8.73 3.62,12.56 7.03,17.28 1.21,1.68 1.47,3.7 -0.05,4.95 -3.8,3.17 -10.57,9.07 -14.29,12.37l-0.05,-0.05" android:strokeColor="#00000000"/>
|
||||
</vector>
|
17
app/src/main/res/drawable/thumb_amazonwebservices.xml
Normal file
17
app/src/main/res/drawable/thumb_amazonwebservices.xml
Normal file
|
@ -0,0 +1,17 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="304dp"
|
||||
android:height="182dp"
|
||||
android:viewportWidth="304.0"
|
||||
android:viewportHeight="182.0">
|
||||
<path
|
||||
android:pathData="M86.4,66.4c0,3.7 0.4,6.7 1.1,8.9c0.8,2.2 1.8,4.6 3.2,7.2c0.5,0.8 0.7,1.6 0.7,2.3c0,1 -0.6,2 -1.9,3l-6.3,4.2c-0.9,0.6 -1.8,0.9 -2.6,0.9c-1,0 -2,-0.5 -3,-1.4C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.3v4.7c0,2.1 -0.8,3.2 -2.3,3.2c-0.8,0 -2.1,-0.4 -3.8,-1.2c-5.7,-2.6 -12.1,-3.9 -19.2,-3.9c-5.7,0 -10.2,0.9 -13.3,2.8c-3.1,1.9 -4.7,4.8 -4.7,8.9c0,2.8 1,5.2 3,7.1c2,1.9 5.7,3.8 11,5.5l14.2,4.5c7.2,2.3 12.4,5.5 15.5,9.6c3.1,4.1 4.6,8.8 4.6,14c0,4.3 -0.9,8.2 -2.6,11.6c-1.8,3.4 -4.2,6.4 -7.3,8.8c-3.1,2.5 -6.8,4.3 -11.1,5.6C264.4,94.4 259.7,95.1 254.6,95.1z"
|
||||
android:fillColor="#252F3E"/>
|
||||
<path
|
||||
android:pathData="M273.5,143.7c-32.9,24.3 -80.7,37.2 -121.8,37.2c-57.6,0 -109.5,-21.3 -148.7,-56.7c-3.1,-2.8 -0.3,-6.6 3.4,-4.4c42.4,24.6 94.7,39.5 148.8,39.5c36.5,0 76.6,-7.6 113.5,-23.2C274.2,133.6 278.9,139.7 273.5,143.7z"
|
||||
android:fillType="evenOdd"
|
||||
android:fillColor="#FF9900"/>
|
||||
<path
|
||||
android:pathData="M287.2,128.1c-4.2,-5.4 -27.8,-2.6 -38.5,-1.3c-3.2,0.4 -3.7,-2.4 -0.8,-4.5c18.8,-13.2 49.7,-9.4 53.3,-5c3.6,4.5 -1,35.4 -18.6,50.2c-2.7,2.3 -5.3,1.1 -4.1,-1.9C282.5,155.7 291.4,133.4 287.2,128.1z"
|
||||
android:fillType="evenOdd"
|
||||
android:fillColor="#FF9900"/>
|
||||
</vector>
|
9
app/src/main/res/drawable/thumb_angellist.xml
Normal file
9
app/src/main/res/drawable/thumb_angellist.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="256dp"
|
||||
android:height="369dp"
|
||||
android:viewportWidth="256.0"
|
||||
android:viewportHeight="369.0">
|
||||
<path
|
||||
android:pathData="M214.9,157.36C230.17,159.71 240.73,166.75 246.61,176.15C252.48,185.54 256,201.98 256,223.12C256,265.39 243.08,300.62 217.25,327.63C191.41,354.64 158.53,368.73 118.61,368.73C103.34,368.73 88.07,366.39 72.81,360.51C57.54,354.64 45.8,346.42 35.23,337.03C23.49,326.46 14.09,313.54 8.22,301.8C3.52,288.88 0,275.96 0,263.05C0,248.95 3.52,237.21 9.39,228.99C15.27,220.77 25.83,216.07 38.75,212.55C36.4,206.68 34.06,201.98 32.88,197.28C31.71,193.76 30.53,190.24 30.53,187.89C30.53,180.84 34.06,172.62 42.28,164.4C50.5,156.18 57.54,152.66 64.59,152.66C68.11,152.66 70.46,152.66 73.98,153.83C77.5,155.01 81.03,156.18 85.72,159.71C75.16,124.48 64.59,95.12 58.72,75.16C52.84,55.19 50.5,42.28 50.5,34.06C50.5,23.49 52.84,15.27 58.72,9.39C63.41,3.52 71.63,0 81.03,0C96.29,0 116.26,35.23 140.92,106.86C145.61,118.61 147.96,128 150.31,135.05C152.66,130.35 155.01,122.13 158.53,112.73C183.19,42.28 204.33,7.05 220.77,7.05C228.99,7.05 236.04,9.39 241.91,15.27C246.61,21.14 250.13,29.36 250.13,38.75C250.13,45.8 247.78,59.89 241.91,79.85C234.86,99.82 226.64,125.65 214.9,157.36L214.9,157.36ZM34.06,260.7C36.4,263.05 39.93,267.74 43.45,273.61C54.02,288.88 64.59,297.1 73.98,297.1C77.5,297.1 79.85,295.93 82.2,293.58C84.55,291.23 85.72,288.88 85.72,287.71C85.72,285.36 84.55,280.66 81.03,274.79C77.5,268.92 72.81,261.87 66.94,254.83C59.89,246.61 54.02,239.56 50.5,236.04C45.8,232.51 42.28,230.17 39.93,230.17C34.06,230.17 28.18,233.69 23.49,239.56C18.79,245.43 16.44,253.65 16.44,261.87C16.44,268.92 17.61,275.96 21.14,285.36C24.66,293.58 29.36,302.97 36.4,311.19C46.97,322.94 58.72,333.5 73.98,340.55C89.25,347.6 104.51,351.12 123.3,351.12C156.18,351.12 183.19,339.38 205.5,314.72C227.82,290.06 238.39,259.52 238.39,221.94C238.39,210.2 237.21,201.98 236.04,194.94C234.86,187.89 231.34,183.19 227.82,180.84C220.77,174.97 207.85,170.28 187.89,165.58C167.93,160.88 146.79,158.53 125.65,158.53C119.78,158.53 115.08,159.71 112.73,162.06C110.39,164.4 109.21,167.93 109.21,172.62C109.21,184.37 115.08,192.59 128,197.28C140.92,201.98 162.06,205.5 190.24,205.5L200.81,205.5C203.16,205.5 205.5,206.68 206.68,207.85C207.85,210.2 209.03,212.55 209.03,216.07C206.68,218.42 200.81,221.94 191.41,225.47C182.02,228.99 176.15,232.51 171.45,236.04C160.88,243.08 152.66,252.48 146.79,263.05C140.92,273.61 137.39,283.01 137.39,292.4C137.39,298.28 138.57,304.15 140.92,312.37C143.27,320.59 144.44,325.28 144.44,326.46L144.44,328.81L144.44,331.16C137.39,331.16 131.52,326.46 126.83,318.24C122.13,310.02 120.95,299.45 120.95,285.36L120.95,283.01C119.78,284.18 118.61,285.36 117.43,285.36C116.26,285.36 115.08,286.53 112.73,286.53L108.04,286.53C106.86,286.53 105.69,285.36 103.34,285.36C103.34,287.71 104.51,288.88 104.51,291.23L104.51,295.93C104.51,301.8 102.17,307.67 97.47,312.37C92.77,317.06 86.9,319.41 79.85,319.41C69.28,319.41 58.72,314.72 46.97,304.15C36.4,293.58 30.53,284.18 30.53,273.61C30.53,271.27 30.53,270.09 31.71,268.92C31.71,263.05 32.88,261.87 34.06,260.7L34.06,260.7ZM110.39,266.57C112.73,266.57 116.26,265.39 118.61,263.05C120.95,260.7 122.13,257.17 122.13,254.83C122.13,251.3 119.78,244.26 115.08,232.51C110.39,220.77 104.51,209.03 97.47,198.46C92.77,190.24 86.9,183.19 82.2,179.67C77.5,174.97 72.81,173.8 68.11,173.8C64.59,173.8 61.06,176.15 56.37,180.84C51.67,185.54 50.5,189.06 50.5,193.76C50.5,197.28 52.84,204.33 56.37,212.55C61.06,220.77 65.76,228.99 72.81,238.39C79.85,247.78 86.9,256 93.94,261.87C100.99,264.22 105.69,266.57 110.39,266.57L110.39,266.57ZM135.05,144.44L106.86,65.76C99.82,45.8 95.12,31.71 90.42,25.83C86.9,19.96 83.38,16.44 78.68,16.44C75.16,16.44 72.81,17.61 70.46,19.96C66.94,23.49 65.76,27.01 65.76,31.71C65.76,39.93 69.28,52.84 75.16,71.63C81.03,90.42 90.42,116.26 102.17,146.79C103.34,144.44 104.51,143.27 106.86,143.27C109.21,142.09 111.56,142.09 113.91,142.09L119.78,142.09C123.3,143.27 128,143.27 135.05,144.44L135.05,144.44ZM163.23,220.77C156.18,220.77 149.14,219.6 142.09,218.42C135.05,217.25 129.17,216.07 123.3,213.72C125.65,219.6 128,224.29 130.35,230.17C132.7,236.04 133.87,240.73 135.05,246.61C138.57,241.91 143.27,237.21 147.96,232.51C153.83,227.82 158.53,224.29 163.23,220.77L163.23,220.77ZM197.28,152.66C209.03,122.13 217.25,96.29 224.29,76.33C230.17,56.37 233.69,44.62 233.69,39.93C233.69,35.23 232.51,31.71 230.17,28.18C227.82,25.83 225.47,24.66 221.94,24.66C217.25,24.66 212.55,28.18 207.85,36.4C203.16,44.62 197.28,56.37 191.41,73.98L165.58,146.79L197.28,152.66L197.28,152.66Z"
|
||||
android:fillColor="#000000"/>
|
||||
</vector>
|
9
app/src/main/res/drawable/thumb_apple.xml
Normal file
9
app/src/main/res/drawable/thumb_apple.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="256dp"
|
||||
android:height="315dp"
|
||||
android:viewportWidth="256.0"
|
||||
android:viewportHeight="315.0">
|
||||
<path
|
||||
android:pathData="M213.8,167.03C214.25,214.61 255.54,230.44 256,230.64C255.65,231.76 249.4,253.21 234.24,275.36C221.14,294.51 207.54,313.6 186.11,313.99C165.06,314.38 158.29,301.51 134.22,301.51C110.16,301.51 102.64,313.6 82.72,314.38C62.04,315.16 46.29,293.67 33.07,274.59C6.08,235.55 -14.56,164.29 13.15,116.18C26.91,92.29 51.51,77.16 78.2,76.78C98.51,76.39 117.68,90.44 130.09,90.44C142.5,90.44 165.79,73.54 190.28,76.02C200.53,76.45 229.3,80.16 247.78,107.21C246.29,108.13 213.45,127.25 213.8,167.03M174.24,50.2C185.22,36.91 192.61,18.41 190.59,0C174.77,0.64 155.63,10.55 144.28,23.83C134.11,35.59 125.2,54.42 127.6,72.46C145.24,73.83 163.26,63.5 174.24,50.2"
|
||||
android:fillColor="#000000"/>
|
||||
</vector>
|
12
app/src/main/res/drawable/thumb_battlenet.xml
Normal file
12
app/src/main/res/drawable/thumb_battlenet.xml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="48dp"
|
||||
android:height="48dp"
|
||||
android:viewportWidth="48.0"
|
||||
android:viewportHeight="48.0">
|
||||
<path
|
||||
android:pathData="M38.07,21.63c0,0 3.29,0.17 3.29,-1.77c0,-2.53 -4.38,-4.81 -4.38,-4.81s0.69,-1.46 1.11,-2.27c0.43,-0.81 1.63,-3.99 1.74,-4.71c0.14,-0.91 -0.07,-1.2 -0.07,-1.2c-0.3,1.95 -3.48,7.57 -3.73,7.77c-3.1,-1.45 -7.36,-1.86 -7.36,-1.86S24.5,4 20.58,4c-3.89,0 -3.87,7.52 -3.87,7.52s-1.1,-2.13 -2.48,-2.13c-2.02,0 -2.68,3.05 -2.68,6.36c-3.98,0 -7.33,0.89 -7.63,0.98c-0.3,0.09 -1.24,0.77 -0.81,0.69c0.87,-0.28 4.96,-0.91 8.55,-0.6c0.2,3.14 2.03,7.24 2.03,7.24s-3.93,5.7 -3.93,9.77c0,1.07 0.4,3.18 3.23,3.18c2.37,0 5.09,-1.57 5.59,-1.86c-0.44,0.62 -0.76,1.81 -0.76,2.36c0,0.26 0.1,0.78 0.52,1.18c0.67,-0.67 1.33,-1.33 2.13,-2.13c-0.87,-0.16 -0.99,-0.81 -0.99,-0.97c0,-0.59 0.46,-1.28 0.46,-1.28s2.13,-1.44 2.26,-1.59l1.57,2.93c0,0 -1.61,0.95 -2.87,0.95c-0.16,0 -0.3,-0.01 -0.43,-0.04c-0.81,0.81 -1.47,1.47 -2.13,2.13c0.31,0.3 0.79,0.53 1.57,0.53c2.34,0 4.96,-1.8 4.96,-1.8s2.47,4.11 4.59,5.99c0.57,0.51 1.11,0.6 1.11,0.6s-2.1,-2.02 -4.86,-7.23c2.57,-1.59 5.25,-5.34 5.25,-5.34s0.31,0.01 2.76,0.01c3.83,0 9.26,-0.81 9.26,-3.85C42.96,24.46 38.07,21.63 38.07,21.63zM38.5,19.74c0,1.11 -1.06,1.1 -1.06,1.1l-0.8,0.05l-2.45,-1.18c0,0 1.43,-2.2 1.76,-2.82C36.21,17.04 38.5,18.47 38.5,19.74zM15.37,11.86c0.57,0 1.13,0.69 1.36,1.28c0,0.39 0.2,2.66 0.2,2.66l-3.3,-0.12C13.64,12.71 14.8,11.86 15.37,11.86zM15.03,32.54c-1.8,0 -2.18,-1 -2.18,-1.91c0,-2.05 1.63,-4.91 1.63,-4.91s1.83,3.85 5.03,5.48C17.93,32.13 16.62,32.54 15.03,32.54zM24.83,34.98c-0.77,-1.35 -1.34,-2.75 -1.34,-2.75s3.16,0.2 4.86,-1.55c-1.06,0.48 -2.75,1.08 -4.71,0.9l8.53,-8.95c-0.17,-0.21 -1.1,-0.86 -1.33,-0.97c-1.22,1.47 -5.98,6.56 -10.38,9.07c-5.57,-3.04 -6.74,-11.99 -6.86,-13.85l3.05,0.29c0,0 -1.14,2.03 -1.14,3.52c0,1.49 0.18,1.57 0.18,1.57s-0.04,-2.6 1.57,-4.61c1.22,6.52 2.5,9.86 3.49,11.85c0.51,-0.21 1.45,-0.63 1.45,-0.63s-2.81,-8.11 -2.66,-13.6c0.89,-0.47 2.07,-0.95 3.43,-1.2c-0.03,-0.35 -0.11,-0.7 -0.26,-1.05c-1.02,0.24 -2.12,0.62 -3.15,1.22c0.09,-3.06 1.12,-5.82 2.94,-5.82c1.8,0 4.36,4.24 4.36,4.24s-1.9,-0.17 -4.15,0.35c0.15,0.35 0.23,0.7 0.26,1.05c0.59,-0.11 1.22,-0.18 1.87,-0.18c5.61,0 10.12,2.41 10.12,2.41l-1.76,2.46c0,0 -1.57,-2.85 -3.79,-3.36c1.17,0.87 2.48,2.03 3.16,3.69c-4.65,-1.82 -10.26,-2.78 -12.06,-2.99c-0.16,0.66 -0.14,1.61 -0.14,1.61s7.52,1.39 13,4.52C33.33,29.1 25.86,34.37 24.83,34.98zM31.96,29.86c0,0 2.34,-3.07 2.3,-7.13c0,0 3.77,2.34 3.77,4.62C38.03,29.89 31.96,29.86 31.96,29.86z"
|
||||
android:fillColor="#0288D1"/>
|
||||
<path
|
||||
android:pathData="M17.81,37.49c0,-0.54 0.32,-1.73 0.76,-2.36c0.74,-0.37 1.36,-0.86 1.36,-0.86s-0.46,0.69 -0.46,1.28c0,0.17 0.12,0.81 0.99,0.97c0.13,0.02 0.27,0.04 0.43,0.04c1.26,0 2.87,-0.95 2.87,-0.95C18.59,40.25 17.81,37.56 17.81,37.49zM18.65,29.4l-0.06,0.03l-0.08,0.04c-0.29,0.17 -0.57,0.31 -0.84,0.44c0.55,0.49 1.17,0.94 1.85,1.28c0.29,-0.14 0.74,-0.36 0.94,-0.47C19.8,30.36 19.19,29.91 18.65,29.4zM13.4,32.04c-0.42,-0.38 -0.55,-0.91 -0.55,-1.41c0,-2.05 1.63,-4.91 1.63,-4.91l-0.8,-1.67c0,0 -4.05,6.09 -0.3,8.03C13.4,32.05 13.39,32.07 13.4,32.04zM37.96,27.78c-0.65,2.1 -6.01,2.07 -6.01,2.07l-1.02,1.58c0,0 0.3,0.01 2.37,0.01C33.31,31.44 37.55,31.1 37.96,27.78zM33.23,24.45c-0,0 0.35,0.22 0.8,0.57c0.14,-0.71 0.23,-1.48 0.22,-2.29c-0.2,-0.12 -0.7,-0.39 -0.89,-0.48c-0,0.73 -0.11,1.43 -0.26,2.12C33.15,24.4 33.2,24.43 33.23,24.45C33.23,24.45 33.23,24.45 33.23,24.45zM38.5,19.74c0,1.11 -1.06,1.1 -1.06,1.1l-0.8,0.05l1.43,0.74c4.62,-0.19 1.07,-3.78 -2.11,-4.74C36.21,17.04 38.5,18.47 38.5,19.74zM21.93,8.52c0.18,-0.06 0.37,-0.1 0.56,-0.1c1.8,0 4.36,4.24 4.36,4.24l1.82,0.11c0,0 -0.42,-0.88 -1.11,-2.07C26.62,9.17 23.69,7.64 21.93,8.52zM15.19,10.19c-1.78,-0.19 -1.73,4.94 -1.55,5.5c0,-2.98 1.17,-3.82 1.74,-3.82c0.57,0 1.13,0.69 1.36,1.28c-0.03,-0.88 -0.02,-1.63 -0.02,-1.63S16,10.34 15.19,10.19zM21.56,14.33c0.01,-0.35 0.04,-0.68 0.08,-1c-0.7,0.23 -1.4,0.52 -2.08,0.92c-0.02,0.42 0,0.61 -0.02,1.03c0.56,-0.3 1.25,-0.59 2.02,-0.84C21.56,14.41 21.56,14.37 21.56,14.33zM24.81,34.98c-0.77,-1.35 -1.34,-2.75 -1.34,-2.75s3.16,0.2 4.86,-1.55c-1.06,0.48 -2.75,1.08 -4.71,0.9c-0.42,0.43 -0.92,0.76 -1.46,1.12l1.57,2.93C23.74,35.62 24.93,34.9 24.81,34.98zM25.67,36.77c0.24,-0.15 -0.83,0.64 -0.83,0.64s2.47,4.11 4.59,5.99c0.57,0.51 1.11,0.6 1.11,0.6S28.44,41.98 25.67,36.77zM39.77,6.87c-0.3,1.95 -3.48,7.57 -3.73,7.77c-0.31,-0.14 0.94,0.41 0.94,0.41s0.69,-1.46 1.11,-2.27c0.43,-0.81 1.63,-3.99 1.74,-4.71C39.97,7.16 39.77,6.87 39.77,6.87zM34.95,16.31l-1.76,2.46c0,0 -1.57,-2.85 -3.79,-3.36c0.89,0.67 1.87,1.5 2.58,2.59c0,-0 0,-0.01 0,-0.01c0,0 0,0.01 0,0.01c0.22,0.34 0.42,0.7 0.58,1.09c0.92,0.35 1.71,0.63 1.64,0.6c0,0 1.43,-2.2 1.76,-2.82C36.05,16.95 34.95,16.31 34.95,16.31zM16.94,15.81l-3.3,-0.12c-0.05,0.33 -0.03,0.86 -0.03,1.2l3.05,0.29c0,0 -1.14,2.03 -1.14,3.52c0,1.49 0.18,1.57 0.18,1.57s-0.03,-2.31 1.31,-4.26c-0,-0 -0.01,-0 -0.01,-0.01c0,0 0.01,0.01 0.01,0.01c0.08,-0.12 0.17,-0.24 0.26,-0.35C17.04,16.48 16.94,15.81 16.94,15.81zM11.56,15.75c-3.98,0 -7.33,0.89 -7.63,0.98c-0.3,0.09 -1.24,0.77 -0.81,0.69c0.87,-0.28 4.96,-0.91 8.55,-0.6C11.58,16.15 11.56,15.75 11.56,15.75z"
|
||||
android:fillColor="#01579B"/>
|
||||
</vector>
|
15
app/src/main/res/drawable/thumb_bitbucket.xml
Normal file
15
app/src/main/res/drawable/thumb_bitbucket.xml
Normal file
|
@ -0,0 +1,15 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="256dp"
|
||||
android:height="295dp"
|
||||
android:viewportWidth="256.0"
|
||||
android:viewportHeight="295.0">
|
||||
<path
|
||||
android:pathData="M128,0L128,0C57.73,0 0.01,18.82 0.01,42.66C0.01,48.94 15.07,138.03 21.34,173.16C23.85,189.47 65.26,212.06 128,212.06L128,212.06C190.74,212.06 230.89,189.47 234.66,173.16C240.93,138.03 255.99,48.94 255.99,42.66C254.73,18.82 198.27,0 128,0L128,0ZM128,183.2C105.41,183.2 87.85,165.63 87.85,143.05C87.85,120.46 105.41,102.89 128,102.89C150.59,102.89 168.15,120.46 168.15,143.05C168.15,164.38 150.59,183.2 128,183.2L128,183.2ZM128,55.21C82.83,55.21 46.44,47.68 46.44,37.64C46.44,27.61 82.83,20.08 128,20.08C173.17,20.08 209.56,27.61 209.56,37.64C209.56,47.68 173.17,55.21 128,55.21L128,55.21Z"
|
||||
android:fillColor="#205081"/>
|
||||
<path
|
||||
android:pathData="M220.61,207.04C218.1,207.04 216.84,208.29 216.84,208.29C216.84,208.29 185.47,233.39 129.01,233.39C72.54,233.39 41.17,208.29 41.17,208.29C41.17,208.29 38.66,207.04 37.41,207.04C34.9,207.04 32.39,208.29 32.39,212.06L32.39,213.31C37.41,239.66 41.17,258.49 41.17,261C44.94,279.82 82.58,294.88 127.75,294.88L127.75,294.88C172.93,294.88 210.57,279.82 214.33,261C214.33,258.49 218.1,239.66 223.12,213.31L223.12,212.06C224.37,209.55 223.12,207.04 220.61,207.04L220.61,207.04Z"
|
||||
android:fillColor="#205081"/>
|
||||
<path
|
||||
android:pathData="M128,141.79m-20.08,0a20.08,20.08 0,1 1,40.15 0a20.08,20.08 0,1 1,-40.15 0"
|
||||
android:fillColor="#205081"/>
|
||||
</vector>
|
23
app/src/main/res/drawable/thumb_bitcoin.xml
Normal file
23
app/src/main/res/drawable/thumb_bitcoin.xml
Normal file
|
@ -0,0 +1,23 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="256dp"
|
||||
android:height="256dp"
|
||||
android:viewportWidth="256.0"
|
||||
android:viewportHeight="256.0">
|
||||
<path
|
||||
android:pathData="M252.17,158.95C235.07,227.56 165.56,269.27 97.05,252.17C28.44,235.06 -13.27,165.55 3.83,97.05C20.94,28.44 90.35,-13.27 158.96,3.83C227.47,20.84 269.27,90.35 252.17,158.95L252.17,158.95L252.17,158.95Z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
|
||||
android:startY="-13.336545631710853"
|
||||
android:startX="127.92462051988281"
|
||||
android:endY="269.24141178897673"
|
||||
android:endX="127.92462051988281"
|
||||
android:type="linear">
|
||||
<item android:offset="0.0" android:color="#FFF9AA4B" />
|
||||
<item android:offset="1.0" android:color="#FFF7931A" />
|
||||
</gradient></aapt:attr></path>
|
||||
<path
|
||||
android:pathData="M188.94,112.05C191.44,95.05 178.54,85.85 160.74,79.75L166.54,56.65L152.54,53.15L146.94,75.65C143.24,74.75 139.44,73.85 135.64,73.05L141.24,50.45L127.24,46.95L121.54,69.95C118.44,69.25 115.44,68.55 112.54,67.85L112.54,67.75L93.14,62.95L89.44,77.95C89.44,77.95 99.84,80.35 99.64,80.45C105.34,81.85 106.34,85.65 106.14,88.65L99.54,114.95C99.94,115.05 100.44,115.15 101.04,115.45C100.54,115.35 100.04,115.25 99.54,115.05L90.34,151.85C89.64,153.55 87.84,156.15 83.94,155.15C84.04,155.35 73.74,152.65 73.74,152.65L66.74,168.75L85.04,173.35C88.44,174.25 91.74,175.05 95.04,175.95L89.24,199.25L103.24,202.75L109.04,179.65C112.84,180.65 116.64,181.65 120.24,182.55L114.54,205.55L128.54,209.05L134.34,185.75C158.34,190.25 176.34,188.45 183.84,166.75C189.94,149.35 183.54,139.25 170.94,132.65C180.24,130.55 187.14,124.45 188.94,112.05L188.94,112.05L188.94,112.05ZM156.84,157.05C152.54,174.45 123.14,165.05 113.64,162.65L121.34,131.75C130.84,134.15 161.44,138.85 156.84,157.05L156.84,157.05ZM161.24,111.75C157.24,127.65 132.84,119.55 124.94,117.55L131.94,89.55C139.84,91.55 165.34,95.25 161.24,111.75L161.24,111.75Z"
|
||||
android:fillColor="#FFFFFF"/>
|
||||
</vector>
|
15
app/src/main/res/drawable/thumb_cloudflare.xml
Normal file
15
app/src/main/res/drawable/thumb_cloudflare.xml
Normal file
|
@ -0,0 +1,15 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="256dp"
|
||||
android:height="116dp"
|
||||
android:viewportWidth="256.0"
|
||||
android:viewportHeight="116.0">
|
||||
<path
|
||||
android:pathData="M202.36,49.39L197.05,47.27C172.08,103.43 72.79,69.29 66.81,86C65.81,97.28 121.04,88.14 160.52,90.06C172.56,90.64 178.59,99.73 173.48,114.54L183.55,114.57C195.16,78.36 232.23,96.84 233.78,84.89C231.24,77.03 191.18,84.89 202.36,49.39Z"
|
||||
android:fillColor="#FFFFFF"/>
|
||||
<path
|
||||
android:pathData="M176.33,108.35C177.93,103.04 177.39,97.73 174.74,94.54C172.08,91.35 168.37,89.23 163.59,88.7L71.17,87.63C70.64,87.63 70.11,87.1 69.58,87.1C69.05,86.57 69.05,86.04 69.58,85.51C70.11,84.45 70.64,83.92 71.7,83.92L164.65,82.85C175.8,82.32 187.49,73.29 191.73,62.67L197.05,48.86C197.05,48.33 197.58,47.8 197.05,47.27C191.2,20.18 166.77,-0 138.09,-0C111.54,-0 88.7,17 80.73,40.9C75.42,37.18 69.05,35.05 61.61,35.59C48.86,36.65 38.77,47.27 37.18,60.02C36.65,63.2 37.18,66.39 37.71,69.58C17,70.11 0,87.1 0,108.35C0,110.47 0,112.07 0.53,114.19C0.53,115.25 1.59,115.78 2.13,115.78L172.61,115.78C173.68,115.78 174.74,115.25 174.74,114.19L176.33,108.35Z"
|
||||
android:fillColor="#F4811F"/>
|
||||
<path
|
||||
android:pathData="M205.54,48.86L202.89,48.86C202.36,48.86 201.83,49.39 201.29,49.92L197.58,62.67C195.98,67.98 196.51,73.29 199.17,76.48C201.83,79.67 205.54,81.79 210.32,82.32L229.98,83.39C230.51,83.39 231.04,83.92 231.57,83.92C232.1,84.45 232.1,84.98 231.57,85.51C231.04,86.57 230.51,87.1 229.44,87.1L209.26,88.17C198.11,88.7 186.42,97.73 182.17,108.35L181.11,113.13C180.58,113.66 181.11,114.72 182.17,114.72L252.28,114.72C253.34,114.72 253.88,114.19 253.88,113.13C254.94,108.88 256,104.1 256,99.32C256,71.7 233.16,48.86 205.54,48.86"
|
||||
android:fillColor="#FAAD3F"/>
|
||||
</vector>
|
54
app/src/main/res/drawable/thumb_coinbase.xml
Normal file
54
app/src/main/res/drawable/thumb_coinbase.xml
Normal file
|
@ -0,0 +1,54 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:viewportWidth="579.0"
|
||||
android:viewportHeight="126.0"
|
||||
android:width="579dp"
|
||||
android:height="126dp">
|
||||
<path
|
||||
android:pathData="M37.75,125.87C18.82,125.87 0.37,112.31 0.37,81.55C0.37,50.79 18.82,37.38 37.75,37.38C47.06,37.38 54.31,39.75 59.52,43.22L53.84,55.68C50.37,53.16 45.17,51.58 39.96,51.58C28.6,51.58 18.19,60.57 18.19,81.39C18.19,102.21 28.92,111.36 39.96,111.36C45.17,111.36 50.37,109.78 53.84,107.26L59.52,120.04C54.16,123.66 47.06,125.87 37.75,125.87"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"
|
||||
android:fillColor="#0081C9"
|
||||
android:strokeWidth="1"/>
|
||||
<path
|
||||
android:pathData="M102.9,125.87C78.76,125.87 65.51,106.79 65.51,81.55C65.51,56.31 78.76,37.38 102.9,37.38C127.03,37.38 140.28,56.31 140.28,81.55C140.28,106.79 127.03,125.87 102.9,125.87L102.9,125.87ZM102.9,51.1C89.49,51.1 82.87,63.09 82.87,81.39C82.87,99.69 89.49,111.83 102.9,111.83C116.31,111.83 122.93,99.69 122.93,81.39C122.93,63.09 116.31,51.1 102.9,51.1L102.9,51.1Z"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"
|
||||
android:fillColor="#0081C9"
|
||||
android:strokeWidth="1"/>
|
||||
<path
|
||||
android:pathData="M163.47,23.66C157.79,23.66 153.21,19.24 153.21,13.88C153.21,8.52 157.79,4.1 163.47,4.1C169.15,4.1 173.72,8.52 173.72,13.88C173.72,19.24 169.15,23.66 163.47,23.66L163.47,23.66ZM154.79,39.12L172.14,39.12L172.14,124.14L154.79,124.14L154.79,39.12Z"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"
|
||||
android:fillColor="#0081C9"
|
||||
android:strokeWidth="1"/>
|
||||
<path
|
||||
android:pathData="M240.44,124.14L240.44,67.35C240.44,57.42 234.45,51.26 222.62,51.26C216.31,51.26 210.47,52.37 207,53.79L207,124.14L189.81,124.14L189.81,43.38C198.33,39.91 209.21,37.38 222.46,37.38C246.28,37.38 257.79,47.79 257.79,65.78L257.79,124.14L240.44,124.14"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"
|
||||
android:fillColor="#0081C9"
|
||||
android:strokeWidth="1"/>
|
||||
<path
|
||||
android:pathData="M303.54,125.87C292.49,125.87 281.61,123.19 274.99,119.88L274.99,0.31L292.18,0.31L292.18,41.33C296.28,39.43 302.9,37.86 308.74,37.86C330.67,37.86 345.49,53.63 345.49,79.66C345.49,111.68 328.93,125.87 303.54,125.87L303.54,125.87ZM305.74,51.26C301.01,51.26 295.49,52.37 292.18,54.1L292.18,109.94C294.7,111.04 299.59,112.15 304.48,112.15C318.2,112.15 328.3,102.68 328.3,80.92C328.3,62.31 319.47,51.26 305.74,51.26L305.74,51.26Z"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"
|
||||
android:fillColor="#0081C9"
|
||||
android:strokeWidth="1"/>
|
||||
<path
|
||||
android:pathData="M392.34,125.87C367.89,125.87 355.59,115.93 355.59,99.21C355.59,75.56 380.83,71.3 406.54,69.88L406.54,64.51C406.54,53.79 399.44,50 388.55,50C380.51,50 370.73,52.53 365.05,55.21L360.64,43.38C367.42,40.38 378.93,37.38 390.29,37.38C410.64,37.38 422.94,45.27 422.94,66.25L422.94,119.88C416.79,123.19 404.33,125.87 392.34,125.87L392.34,125.87ZM406.54,81.39C389.19,82.34 371.83,83.76 371.83,98.9C371.83,107.89 378.78,113.41 391.87,113.41C397.39,113.41 403.86,112.46 406.54,111.2L406.54,81.39L406.54,81.39Z"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"
|
||||
android:fillColor="#0081C9"
|
||||
android:strokeWidth="1"/>
|
||||
<path
|
||||
android:pathData="M461.74,125.87C451.81,125.87 441.39,123.19 435.24,119.88L441.08,106.63C445.5,109.31 454.8,112.15 461.27,112.15C470.58,112.15 476.73,107.57 476.73,100.48C476.73,92.75 470.26,89.75 461.59,86.6C450.23,82.34 437.45,77.13 437.45,61.2C437.45,47.16 448.34,37.38 467.26,37.38C477.52,37.38 486.04,39.91 492.03,43.38L486.67,55.36C482.88,53 475.31,50.32 469.16,50.32C460.17,50.32 455.12,55.05 455.12,61.2C455.12,68.93 461.43,71.61 469.79,74.77C481.62,79.18 494.71,84.07 494.71,100.64C494.71,115.93 483.04,125.87 461.74,125.87"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"
|
||||
android:fillColor="#0081C9"
|
||||
android:strokeWidth="1"/>
|
||||
<path
|
||||
android:pathData="M578.63,81.23L522.16,89.12C523.89,104.42 533.83,112.15 548.18,112.15C556.7,112.15 565.85,110.1 571.68,106.94L576.73,119.88C570.11,123.35 558.75,125.87 547.08,125.87C520.26,125.87 505.28,108.68 505.28,81.55C505.28,55.52 519.79,37.38 543.61,37.38C565.69,37.38 578.78,51.89 578.78,74.77C578.78,76.82 578.78,79.03 578.63,81.23L578.63,81.23ZM543.29,50C530.04,50 521.37,60.1 521.05,77.76L562.22,72.08C562.06,57.26 554.65,50 543.29,50L543.29,50Z"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillType="evenOdd"
|
||||
android:fillColor="#0081C9"
|
||||
android:strokeWidth="1"/>
|
||||
</vector>
|
4
app/src/main/res/drawable/thumb_cozycloud.xml
Normal file
4
app/src/main/res/drawable/thumb_cozycloud.xml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<vector android:height="191dp" android:viewportHeight="382.0"
|
||||
android:viewportWidth="500.0" android:width="250dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#297ef2" android:pathData="M367.6,380.9L132.5,380.9C59.5,380.9 0.1,321.4 0.1,248.3c0,-34.8 13.4,-67.8 37.8,-92.7 21.3,-21.8 49,-35.4 78.8,-38.9 3.5,-29.9 17.1,-57.6 38.9,-78.9C180.5,13.4 213.3,0 248.1,0c34.8,0 67.7,13.4 92.6,37.8 21.7,21.3 35.2,48.8 38.8,78.6 67.4,6.1 120.5,62.9 120.5,132 0,73.1 -59.4,132.5 -132.4,132.5zM366.6,353.1h1c57.7,0 104.6,-47 104.6,-104.7 0,-57.7 -46.9,-104.7 -104.6,-104.7h-1c-7.5,0 -13.7,-6 -13.9,-13.6 -1.3,-56.4 -48.2,-102.3 -104.6,-102.3S144.9,73.7 143.6,130.1c-0.2,7.4 -6.1,13.4 -13.6,13.6 -56.3,1.3 -102.1,48.3 -102.1,104.7 0,57.8 46.9,104.7 104.6,104.7h0.9l0.3,-0c0.3,0 0.6,0 0.9,0L366.6,353.1zM316,240.4c-8.4,-5.4 -8.8,-15.5 -8.8,-15.9 -0.1,-2.7 -2.3,-4.9 -5,-4.8 -2.7,0.1 -4.9,2.3 -4.8,5 0,0.4 0.2,5.1 2.4,10.6 -29.7,28.2 -76.4,28.2 -106.2,0.2 2.3,-5.6 2.5,-10.4 2.5,-10.8 0.1,-2.7 -2.1,-4.9 -4.8,-5 -2.7,-0.1 -4.9,2.1 -5,4.8 0,0.4 -0.4,10.4 -8.8,15.9 -2.3,1.5 -2.9,4.6 -1.4,6.8 0.9,1.4 2.5,2.2 4.1,2.2 0.9,0 1.9,-0.3 2.7,-0.8 2.2,-1.4 4,-3 5.5,-4.7 16.5,14.9 37.4,22.4 58.3,22.4 21,0 41.9,-7.5 58.5,-22.5 1.5,1.7 3.3,3.4 5.6,4.8 0.8,0.5 1.8,0.8 2.7,0.8 1.6,0 3.2,-0.8 4.1,-2.2 1.5,-2.3 0.8,-5.3 -1.4,-6.8z"/>
|
||||
</vector>
|
12
app/src/main/res/drawable/thumb_digital_ocean.xml
Normal file
12
app/src/main/res/drawable/thumb_digital_ocean.xml
Normal file
File diff suppressed because one or more lines are too long
9
app/src/main/res/drawable/thumb_discord.xml
Normal file
9
app/src/main/res/drawable/thumb_discord.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="256dp"
|
||||
android:height="293dp"
|
||||
android:viewportWidth="256.0"
|
||||
android:viewportHeight="293.0">
|
||||
<path
|
||||
android:pathData="M226.01,0L29.99,0C13.46,0 0,13.46 0,30.13L0,227.91C0,244.59 13.46,258.05 29.99,258.05L195.88,258.05L188.12,230.99L206.85,248.39L224.55,264.78L256,292.57L256,30.13C256,13.46 242.54,0 226.01,0ZM169.55,191.05C169.55,191.05 164.28,184.76 159.89,179.2C179.05,173.79 186.37,161.79 186.37,161.79C180.37,165.74 174.67,168.52 169.55,170.42C162.23,173.49 155.21,175.54 148.33,176.71C134.29,179.35 121.42,178.61 110.45,176.57C102.11,174.96 94.94,172.62 88.94,170.28C85.58,168.96 81.92,167.35 78.26,165.3C77.82,165.01 77.39,164.86 76.95,164.57C76.65,164.43 76.51,164.28 76.36,164.13C73.73,162.67 72.27,161.65 72.27,161.65C72.27,161.65 79.29,173.35 97.87,178.91C93.48,184.47 88.06,191.05 88.06,191.05C55.73,190.03 43.45,168.81 43.45,168.81C43.45,121.71 64.51,83.53 64.51,83.53C85.58,67.73 105.62,68.17 105.62,68.17L107.08,69.92C80.75,77.53 68.61,89.09 68.61,89.09C68.61,89.09 71.83,87.33 77.24,84.85C92.89,77.97 105.33,76.07 110.45,75.63C111.32,75.48 112.05,75.34 112.93,75.34C121.86,74.17 131.95,73.87 142.48,75.04C156.38,76.65 171.3,80.75 186.51,89.09C186.51,89.09 174.96,78.12 150.09,70.51L152.14,68.17C152.14,68.17 172.18,67.73 193.24,83.53C193.24,83.53 214.31,121.71 214.31,168.81C214.31,168.81 201.87,190.03 169.55,191.05ZM101.52,122.73C93.18,122.73 86.6,130.05 86.6,138.97C86.6,147.89 93.33,155.21 101.52,155.21C109.86,155.21 116.44,147.89 116.44,138.97C116.59,130.05 109.86,122.73 101.52,122.73M154.92,122.73C146.58,122.73 140,130.05 140,138.97C140,147.89 146.72,155.21 154.92,155.21C163.25,155.21 169.84,147.89 169.84,138.97C169.84,130.05 163.25,122.73 154.92,122.73"
|
||||
android:fillColor="#7289DA"/>
|
||||
</vector>
|
9
app/src/main/res/drawable/thumb_dropbox.xml
Normal file
9
app/src/main/res/drawable/thumb_dropbox.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="256dp"
|
||||
android:height="239dp"
|
||||
android:viewportWidth="256.0"
|
||||
android:viewportHeight="239.0">
|
||||
<path
|
||||
android:pathData="M52.07,90.87L0,49.17L75.31,0L128,43.98L52.07,90.87L128,137.76L75.31,181.74L0,132.57L52.07,90.87L52.07,90.87ZM128,137.76L180.69,181.74L256,132.57L203.93,90.87L128,137.76ZM256,49.17L180.7,0L128,43.98L203.93,90.87L256,49.17ZM128.15,147.22L75.31,191.08L52.69,176.31L52.69,192.86L128.15,238.12L203.62,192.86L203.62,176.31L181.01,191.08L128.15,147.22Z"
|
||||
android:fillColor="#007EE5"/>
|
||||
</vector>
|
12
app/src/main/res/drawable/thumb_facebook.xml
Normal file
12
app/src/main/res/drawable/thumb_facebook.xml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="256dp"
|
||||
android:height="256dp"
|
||||
android:viewportWidth="256.0"
|
||||
android:viewportHeight="256.0">
|
||||
<path
|
||||
android:pathData="M241.87,256C249.67,256 256,249.68 256,241.87L256,14.13C256,6.32 249.67,0 241.87,0L14.13,0C6.32,0 0,6.32 0,14.13L0,241.87C0,249.68 6.32,256 14.13,256L241.87,256"
|
||||
android:fillColor="#395185"/>
|
||||
<path
|
||||
android:pathData="M176.63,256L176.63,156.86L209.91,156.86L214.89,118.23L176.63,118.23L176.63,93.56C176.63,82.38 179.74,74.75 195.78,74.75L216.24,74.74L216.24,40.19C212.7,39.72 200.56,38.67 186.43,38.67C156.93,38.67 136.74,56.67 136.74,89.74L136.74,118.23L103.38,118.23L103.38,156.86L136.74,156.86L136.74,256L176.63,256"
|
||||
android:fillColor="#FFFFFF"/>
|
||||
</vector>
|
9
app/src/main/res/drawable/thumb_git.xml
Normal file
9
app/src/main/res/drawable/thumb_git.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="256dp"
|
||||
android:height="256dp"
|
||||
android:viewportWidth="256.0"
|
||||
android:viewportHeight="256.0">
|
||||
<path
|
||||
android:pathData="M251.17,116.59L139.4,4.83C132.97,-1.61 122.53,-1.61 116.09,4.83L92.88,28.04L122.32,57.48C129.16,55.17 137.01,56.72 142.46,62.17C147.94,67.66 149.48,75.58 147.11,82.44L175.49,110.82C182.35,108.45 190.27,109.98 195.76,115.47C203.42,123.13 203.42,135.55 195.76,143.21C188.09,150.88 175.68,150.88 168.01,143.21C162.24,137.44 160.82,128.98 163.74,121.88L137.28,95.41L137.27,165.05C139.14,165.98 140.9,167.21 142.46,168.76C150.12,176.42 150.12,188.84 142.46,196.51C134.8,204.17 122.37,204.17 114.72,196.51C107.06,188.84 107.06,176.42 114.72,168.76C116.61,166.87 118.8,165.44 121.14,164.48L121.14,94.2C118.8,93.24 116.62,91.82 114.72,89.91C108.91,84.12 107.52,75.6 110.49,68.47L81.47,39.44L4.83,116.08C-1.61,122.52 -1.61,132.96 4.83,139.4L116.6,251.17C123.04,257.6 133.48,257.6 139.92,251.17L251.17,139.92C257.61,133.48 257.61,123.03 251.17,116.59"
|
||||
android:fillColor="#DE4C36"/>
|
||||
</vector>
|
9
app/src/main/res/drawable/thumb_github.xml
Normal file
9
app/src/main/res/drawable/thumb_github.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="256dp"
|
||||
android:height="250dp"
|
||||
android:viewportWidth="256.0"
|
||||
android:viewportHeight="250.0">
|
||||
<path
|
||||
android:pathData="M128,0C57.32,0 0,57.31 0,128C0,184.56 36.68,232.54 87.53,249.46C93.93,250.65 96.28,246.68 96.28,243.3C96.28,240.25 96.16,230.17 96.11,219.47C60.5,227.22 52.98,204.37 52.98,204.37C47.16,189.57 38.77,185.64 38.77,185.64C27.16,177.7 39.65,177.86 39.65,177.86C52.5,178.76 59.27,191.05 59.27,191.05C70.68,210.62 89.21,204.96 96.52,201.69C97.66,193.42 100.98,187.77 104.64,184.57C76.21,181.34 46.32,170.36 46.32,121.32C46.32,107.34 51.33,95.92 59.51,86.96C58.18,83.73 53.8,70.72 60.75,53.08C60.75,53.08 71.5,49.64 95.96,66.2C106.17,63.37 117.12,61.95 128,61.9C138.88,61.95 149.84,63.37 160.07,66.2C184.5,49.64 195.23,53.08 195.23,53.08C202.2,70.72 197.82,83.73 196.49,86.96C204.69,95.92 209.66,107.34 209.66,121.32C209.66,170.48 179.72,181.3 151.21,184.47C155.8,188.44 159.9,196.23 159.9,208.18C159.9,225.3 159.75,239.09 159.75,243.3C159.75,246.71 162.05,250.7 168.54,249.44C219.37,232.5 256,184.54 256,128C256,57.31 198.69,0 128,0ZM47.94,182.34C47.66,182.98 46.66,183.17 45.75,182.73C44.82,182.31 44.3,181.45 44.6,180.81C44.87,180.15 45.88,179.97 46.8,180.41C47.73,180.83 48.26,181.7 47.94,182.34ZM54.24,187.96C53.63,188.52 52.43,188.26 51.62,187.37C50.79,186.47 50.63,185.28 51.25,184.71C51.88,184.14 53.03,184.41 53.87,185.3C54.71,186.2 54.87,187.39 54.24,187.96ZM58.56,195.15C57.77,195.69 56.49,195.18 55.7,194.04C54.91,192.9 54.91,191.54 55.71,190.99C56.51,190.44 57.77,190.94 58.58,192.07C59.36,193.22 59.36,194.59 58.56,195.15ZM65.86,203.47C65.16,204.24 63.67,204.04 62.57,202.98C61.45,201.95 61.14,200.48 61.84,199.71C62.55,198.94 64.06,199.15 65.16,200.2C66.27,201.23 66.61,202.71 65.86,203.47ZM75.3,206.28C74.99,207.28 73.55,207.74 72.1,207.31C70.66,206.88 69.71,205.7 70,204.69C70.3,203.68 71.75,203.2 73.21,203.66C74.65,204.1 75.6,205.26 75.3,206.28ZM86.05,207.47C86.08,208.53 84.85,209.4 83.33,209.42C81.8,209.46 80.56,208.6 80.55,207.56C80.55,206.5 81.75,205.63 83.28,205.61C84.8,205.58 86.05,206.42 86.05,207.47ZM96.6,207.07C96.78,208.1 95.73,209.16 94.22,209.44C92.73,209.71 91.35,209.07 91.17,208.05C90.98,207 92.06,205.94 93.54,205.67C95.05,205.4 96.41,206.02 96.6,207.07Z"
|
||||
android:fillColor="#161614"/>
|
||||
</vector>
|
27
app/src/main/res/drawable/thumb_gitlab.xml
Normal file
27
app/src/main/res/drawable/thumb_gitlab.xml
Normal file
|
@ -0,0 +1,27 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="256dp"
|
||||
android:height="236dp"
|
||||
android:viewportWidth="256.0"
|
||||
android:viewportHeight="236.0">
|
||||
<path
|
||||
android:pathData="M128.07,236.07L128.07,236.07L175.18,91.1L80.97,91.1L128.07,236.07L128.07,236.07Z"
|
||||
android:fillColor="#E24329"/>
|
||||
<path
|
||||
android:pathData="M128.07,236.07L80.97,91.1L14.96,91.1L128.07,236.07L128.07,236.07Z"
|
||||
android:fillColor="#FC6D26"/>
|
||||
<path
|
||||
android:pathData="M14.96,91.1L14.96,91.1L0.64,135.16C-0.66,139.18 0.77,143.58 4.18,146.06L128.07,236.07L14.96,91.1L14.96,91.1Z"
|
||||
android:fillColor="#FCA326"/>
|
||||
<path
|
||||
android:pathData="M14.96,91.1L80.97,91.1L52.6,3.79C51.14,-0.7 44.78,-0.7 43.33,3.79L14.96,91.1L14.96,91.1Z"
|
||||
android:fillColor="#E24329"/>
|
||||
<path
|
||||
android:pathData="M128.07,236.07L175.18,91.1L241.19,91.1L128.07,236.07L128.07,236.07Z"
|
||||
android:fillColor="#FC6D26"/>
|
||||
<path
|
||||
android:pathData="M241.19,91.1L241.19,91.1L255.51,135.16C256.81,139.18 255.38,143.58 251.97,146.06L128.07,236.07L241.19,91.1L241.19,91.1Z"
|
||||
android:fillColor="#FCA326"/>
|
||||
<path
|
||||
android:pathData="M241.19,91.1L175.18,91.1L203.55,3.79C205.01,-0.7 211.37,-0.7 212.82,3.79L241.19,91.1L241.19,91.1Z"
|
||||
android:fillColor="#E24329"/>
|
||||
</vector>
|
18
app/src/main/res/drawable/thumb_google.xml
Normal file
18
app/src/main/res/drawable/thumb_google.xml
Normal file
|
@ -0,0 +1,18 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="256dp"
|
||||
android:height="262dp"
|
||||
android:viewportWidth="256.0"
|
||||
android:viewportHeight="262.0">
|
||||
<path
|
||||
android:pathData="M255.88,133.45C255.88,122.72 255.01,114.88 253.12,106.76L130.55,106.76L130.55,155.21L202.5,155.21C201.05,167.25 193.21,185.38 175.81,197.57L175.56,199.19L214.32,229.21L217,229.48C241.66,206.7 255.88,173.2 255.88,133.45"
|
||||
android:fillColor="#4285F4"/>
|
||||
<path
|
||||
android:pathData="M130.55,261.1C165.8,261.1 195.39,249.49 217,229.48L175.81,197.57C164.78,205.25 149.99,210.62 130.55,210.62C96.03,210.62 66.73,187.85 56.28,156.37L54.75,156.5L14.45,187.69L13.93,189.15C35.39,231.8 79.49,261.1 130.55,261.1"
|
||||
android:fillColor="#34A853"/>
|
||||
<path
|
||||
android:pathData="M56.28,156.37C53.53,148.25 51.93,139.54 51.93,130.55C51.93,121.56 53.53,112.85 56.14,104.73L56.06,103L15.26,71.31L13.93,71.95C5.08,89.64 0,109.52 0,130.55C0,151.58 5.08,171.46 13.93,189.15L56.28,156.37"
|
||||
android:fillColor="#FBBC05"/>
|
||||
<path
|
||||
android:pathData="M130.55,50.48C155.06,50.48 171.6,61.07 181.03,69.92L217.87,33.94C195.24,12.91 165.8,0 130.55,0C79.49,0 35.39,29.3 13.93,71.95L56.14,104.73C66.73,73.25 96.03,50.48 130.55,50.48"
|
||||
android:fillColor="#EB4335"/>
|
||||
</vector>
|
60
app/src/main/res/drawable/thumb_ifttt.xml
Normal file
60
app/src/main/res/drawable/thumb_ifttt.xml
Normal file
|
@ -0,0 +1,60 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="512dp"
|
||||
android:height="136dp"
|
||||
android:viewportWidth="512.0"
|
||||
android:viewportHeight="136.0">
|
||||
<path
|
||||
android:pathData="M60.94,0.04L104.27,0.04L104.27,135.41L60.94,135.41L60.94,0.04L60.94,0.04Z"
|
||||
android:fillColor="#33CCFF"/>
|
||||
<path
|
||||
android:pathData="M0.06,0.04L43.33,0.04L43.33,135.41L0.06,135.41L0.06,0.04L0.06,0.04Z"
|
||||
android:fillColor="#33CCFF"/>
|
||||
<path
|
||||
android:pathData="M203.12,0.04L246.45,0.04L246.45,135.41L203.12,135.41L203.12,0.04L203.12,0.04Z"
|
||||
android:fillColor="#33CCFF"/>
|
||||
<path
|
||||
android:pathData="M319.58,0.04L362.91,0.04L362.91,135.41L319.58,135.41L319.58,0.04L319.58,0.04Z"
|
||||
android:fillColor="#33CCFF"/>
|
||||
<path
|
||||
android:pathData="M437.36,0.04L480.7,0.04L480.7,135.41L437.36,135.41L437.36,0.04L437.36,0.04Z"
|
||||
android:fillColor="#33CCFF"/>
|
||||
<path
|
||||
android:pathData="M104.13,0.04L159.79,0.04L159.79,43.33L104.13,43.33L104.13,0.04L104.13,0.04Z"
|
||||
android:fillColor="#FF4400"/>
|
||||
<path
|
||||
android:pathData="M104.13,55.52L142.18,55.52L142.18,98.85L104.13,98.85L104.13,55.52L104.13,55.52Z"
|
||||
android:fillColor="#FF4400"/>
|
||||
<path
|
||||
android:pathData="M171.98,0.04L203.8,0.04L203.8,43.33L171.98,43.33L171.98,0.04L171.98,0.04Z"
|
||||
android:fillColor="#FF4400"/>
|
||||
<path
|
||||
android:pathData="M245.91,0.04L277.73,0.04L277.73,43.33L245.91,43.33L245.91,0.04L245.91,0.04Z"
|
||||
android:fillColor="#FF4400"/>
|
||||
<path
|
||||
android:pathData="M288.43,0.04L320.25,0.04L320.25,43.33L288.43,43.33L288.43,0.04L288.43,0.04Z"
|
||||
android:fillColor="#FF4400"/>
|
||||
<path
|
||||
android:pathData="M362.37,0.04L394.19,0.04L394.19,43.33L362.37,43.33L362.37,0.04L362.37,0.04Z"
|
||||
android:fillColor="#FF4400"/>
|
||||
<path
|
||||
android:pathData="M406.24,0.04L438.06,0.04L438.06,43.33L406.24,43.33L406.24,0.04L406.24,0.04Z"
|
||||
android:fillColor="#FF4400"/>
|
||||
<path
|
||||
android:pathData="M480.18,0.04L512,0.04L512,43.33L480.18,43.33L480.18,0.04L480.18,0.04Z"
|
||||
android:fillColor="#FF4400"/>
|
||||
<path
|
||||
android:pathData="M203.12,0.04L246.45,0.04L246.45,43.33L203.12,43.33L203.12,0.04L203.12,0.04Z"
|
||||
android:fillColor="#000000"/>
|
||||
<path
|
||||
android:pathData="M319.58,0.04L362.91,0.04L362.91,43.33L319.58,43.33L319.58,0.04L319.58,0.04Z"
|
||||
android:fillColor="#000000"/>
|
||||
<path
|
||||
android:pathData="M437.39,0.04L480.72,0.04L480.72,43.33L437.39,43.33L437.39,0.04L437.39,0.04Z"
|
||||
android:fillColor="#000000"/>
|
||||
<path
|
||||
android:pathData="M60.94,0.04L104.27,0.04L104.27,43.33L60.94,43.33L60.94,0.04L60.94,0.04Z"
|
||||
android:fillColor="#000000"/>
|
||||
<path
|
||||
android:pathData="M60.94,55.52L104.27,55.52L104.27,98.86L60.94,98.86L60.94,55.52L60.94,55.52Z"
|
||||
android:fillColor="#000000"/>
|
||||
</vector>
|
12
app/src/main/res/drawable/thumb_kickstarter.xml
Normal file
12
app/src/main/res/drawable/thumb_kickstarter.xml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="256dp"
|
||||
android:height="256dp"
|
||||
android:viewportWidth="256.0"
|
||||
android:viewportHeight="256.0">
|
||||
<path
|
||||
android:pathData="M240.67,256L15.33,256C6.86,256 0,249.14 0,240.67L0,15.33C0,6.86 6.86,0 15.33,0L240.67,0C249.14,0 256,6.86 256,15.33L256,240.67C256,249.14 249.14,256 240.67,256"
|
||||
android:fillColor="#161D15"/>
|
||||
<path
|
||||
android:pathData="M116.89,105.51L142.49,68.42C147.33,61.43 153.58,57.94 161.24,57.94C167.49,57.94 172.9,60.16 177.47,64.59C182.04,69.03 184.32,74.33 184.32,80.52C184.32,85.09 183.11,89.12 180.69,92.61L157.61,126.18L185.83,161.96C188.66,165.52 190.07,169.69 190.07,174.46C190.07,180.77 187.85,186.2 183.42,190.73C178.98,195.27 173.6,197.54 167.29,197.54C160.37,197.54 155.09,195.29 151.46,190.78L116.89,147.64L116.89,171.43C116.89,178.22 115.72,183.49 113.36,187.26C109.06,194.11 102.81,197.54 94.62,197.54C87.16,197.54 81.38,195.02 77.28,189.98C73.45,185.34 71.54,179.19 71.54,171.53L71.54,83.34C71.54,76.08 73.48,70.1 77.38,65.4C81.48,60.43 87.12,57.94 94.31,57.94C101.17,57.94 106.88,60.43 111.45,65.4C114,68.15 115.61,70.94 116.29,73.76C116.69,75.51 116.89,78.77 116.89,83.54L116.89,105.51"
|
||||
android:fillColor="#2CDF72"/>
|
||||
</vector>
|
42
app/src/main/res/drawable/thumb_lastpass.xml
Normal file
42
app/src/main/res/drawable/thumb_lastpass.xml
Normal file
|
@ -0,0 +1,42 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="352dp"
|
||||
android:height="52dp"
|
||||
android:viewportWidth="352.0"
|
||||
android:viewportHeight="52.0">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M0.4,0.3C0.7,0.1 1.1,0 1.7,0h5.7c0.7,0 1.2,0.1 1.4,0.3c0.3,0.2 0.4,0.6 0.4,1.3v35.3c0,2 0.5,3.4 1.5,4.2c1,0.8 2.3,1.2 4,1.2l13.3,0c0.6,0 1.2,0 1.6,0.4c0.4,0.3 0.3,0.5 0.5,1.3c0.3,0.8 0.8,4.8 0.8,4.8c0,0.4 0,0.7 -0.3,1s-0.8,0.5 -1.2,0.6s-1.3,0.2 -2.5,0.2c-1.2,0 -13.6,0 -13.6,0c-2.6,0 -4.8,-0.4 -6.5,-1.1c-1.7,-0.8 -3.1,-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>
|
||||
<path
|
||||
android:pathData="M292.63,32.19a7.8,7.8 0,1 0,15.6 0a7.8,7.8 0,1 0,-15.6 0z"
|
||||
android:fillColor="#D32D27"/>
|
||||
<path
|
||||
android:pathData="M318.63,32.19a7.8,7.8 0,1 0,15.6 0a7.8,7.8 0,1 0,-15.6 0z"
|
||||
android:fillColor="#D32D27"/>
|
||||
</vector>
|
9
app/src/main/res/drawable/thumb_mailgun.xml
Normal file
9
app/src/main/res/drawable/thumb_mailgun.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="256dp"
|
||||
android:height="256dp"
|
||||
android:viewportWidth="256.0"
|
||||
android:viewportHeight="256.0">
|
||||
<path
|
||||
android:pathData="M128,105.85C140.24,105.85 150.15,115.77 150.15,128C150.15,140.24 140.24,150.15 128,150.15C115.76,150.15 105.85,140.23 105.85,128C105.85,115.77 115.76,105.85 128,105.85L128,105.85ZM52.51,128C52.51,86.31 86.31,52.51 128,52.51C169.69,52.51 203.49,86.31 203.49,128C203.49,130.76 203.34,133.48 203.05,136.16C202.48,143.52 207.88,149.13 215.19,149.13C227.6,149.13 228.92,133.13 228.92,128C228.92,72.26 183.74,27.08 128,27.08C72.26,27.08 27.08,72.26 27.08,128C27.08,183.74 72.26,228.92 128,228.92C157.6,228.92 184.22,216.18 202.69,195.88L223.43,213.31C200,239.5 165.92,256 128,256C57.31,256 0,198.69 0,128C0,57.31 57.31,0 128,0C198.69,0 256,57.31 256,128C256,156.42 242.47,179.49 215.29,179.49C203.33,179.49 196.06,174.01 192.09,167.89C178.76,189.26 155.05,203.49 128,203.49C86.31,203.49 52.51,169.69 52.51,128L52.51,128ZM128,79.59C101.26,79.59 79.59,101.26 79.59,128C79.59,154.74 101.26,176.41 128,176.41C154.73,176.41 176.41,154.74 176.41,128C176.41,101.26 154.73,79.59 128,79.59L128,79.59Z"
|
||||
android:fillColor="#AF252A"/>
|
||||
</vector>
|
12
app/src/main/res/drawable/thumb_mastodon.xml
Normal file
12
app/src/main/res/drawable/thumb_mastodon.xml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="216dp"
|
||||
android:height="232dp"
|
||||
android:viewportWidth="216.4144"
|
||||
android:viewportHeight="232.00977">
|
||||
<path
|
||||
android:pathData="M211.81,139.09c-3.18,16.37 -28.49,34.28 -57.56,37.75 -15.16,1.81 -30.08,3.47 -46,2.74 -26.03,-1.19 -46.56,-6.21 -46.56,-6.21 0,2.53 0.16,4.95 0.47,7.2 3.38,25.69 25.47,27.23 46.39,27.94 21.12,0.72 39.92,-5.21 39.92,-5.21l0.87,19.09s-14.77,7.93 -41.08,9.39c-14.51,0.8 -32.52,-0.37 -53.51,-5.92C9.23,213.82 1.41,165.31 0.21,116.09c-0.37,-14.61 -0.14,-28.39 -0.14,-39.92 0,-50.33 32.98,-65.08 32.98,-65.08C49.67,3.45 78.2,0.24 107.86,0h0.73c29.66,0.24 58.21,3.45 74.84,11.09 0,0 32.97,14.75 32.97,65.08 0,0 0.41,37.13 -4.6,62.92"
|
||||
android:fillColor="#3088d4"/>
|
||||
<path
|
||||
android:pathData="M177.51,80.08v60.94h-24.14v-59.15c0,-12.47 -5.25,-18.8 -15.74,-18.8 -11.6,0 -17.42,7.51 -17.42,22.35v32.38H96.21V85.42c0,-14.85 -5.82,-22.35 -17.42,-22.35 -10.49,0 -15.74,6.33 -15.74,18.8v59.15H38.9V80.08c0,-12.45 3.17,-22.35 9.54,-29.67 6.57,-7.32 15.17,-11.08 25.85,-11.08 12.35,0 21.71,4.75 27.9,14.25l6.01,10.08 6.01,-10.08c6.18,-9.5 15.54,-14.25 27.9,-14.25 10.68,0 19.28,3.75 25.85,11.08 6.37,7.32 9.54,17.22 9.54,29.67"
|
||||
android:fillColor="#fff"/>
|
||||
</vector>
|
30
app/src/main/res/drawable/thumb_microsoft.xml
Normal file
30
app/src/main/res/drawable/thumb_microsoft.xml
Normal file
|
@ -0,0 +1,30 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="220dp"
|
||||
android:height="220dp"
|
||||
android:viewportWidth="220.0"
|
||||
android:viewportHeight="220.0">
|
||||
<path
|
||||
android:pathData="M104.87,104.87 L0,104.87 0,0l104.87,0 0,104.87z"
|
||||
android:fillAlpha="1"
|
||||
android:fillType="nonZero"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillColor="#f1511b"/>
|
||||
<path
|
||||
android:pathData="m220.65,104.87 l-104.87,0 0,-104.87 104.87,0 0,104.87z"
|
||||
android:fillAlpha="1"
|
||||
android:fillType="nonZero"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillColor="#80cc28"/>
|
||||
<path
|
||||
android:pathData="m104.86,220.7 l-104.86,0 0,-104.87 104.86,0 0,104.87z"
|
||||
android:fillAlpha="1"
|
||||
android:fillType="nonZero"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillColor="#00adef"/>
|
||||
<path
|
||||
android:pathData="m220.65,220.7 l-104.87,0 0,-104.87 104.87,0 0,104.87z"
|
||||
android:fillAlpha="1"
|
||||
android:fillType="nonZero"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillColor="#fbbc09"/>
|
||||
</vector>
|
52
app/src/main/res/drawable/thumb_nextcloud.xml
Normal file
52
app/src/main/res/drawable/thumb_nextcloud.xml
Normal file
|
@ -0,0 +1,52 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="133dp"
|
||||
android:height="94dp"
|
||||
android:viewportWidth="133.89203"
|
||||
android:viewportHeight="94.62735">
|
||||
<path
|
||||
android:pathData="m67.03,10c-11.81,0 -21.81,8 -24.91,18.85 -2.7,-5.75 -8.54,-9.78 -15.26,-9.78 -9.25,0 -16.86,7.61 -16.86,16.86 0,9.25 7.61,16.86 16.86,16.86 6.73,0 12.57,-4.03 15.26,-9.78 3.1,10.84 13.11,18.85 24.91,18.85 11.72,0 21.67,-7.89 24.85,-18.61 2.75,5.62 8.51,9.54 15.15,9.54 9.25,0 16.86,-7.61 16.86,-16.86 0,-9.25 -7.61,-16.86 -16.86,-16.86 -6.63,0 -12.4,3.92 -15.15,9.54C88.71,17.88 78.75,10 67.03,10ZM67.03,19.9c8.91,0 16.03,7.12 16.03,16.03 0,8.91 -7.12,16.03 -16.03,16.03 -8.91,0 -16.03,-7.12 -16.03,-16.03 0,-8.91 7.12,-16.03 16.03,-16.03zM26.86,28.96c3.9,0 6.97,3.06 6.97,6.96 0,3.9 -3.06,6.97 -6.97,6.97 -3.9,0 -6.96,-3.06 -6.96,-6.97 0,-3.9 3.06,-6.96 6.96,-6.96zM107.03,28.96c3.9,0 6.97,3.06 6.97,6.96 0,3.9 -3.06,6.97 -6.97,6.97 -3.9,0 -6.96,-3.06 -6.96,-6.97 0,-3.9 3.06,-6.96 6.96,-6.96z"
|
||||
android:strokeLineCap="butt"
|
||||
android:fillAlpha="1"
|
||||
android:fillType="nonZero"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillColor="#0082c9"
|
||||
android:strokeWidth="5.56589985"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeAlpha="1"/>
|
||||
<path
|
||||
android:pathData="m39.11,73.76c2.78,0 4.33,1.98 4.33,4.94 0,0.28 -0.24,0.52 -0.52,0.52l-7.48,0c0.05,2.63 1.88,4.14 4,4.14 1.32,0 2.26,-0.56 2.73,-0.94 0.28,-0.19 0.52,-0.14 0.66,0.14l0.14,0.24c0.14,0.24 0.09,0.47 -0.14,0.66 -0.56,0.42 -1.79,1.13 -3.43,1.13 -3.06,0 -5.41,-2.21 -5.41,-5.41 0.05,-3.39 2.3,-5.41 5.13,-5.41zM41.98,78.18c-0.09,-2.16 -1.41,-3.25 -2.92,-3.25 -1.74,0 -3.25,1.13 -3.57,3.25l6.49,0z"
|
||||
android:fillAlpha="1"
|
||||
android:fillColor="#0082c9"/>
|
||||
<path
|
||||
android:pathData="m57.56,75.27 l0,-1.18 0,-2.45c0,-0.33 0.19,-0.52 0.52,-0.52l0.38,0c0.33,0 0.47,0.19 0.47,0.52l0,2.45 2.12,0c0.33,0 0.52,0.19 0.52,0.52l0,0.14c0,0.33 -0.19,0.47 -0.52,0.47l-2.12,0 0,5.17c0,2.4 1.46,2.68 2.26,2.73 0.42,0.05 0.56,0.14 0.56,0.52l0,0.28c0,0.33 -0.14,0.47 -0.56,0.47 -2.26,0 -3.62,-1.36 -3.62,-3.81l0,-5.32z"
|
||||
android:fillAlpha="1"
|
||||
android:fillColor="#0082c9"/>
|
||||
<path
|
||||
android:pathData="m68.33,73.76c1.79,0 2.92,0.75 3.43,1.18 0.24,0.19 0.28,0.42 0.05,0.71l-0.14,0.24c-0.19,0.28 -0.42,0.28 -0.71,0.09 -0.47,-0.33 -1.36,-0.94 -2.59,-0.94 -2.26,0 -4.05,1.69 -4.05,4.19 0,2.45 1.79,4.14 4.05,4.14 1.46,0 2.45,-0.66 2.92,-1.08 0.28,-0.19 0.47,-0.14 0.66,0.14l0.14,0.19c0.14,0.28 0.09,0.47 -0.14,0.71 -0.52,0.42 -1.79,1.32 -3.67,1.32 -3.06,0 -5.41,-2.21 -5.41,-5.41 0.05,-3.2 2.4,-5.46 5.46,-5.46z"
|
||||
android:fillAlpha="1"
|
||||
android:fillColor="#0082c9"/>
|
||||
<path
|
||||
android:pathData="m74.59,70.42c0,-0.33 -0.19,-0.52 0.14,-0.52l0.38,0c0.33,0 0.85,0.19 0.85,0.52l0,11.24c0,1.32 0.61,1.46 1.08,1.51 0.24,0 0.42,0.14 0.42,0.47l0,0.33c0,0.33 -0.14,0.52 -0.52,0.52 -0.85,0 -2.35,-0.28 -2.35,-2.54l0,-11.52z"
|
||||
android:fillAlpha="1"
|
||||
android:fillColor="#0082c9"/>
|
||||
<path
|
||||
android:pathData="m84.23,73.76c3.01,0 5.46,2.3 5.46,5.36 0,3.1 -2.45,5.46 -5.46,5.46 -3.01,0 -5.46,-2.35 -5.46,-5.46 0,-3.06 2.45,-5.36 5.46,-5.36zM84.23,83.36c2.21,0 4,-1.79 4,-4.23 0,-2.35 -1.79,-4.09 -4,-4.09 -2.21,0 -4.05,1.79 -4.05,4.09 0.05,2.4 1.83,4.23 4.05,4.23z"
|
||||
android:fillAlpha="1"
|
||||
android:fillColor="#0082c9"/>
|
||||
<path
|
||||
android:pathData="m107.7,73.76c2.49,0 3.39,2.07 3.39,2.07l0.05,0c0,0 -0.05,-0.33 -0.05,-0.8l0,-4.66c0,-0.33 -0.14,-0.52 0.19,-0.52l0.38,0c0.33,0 0.85,0.19 0.85,0.52l0,13.41c0,0.33 -0.14,0.52 -0.47,0.52l-0.33,0c-0.33,0 -0.52,-0.14 -0.52,-0.47l0,-0.8c0,-0.38 0.09,-0.66 0.09,-0.66l-0.05,0c0,0 -0.89,2.16 -3.57,2.16 -2.78,0 -4.52,-2.21 -4.52,-5.41 -0.09,-3.2 1.83,-5.36 4.56,-5.36zM107.75,83.36c1.74,0 3.34,-1.22 3.34,-4.19 0,-2.12 -1.08,-4.14 -3.29,-4.14 -1.83,0 -3.34,1.51 -3.34,4.14 0.05,2.54 1.36,4.19 3.29,4.19z"
|
||||
android:fillAlpha="1"
|
||||
android:fillColor="#0082c9"/>
|
||||
<path
|
||||
android:pathData="m21.86,84.35 l0.38,0c0.33,0 0.52,-0.19 0.52,-0.52l0,-10.1C22.75,72.13 24.49,70.99 26.47,70.99c1.98,0 3.72,1.14 3.72,2.74L30.19,83.83c0,0.33 0.19,0.52 0.52,0.52l0.38,0c0.33,0 0.47,-0.19 0.47,-0.52l0,-10.16c0,-2.68 -2.68,-4 -5.13,-4l0,0 0,0 0,0 0,0C24.07,69.67 21.39,70.99 21.39,73.67l0,10.16c0,0.33 0.14,0.52 0.47,0.52z"
|
||||
android:fillAlpha="1"
|
||||
android:fillColor="#0082c9"/>
|
||||
<path
|
||||
android:pathData="m100.37,74 l-0.38,0c-0.33,0 -0.52,0.19 -0.52,0.52l0,5.69c0,1.6 -1.03,3.06 -3.06,3.06 -1.98,0 -3.06,-1.46 -3.06,-3.06l0,-5.69c0,-0.33 -0.19,-0.52 -0.52,-0.52l-0.38,0c-0.33,0 -0.47,0.19 -0.47,0.52l0,6.07c0,2.68 1.98,4 4.42,4l0,0c0,0 0,0 0,0 0,0 0,0 0,0l0,0c2.45,0 4.42,-1.32 4.42,-4l0,-6.07c0.05,-0.33 -0.14,-0.52 -0.47,-0.52z"
|
||||
android:fillAlpha="1"
|
||||
android:fillColor="#0082c9"/>
|
||||
<path
|
||||
android:pathData="m53.8,73.92c-0.12,0.02 -0.23,0.1 -0.33,0.22l-1.9,2.27 -1.42,1.7 -2.16,-2.57 -1.17,-1.4c-0.11,-0.13 -0.23,-0.2 -0.35,-0.21 -0.12,-0.01 -0.25,0.04 -0.38,0.14l-0.29,0.24c-0.25,0.21 -0.24,0.45 -0.03,0.7l1.9,2.27 1.58,1.88 -2.31,2.76c-0,0 -0,0 -0,0.01l-1.17,1.39c-0.21,0.25 -0.19,0.52 0.06,0.73l0.29,0.24c0.25,0.21 0.48,0.16 0.69,-0.09l1.9,-2.27 1.42,-1.7 2.16,2.57c0,0 0,0 0,0l1.17,1.39c0.21,0.25 0.48,0.28 0.73,0.06l0.29,-0.24c0.25,-0.21 0.24,-0.45 0.03,-0.7l-1.9,-2.27 -1.58,-1.88 2.31,-2.76c0,-0 0,-0 0,-0.01l1.17,-1.39c0.21,-0.25 0.19,-0.52 -0.06,-0.73l-0.29,-0.24c-0.13,-0.11 -0.25,-0.15 -0.36,-0.13z"
|
||||
android:fillAlpha="1"
|
||||
android:fillColor="#0082c9"/>
|
||||
</vector>
|
20
app/src/main/res/drawable/thumb_origin.xml
Normal file
20
app/src/main/res/drawable/thumb_origin.xml
Normal file
|
@ -0,0 +1,20 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="256dp"
|
||||
android:height="344dp"
|
||||
android:viewportWidth="256.0"
|
||||
android:viewportHeight="344.0">
|
||||
<path
|
||||
android:pathData="M127.62,2.37C128.32,4.18 127.11,5.82 126.11,7.22C119.09,17.18 113.57,28.31 111.36,40.28C110.5,42.74 110.69,44.57 111.36,44.77C125,43.58 140.37,43.71 153.8,46.58C178.22,51.5 201.05,63.86 218.59,81.52C236.08,99.01 248.36,121.67 253.33,145.91C258.84,172.16 255.76,200.09 244.74,224.54C221.38,274.46 182.01,316.68 133.82,343.45C132.27,344.17 130.03,344.2 128.97,342.65C127.71,341.03 128.23,338.73 129.47,337.25C135.97,328.19 140.51,317.76 142.97,306.89C143.45,304.64 144.09,302.35 143.9,300.03C143.1,299 141.79,299.31 140.67,299.35C117.29,301.69 93.22,297.51 72.09,287.18C49.45,276.27 30.24,258.45 17.54,236.77C5.78,216.84 -0.41,193.62 0.02,170.46C0.1,149.2 5.9,128.12 16.11,109.51C39.89,63.86 77.22,25.35 122.28,0.46C124.17,-0.59 126.97,0.19 127.62,2.37L127.62,2.37ZM120.97,122.44C107.06,124.31 94.23,132.48 86.44,144.12C81.16,152.12 77.97,161.61 78.03,171.23C77.64,184.11 82.77,197.02 91.67,206.3C99.45,214.67 110.25,220.13 121.58,221.59C133.12,223.11 145.16,220.41 154.93,214.07C164.86,207.77 172.42,197.82 175.81,186.55C182.16,166.98 174.54,144.06 157.97,131.97C147.56,124.05 133.91,120.54 120.97,122.44L120.97,122.44L120.97,122.44Z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
|
||||
android:startY="-0.5899999737739563"
|
||||
android:startX="129.21499817073345"
|
||||
android:endY="344.20001220703125"
|
||||
android:endX="129.21499817073345"
|
||||
android:type="linear">
|
||||
<item android:offset="0.0" android:color="#FFFF9900" />
|
||||
<item android:offset="1.0" android:color="#FFF05A22" />
|
||||
</gradient></aapt:attr></path>
|
||||
</vector>
|
18
app/src/main/res/drawable/thumb_paypal.xml
Normal file
18
app/src/main/res/drawable/thumb_paypal.xml
Normal file
|
@ -0,0 +1,18 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="256dp"
|
||||
android:height="302dp"
|
||||
android:viewportWidth="256.0"
|
||||
android:viewportHeight="302.0">
|
||||
<path
|
||||
android:pathData="M217.17,23.51C203.23,7.62 178.05,0.82 145.82,0.82L52.3,0.82C45.71,0.82 40.11,5.61 39.08,12.11L0.14,259.08C-0.64,263.95 3.13,268.36 8.07,268.36L65.8,268.36L80.31,176.39L79.86,179.27C80.89,172.76 86.45,167.97 93.03,167.97L120.47,167.97C174.37,167.97 216.57,146.08 228.9,82.75C229.26,80.88 229.58,79.05 229.85,77.27C228.3,76.45 228.3,76.45 229.85,77.27C233.53,53.86 229.83,37.93 217.17,23.51"
|
||||
android:fillColor="#27346A"/>
|
||||
<path
|
||||
android:pathData="M102.4,68.84C103.94,68.11 105.65,67.7 107.45,67.7L180.77,67.7C189.45,67.7 197.55,68.27 204.95,69.46C207.07,69.8 209.13,70.19 211.13,70.64C213.12,71.08 215.06,71.58 216.94,72.13C217.88,72.4 218.81,72.69 219.72,72.98C223.35,74.2 226.74,75.62 229.85,77.27C233.53,53.86 229.83,37.93 217.17,23.51C203.23,7.62 178.05,0.82 145.82,0.82L52.29,0.82C45.71,0.82 40.11,5.61 39.08,12.11L0.14,259.07C-0.64,263.95 3.13,268.35 8.06,268.35L65.8,268.35L95.89,77.58C96.5,73.67 99.02,70.46 102.4,68.84Z"
|
||||
android:fillColor="#27346A"/>
|
||||
<path
|
||||
android:pathData="M228.9,82.75C216.57,146.07 174.37,167.97 120.47,167.97L93.02,167.97C86.44,167.97 80.88,172.76 79.86,179.27L61.82,293.62C61.14,297.88 64.44,301.75 68.75,301.75L117.42,301.75C123.18,301.75 128.08,297.55 128.98,291.86L129.46,289.38L138.63,231.25L139.22,228.04C140.12,222.35 145.02,218.16 150.78,218.16L158.07,218.16C205.22,218.16 242.13,199 252.92,143.61C257.42,120.46 255.09,101.13 243.18,87.55C239.57,83.44 235.08,80.04 229.85,77.27C229.57,79.06 229.26,80.88 228.9,82.75L228.9,82.75Z"
|
||||
android:fillColor="#2790C3"/>
|
||||
<path
|
||||
android:pathData="M216.95,72.13C215.07,71.58 213.13,71.08 211.13,70.64C209.14,70.2 207.07,69.81 204.96,69.46C197.55,68.27 189.46,67.7 180.77,67.7L107.46,67.7C105.65,67.7 103.94,68.11 102.41,68.85C99.02,70.47 96.51,73.67 95.9,77.59L80.31,176.39L79.86,179.27C80.89,172.76 86.45,167.97 93.03,167.97L120.48,167.97C174.37,167.97 216.58,146.08 228.91,82.75C229.27,80.88 229.58,79.06 229.86,77.27C226.74,75.62 223.36,74.2 219.72,72.99C218.82,72.69 217.89,72.4 216.95,72.13"
|
||||
android:fillColor="#1F264F"/>
|
||||
</vector>
|
18
app/src/main/res/drawable/thumb_protonmail.xml
Normal file
18
app/src/main/res/drawable/thumb_protonmail.xml
Normal file
|
@ -0,0 +1,18 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="56dp"
|
||||
android:height="79dp"
|
||||
android:viewportWidth="56.425"
|
||||
android:viewportHeight="79.2625">
|
||||
<path
|
||||
android:pathData="m44.22,34.8 l-32.03,0 0,-9.63c3.25,-12.88 16.01,-13.06 16.01,-13.06 0,0 12.76,0.18 16.01,13.06l0,9.63zM28.21,-0c0,0 -23.39,-0.77 -28.21,25.17L0,42.84c0,0 0.2,1.89 5.52,5.73 5.32,3.84 19.09,14.66 22.69,14.66 3.6,0 17.37,-10.81 22.69,-14.66 5.32,-3.84 5.52,-5.73 5.52,-5.73l0,-17.67C51.6,-0.77 28.21,-0 28.21,-0"
|
||||
android:fillAlpha="1"
|
||||
android:fillType="nonZero"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillColor="#8b89cc"/>
|
||||
<path
|
||||
android:pathData="m28.21,67.21c0,0 -3.62,-0.35 -6.46,-2.32C18.91,62.91 0,49.4 0,49.4L0,76.15C0,76.15 0.16,79.26 3.59,79.26 7.02,79.26 28.21,79.26 28.21,79.26c0,0 21.19,0 24.62,0 3.43,0 3.59,-3.11 3.59,-3.11l0,-26.75c0,0 -18.91,13.51 -21.75,15.48C31.83,66.85 28.21,67.21 28.21,67.21"
|
||||
android:fillAlpha="1"
|
||||
android:fillType="nonZero"
|
||||
android:strokeColor="#00000000"
|
||||
android:fillColor="#8b89cc"/>
|
||||
</vector>
|
40
app/src/main/res/drawable/thumb_rss.xml
Normal file
40
app/src/main/res/drawable/thumb_rss.xml
Normal file
|
@ -0,0 +1,40 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="128dp"
|
||||
android:height="128dp"
|
||||
android:viewportWidth="256.0"
|
||||
android:viewportHeight="256.0">
|
||||
<path
|
||||
android:pathData="M55,0L201,0A55,55 0,0 1,256 55L256,201A55,55 0,0 1,201 256L55,256A55,55 0,0 1,0 201L0,55A55,55 0,0 1,55 0z"
|
||||
android:fillColor="#CC5D15"/>
|
||||
<path
|
||||
android:pathData="M55,5L201,5A50,50 0,0 1,251 55L251,201A50,50 0,0 1,201 251L55,251A50,50 0,0 1,5 201L5,55A50,50 0,0 1,55 5z"
|
||||
android:fillColor="#F49C52"/>
|
||||
<path
|
||||
android:pathData="M57,10L199,10A47,47 0,0 1,246 57L246,199A47,47 0,0 1,199 246L57,246A47,47 0,0 1,10 199L10,57A47,47 0,0 1,57 10z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
|
||||
android:startY="30.060000000000002"
|
||||
android:startX="30.060000000000002"
|
||||
android:endY="225.94"
|
||||
android:endX="225.94"
|
||||
android:type="linear">
|
||||
<item android:offset="0.0" android:color="#FFE3702D" />
|
||||
<item android:offset="0.1071" android:color="#FFEA7D31" />
|
||||
<item android:offset="0.3503" android:color="#FFF69537" />
|
||||
<item android:offset="0.5" android:color="#FFFB9E3A" />
|
||||
<item android:offset="0.7016" android:color="#FFEA7C31" />
|
||||
<item android:offset="0.8866" android:color="#FFDE642B" />
|
||||
<item android:offset="1.0" android:color="#FFD95B29" />
|
||||
</gradient></aapt:attr></path>
|
||||
<path
|
||||
android:pathData="M68,189m-24,0a24,24 0,1 1,48 0a24,24 0,1 1,-48 0"
|
||||
android:fillColor="#FFF"/>
|
||||
<path
|
||||
android:pathData="M160,213h-34a82,82 0,0 0,-82 -82v-34a116,116 0,0 1,116 116z"
|
||||
android:fillColor="#FFF"/>
|
||||
<path
|
||||
android:pathData="M184,213A140,140 0,0 0,44 73V38a175,175 0,0 1,175 175z"
|
||||
android:fillColor="#FFF"/>
|
||||
</vector>
|
11
app/src/main/res/drawable/thumb_slack.xml
Normal file
11
app/src/main/res/drawable/thumb_slack.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<vector android:height="256dp" android:viewportHeight="256.0"
|
||||
android:viewportWidth="256.0" android:width="256dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#DFA22F" android:pathData="M165.96,15.84c-3.89,-11.98 -16.75,-18.53 -28.73,-14.64 -11.98,3.89 -18.53,16.75 -14.64,28.73l58.95,181.37c4.05,11.19 16.13,17.47 27.73,14.14 12.1,-3.48 19.48,-16.33 15.61,-28.22L165.96,15.84"/>
|
||||
<path android:fillColor="#3CB187" android:pathData="M74.63,45.52C70.73,33.54 57.87,26.99 45.9,30.88 33.92,34.77 27.37,47.63 31.26,59.61l58.95,181.37c4.05,11.19 16.13,17.47 27.73,14.13 12.1,-3.48 19.47,-16.33 15.61,-28.22L74.63,45.52"/>
|
||||
<path android:fillColor="#CE1E5B" android:pathData="M240.16,166.04c11.98,-3.89 18.53,-16.75 14.64,-28.73 -3.89,-11.97 -16.75,-18.53 -28.73,-14.64L44.71,181.63c-11.19,4.05 -17.47,16.13 -14.14,27.73 3.48,12.1 16.33,19.48 28.22,15.61l181.37,-58.93"/>
|
||||
<path android:fillColor="#392538" android:pathData="M82.51,217.27l43.35,-14.08 -14.09,-43.35 -43.35,14.09 14.09,43.35"/>
|
||||
<path android:fillColor="#BB242A" android:pathData="M173.85,187.59c16.39,-5.32 31.62,-10.27 43.35,-14.08l-14.09,-43.36 -43.35,14.09 14.09,43.35"/>
|
||||
<path android:fillColor="#72C5CD" android:pathData="M210.48,74.71c11.97,-3.89 18.53,-16.75 14.64,-28.73 -3.89,-11.97 -16.75,-18.53 -28.73,-14.64L15.03,90.29C3.84,94.34 -2.44,106.42 0.9,118.02c3.48,12.1 16.33,19.47 28.22,15.61l181.37,-58.93"/>
|
||||
<path android:fillColor="#248C73" android:pathData="M52.82,125.93c11.81,-3.84 27.02,-8.78 43.35,-14.09 -5.32,-16.39 -10.27,-31.62 -14.08,-43.35l-43.36,14.09 14.09,43.35"/>
|
||||
<path android:fillColor="#62803A" android:pathData="M144.16,96.26l43.36,-14.09a546179.19,546179.19 0,0 0,-14.09 -43.36L130.07,52.9l14.09,43.36"/>
|
||||
</vector>
|
9
app/src/main/res/drawable/thumb_steam.xml
Normal file
9
app/src/main/res/drawable/thumb_steam.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="256dp"
|
||||
android:height="259dp"
|
||||
android:viewportWidth="256.0"
|
||||
android:viewportHeight="259.0">
|
||||
<path
|
||||
android:pathData="M127.78,0C60.42,0 5.24,52.41 0,119.01L68.72,147.69C74.55,143.67 81.58,141.32 89.15,141.32C89.83,141.32 90.51,141.34 91.17,141.38L121.74,96.67L121.74,96.04C121.74,69.14 143.43,47.25 170.09,47.25C196.75,47.25 218.44,69.14 218.44,96.04C218.44,122.94 196.75,144.85 170.09,144.85C169.72,144.85 169.36,144.84 168.99,144.83L125.4,176.21C125.43,176.79 125.44,177.37 125.44,177.94C125.44,198.14 109.16,214.58 89.15,214.58C71.58,214.58 56.89,201.92 53.57,185.16L4.41,164.65C19.63,218.97 69.08,258.79 127.78,258.79C198.6,258.79 256,200.85 256,129.39C256,57.93 198.6,0 127.78,0ZM80.35,196.33L64.6,189.76C67.39,195.63 72.22,200.54 78.64,203.23C92.49,209.06 108.47,202.43 114.25,188.44C117.04,181.66 117.06,174.19 114.29,167.4C111.53,160.61 106.3,155.31 99.59,152.49C92.92,149.7 85.78,149.8 79.5,152.19L95.78,158.98C106,163.28 110.83,175.12 106.57,185.44C102.32,195.75 90.57,200.63 80.35,196.33ZM202.31,96.04C202.31,78.12 187.85,63.52 170.09,63.52C152.32,63.52 137.87,78.12 137.87,96.04C137.87,113.97 152.32,128.55 170.09,128.55C187.85,128.55 202.31,113.97 202.31,96.04ZM145.94,95.99C145.94,82.5 156.78,71.57 170.14,71.57C183.51,71.57 194.35,82.5 194.35,95.99C194.35,109.48 183.51,120.41 170.14,120.41C156.78,120.41 145.94,109.48 145.94,95.99Z"
|
||||
android:fillColor="#1A1918"/>
|
||||
</vector>
|
9
app/src/main/res/drawable/thumb_stripe.xml
Normal file
9
app/src/main/res/drawable/thumb_stripe.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="512dp"
|
||||
android:height="214dp"
|
||||
android:viewportWidth="512.0"
|
||||
android:viewportHeight="214.0">
|
||||
<path
|
||||
android:pathData="M35.98,83.48C35.98,77.94 40.53,75.8 48.07,75.8C58.88,75.8 72.53,79.08 83.34,84.91L83.34,51.48C71.54,46.79 59.88,44.94 48.07,44.94C19.2,44.94 0,60.02 0,85.19C0,124.44 54.04,118.19 54.04,135.11C54.04,141.65 48.36,143.79 40.39,143.79C28.59,143.79 13.51,138.95 1.56,132.41L1.56,166.26C14.79,171.95 28.16,174.36 40.39,174.36C69.97,174.36 90.31,159.72 90.31,134.26C90.17,91.88 35.98,99.41 35.98,83.48ZM132.12,16.5L97.42,23.89L97.28,137.81C97.28,158.86 113.07,174.36 134.12,174.36C145.78,174.36 154.31,172.23 159,169.67L159,140.8C154.45,142.65 131.98,149.19 131.98,128.14L131.98,77.65L159,77.65L159,47.36L131.98,47.36L132.12,16.5ZM203.24,57.88L200.96,47.36L170.24,47.36L170.24,171.8L205.8,171.8L205.8,87.47C214.19,76.52 228.41,78.51 232.82,80.07L232.82,47.36C228.27,45.65 211.63,42.52 203.24,57.88ZM241.49,47.36L277.19,47.36L277.19,171.8L241.49,171.8L241.49,47.36ZM241.49,36.55L277.19,28.87L277.19,0L241.49,7.54L241.49,36.55ZM351.43,44.94C337.49,44.94 328.53,51.48 323.56,56.04L321.71,47.22L290.42,47.22L290.42,213.05L325.97,205.51L326.12,165.26C331.24,168.96 338.77,174.22 351.29,174.22C376.75,174.22 399.93,153.74 399.93,108.66C399.79,67.41 376.32,44.94 351.43,44.94ZM342.9,142.93C334.51,142.93 329.53,139.95 326.12,136.25L325.97,83.48C329.67,79.36 334.79,76.52 342.9,76.52C355.84,76.52 364.8,91.02 364.8,109.65C364.8,128.71 355.98,142.93 342.9,142.93ZM512,110.08C512,73.67 494.36,44.94 460.66,44.94C426.81,44.94 406.33,73.67 406.33,109.8C406.33,152.6 430.51,174.22 465.21,174.22C482.13,174.22 494.93,170.38 504.6,164.98L504.6,136.53C494.93,141.37 483.84,144.36 469.76,144.36C455.96,144.36 443.73,139.52 442.17,122.74L511.72,122.74C511.72,120.89 512,113.49 512,110.08ZM441.74,96.57C441.74,80.5 451.56,73.81 460.52,73.81C469.19,73.81 478.44,80.5 478.44,96.57L441.74,96.57L441.74,96.57Z"
|
||||
android:fillColor="#6772E5"/>
|
||||
</vector>
|
9
app/src/main/res/drawable/thumb_twitch.xml
Normal file
9
app/src/main/res/drawable/thumb_twitch.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="256dp"
|
||||
android:height="268dp"
|
||||
android:viewportWidth="256.0"
|
||||
android:viewportHeight="268.0">
|
||||
<path
|
||||
android:pathData="M17.46,0L0,46.56L0,232.76L63.98,232.76L63.98,267.69L98.91,267.69L133.81,232.76L186.17,232.76L256,162.95L256,0L17.46,0ZM40.72,23.26L232.73,23.26L232.73,151.29L191.99,192.03L128,192.03L93.11,226.92L93.11,192.03L40.72,192.03L40.72,23.26ZM104.72,139.67L128,139.67L128,69.84L104.72,69.84L104.72,139.67ZM168.72,139.67L191.99,139.67L191.99,69.84L168.72,69.84L168.72,139.67Z"
|
||||
android:fillColor="#5A3E85"/>
|
||||
</vector>
|
9
app/src/main/res/drawable/thumb_twitter.xml
Normal file
9
app/src/main/res/drawable/thumb_twitter.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="256dp"
|
||||
android:height="209dp"
|
||||
android:viewportWidth="256.0"
|
||||
android:viewportHeight="209.0">
|
||||
<path
|
||||
android:pathData="M256,25.45C246.58,29.63 236.46,32.45 225.83,33.72C236.68,27.22 245.01,16.93 248.93,4.66C238.78,10.68 227.54,15.05 215.58,17.41C205.99,7.2 192.35,0.82 177.24,0.82C148.23,0.82 124.72,24.34 124.72,53.34C124.72,57.46 125.18,61.47 126.08,65.31C82.43,63.12 43.73,42.21 17.82,10.44C13.3,18.19 10.71,27.22 10.71,36.84C10.71,55.06 19.98,71.14 34.08,80.56C25.47,80.28 17.37,77.92 10.29,73.99C10.28,74.21 10.28,74.43 10.28,74.65C10.28,100.09 28.39,121.32 52.41,126.15C48.01,127.35 43.37,127.99 38.58,127.99C35.19,127.99 31.9,127.66 28.69,127.05C35.38,147.91 54.77,163.1 77.76,163.52C59.78,177.61 37.14,186 12.53,186C8.29,186 4.11,185.76 0,185.27C23.24,200.17 50.85,208.87 80.51,208.87C177.12,208.87 229.94,128.84 229.94,59.43C229.94,57.16 229.89,54.89 229.79,52.64C240.05,45.23 248.96,35.98 256,25.45"
|
||||
android:fillColor="#55acee"/>
|
||||
</vector>
|
21
app/src/main/res/drawable/thumb_wordpress.xml
Normal file
21
app/src/main/res/drawable/thumb_wordpress.xml
Normal file
|
@ -0,0 +1,21 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="122dp"
|
||||
android:height="122dp"
|
||||
android:viewportWidth="122.52"
|
||||
android:viewportHeight="122.523">
|
||||
<path
|
||||
android:pathData="m8.71,61.26c0,20.8 12.09,38.78 29.62,47.3l-25.07,-68.69c-2.92,6.54 -4.55,13.77 -4.55,21.39z"
|
||||
android:fillColor="#21759b"/>
|
||||
<path
|
||||
android:pathData="m96.74,58.61c0,-6.49 -2.33,-10.99 -4.33,-14.49 -2.66,-4.33 -5.16,-7.99 -5.16,-12.32 0,-4.83 3.66,-9.33 8.82,-9.33 0.23,0 0.45,0.03 0.68,0.04 -9.35,-8.57 -21.81,-13.8 -35.49,-13.8 -18.36,0 -34.51,9.42 -43.91,23.69 1.23,0.04 2.39,0.06 3.38,0.06 5.5,0 14.01,-0.67 14.01,-0.67 2.83,-0.17 3.17,3.99 0.34,4.33 0,0 -2.85,0.34 -6.01,0.5l19.14,56.92 11.5,-34.49 -8.19,-22.43c-2.83,-0.17 -5.51,-0.5 -5.51,-0.5 -2.83,-0.17 -2.5,-4.5 0.33,-4.33 0,0 8.68,0.67 13.84,0.67 5.5,0 14.01,-0.67 14.01,-0.67 2.84,-0.17 3.17,3.99 0.34,4.33 0,0 -2.85,0.34 -6.01,0.5l18.99,56.49 5.24,-17.52c2.27,-7.27 4,-12.49 4,-16.99z"
|
||||
android:fillColor="#21759b"/>
|
||||
<path
|
||||
android:pathData="m62.18,65.86 l-15.77,45.82c4.71,1.38 9.69,2.14 14.85,2.14 6.12,0 11.99,-1.06 17.45,-2.98 -0.14,-0.22 -0.27,-0.46 -0.37,-0.72z"
|
||||
android:fillColor="#21759b"/>
|
||||
<path
|
||||
android:pathData="m107.38,36.05c0.23,1.67 0.35,3.47 0.35,5.4 0,5.33 -1,11.33 -4,18.82l-16.05,46.41c15.62,-9.11 26.13,-26.04 26.13,-45.43 0,-9.14 -2.33,-17.73 -6.44,-25.22z"
|
||||
android:fillColor="#21759b"/>
|
||||
<path
|
||||
android:pathData="m61.26,0c-33.78,0 -61.26,27.48 -61.26,61.26 0,33.78 27.48,61.26 61.26,61.26 33.78,0 61.26,-27.48 61.26,-61.26 -0,-33.78 -27.49,-61.26 -61.26,-61.26zM61.26,119.71c-32.23,0 -58.45,-26.22 -58.45,-58.46 0,-32.23 26.22,-58.45 58.45,-58.45 32.23,0 58.45,26.22 58.45,58.45 0,32.23 -26.22,58.46 -58.45,58.46z"
|
||||
android:fillColor="#21759b"/>
|
||||
</vector>
|
|
@ -13,6 +13,13 @@
|
|||
android:gravity="center_vertical"
|
||||
android:baselineAligned="false" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/thumbnailImg"
|
||||
android:layout_width="@dimen/card_thumbnail_size"
|
||||
android:layout_height="@dimen/card_thumbnail_size"
|
||||
android:layout_marginEnd="@dimen/activity_margin"
|
||||
android:src="@mipmap/ic_launcher"/>
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="0dip"
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
android:id="@+id/menu_popup_editLabel"
|
||||
android:title="@string/menu_popup_edit_label" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_popup_changeImage"
|
||||
android:title="@string/menu_popup_change_image" />
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_popup_editTags"
|
||||
android:title="@string/menu_popup_edit_tags" />
|
||||
|
|
BIN
app/src/main/res/mipmap-xhdpi/thumb_bitstamp.png
Normal file
BIN
app/src/main/res/mipmap-xhdpi/thumb_bitstamp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.4 KiB |
BIN
app/src/main/res/mipmap-xhdpi/thumb_bitwarden.png
Normal file
BIN
app/src/main/res/mipmap-xhdpi/thumb_bitwarden.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
|
@ -9,6 +9,10 @@
|
|||
<dimen name="activity_horizontal_margin">16dp</dimen>
|
||||
|
||||
<dimen name="card_corner_radius">0dp</dimen>
|
||||
<dimen name="card_thumbnail_size">46dp</dimen>
|
||||
|
||||
<!-- The default letter tile text size -->
|
||||
<dimen name="tile_letter_font_size">33sp</dimen>
|
||||
|
||||
<dimen name="drawer_width">200dp</dimen>
|
||||
<dimen name="divider_size">1dp</dimen>
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
<string name="settings_key_theme" translatable="false">pref_theme</string>
|
||||
<string name="settings_key_label_size" translatable="false">pref_label_size_sp</string>
|
||||
<string name="settings_key_label_scroll" translatable="false">pref_label_scroll</string>
|
||||
<string name="settings_key_thumbnail_visible" translatable="false">pref_thumbnail_visible</string>
|
||||
<string name="settings_key_thumbnail_size" translatable="false">pref_thumbnail_size</string>
|
||||
|
||||
<string name="settings_key_backup_ask" translatable="false">pref_backup_ask</string>
|
||||
<string name="settings_key_backup_directory" translatable="false">pref_backup_directory</string>
|
||||
|
@ -37,6 +39,19 @@
|
|||
<string name="settings_default_lang" translatable="false">system</string>
|
||||
<string name="settings_default_theme" translatable="false">light</string>
|
||||
<integer name="settings_default_label_size">18</integer>
|
||||
<string name="settings_default_thumbnail_size">46dp</string>
|
||||
|
||||
<!-- All of the possible tile background colors -->
|
||||
<array name="letter_tile_colors">
|
||||
<item>#f16364</item>
|
||||
<item>#f58559</item>
|
||||
<item>#f9a43e</item>
|
||||
<item>#e4c62e</item>
|
||||
<item>#67bf74</item>
|
||||
<item>#59a2be</item>
|
||||
<item>#2093cd</item>
|
||||
<item>#ad62a7</item>
|
||||
</array>
|
||||
|
||||
<!-- List values -->
|
||||
<string-array name="settings_values_auth" translatable="false">
|
||||
|
@ -70,6 +85,13 @@
|
|||
<item>black</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="settings_values_thumbnail_size" translatable="false">
|
||||
<item>32dp</item>
|
||||
<item>46dp</item>
|
||||
<item>64dp</item>
|
||||
<item>96dp</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Misc -->
|
||||
<string-array name="settings_empty_array" translatable="false">
|
||||
</string-array>
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
<string name="menu_sort_label">Label</string>
|
||||
|
||||
<string name="menu_popup_edit_label">Edit label</string>
|
||||
<string name="menu_popup_change_image">Change image</string>
|
||||
<string name="menu_popup_edit_tags">Edit tags</string>
|
||||
<string name="menu_popup_remove">Remove</string>
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@
|
|||
<string name="settings_title_theme">Theme</string>
|
||||
<string name="settings_title_label_size">Label font size</string>
|
||||
<string name="settings_title_label_scroll">Scroll label</string>
|
||||
<string name="settings_title_thumbnail_visible_ask">Show thumbnails</string>
|
||||
<string name="settings_title_thumbnail_size_ask">Thumbnail size</string>
|
||||
|
||||
<string name="settings_title_backup_ask">Ask for filename</string>
|
||||
<string name="settings_title_backup_directory">Backup directory</string>
|
||||
|
@ -84,6 +86,13 @@
|
|||
<item>Black theme</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="settings_entries_thumbnail_size">
|
||||
<item>Small</item>
|
||||
<item>Default</item>
|
||||
<item>Medium</item>
|
||||
<item>Large</item>
|
||||
</string-array>
|
||||
|
||||
<!-- PasswordPreference -->
|
||||
<string name="settings_hint_password">Password</string>
|
||||
<string name="settings_hint_pin">PIN</string>
|
||||
|
|
|
@ -66,6 +66,18 @@
|
|||
android:summary="@string/settings_desc_label_scroll"
|
||||
android:defaultValue="false" />
|
||||
|
||||
<CheckBoxPreference
|
||||
android:key="@string/settings_key_thumbnail_visible"
|
||||
android:title="@string/settings_title_thumbnail_visible_ask"
|
||||
android:defaultValue="true" />
|
||||
|
||||
<ListPreference
|
||||
android:key="@string/settings_key_thumbnail_size"
|
||||
android:title="@string/settings_title_thumbnail_size_ask"
|
||||
android:entries="@array/settings_entries_thumbnail_size"
|
||||
android:entryValues="@array/settings_values_thumbnail_size"
|
||||
android:defaultValue="@string/settings_default_thumbnail_size" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
|
|
Loading…
Reference in a new issue