Fix issue #373 - Allow to change icon
|
@ -20,9 +20,9 @@
|
|||
android:name=".MainApplication"
|
||||
android:allowBackup="false"
|
||||
android:configChanges="orientation|screenSize"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:icon="@mipmap/ic_launcher_bubbles"
|
||||
android:label="@string/app_name"
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:roundIcon="@mipmap/ic_launcher_bubbles_round"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppThemeDark"
|
||||
android:usesCleartextTraffic="true"
|
||||
|
@ -56,6 +56,103 @@
|
|||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<activity-alias
|
||||
android:name=".activities.MainActivity.Bubbles"
|
||||
android:enabled="true"
|
||||
android:exported="true"
|
||||
android:icon="@mipmap/ic_launcher_bubbles"
|
||||
android:roundIcon="@mipmap/ic_launcher_bubbles_round"
|
||||
android:targetActivity=".activities.MainActivity">
|
||||
<meta-data
|
||||
android:name="icon"
|
||||
android:value="bubbles" />
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity-alias>
|
||||
|
||||
<activity-alias
|
||||
android:name=".activities.MainActivity.Fediverse"
|
||||
android:enabled="false"
|
||||
android:exported="true"
|
||||
android:icon="@mipmap/ic_launcher_fediverse"
|
||||
android:roundIcon="@mipmap/ic_launcher_fediverse_round"
|
||||
android:targetActivity=".activities.MainActivity">
|
||||
<meta-data
|
||||
android:name="icon"
|
||||
android:value="Fediverse" />
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity-alias>
|
||||
|
||||
<activity-alias
|
||||
android:name=".activities.MainActivity.Hero"
|
||||
android:enabled="false"
|
||||
android:exported="true"
|
||||
android:icon="@mipmap/ic_launcher_hero"
|
||||
android:roundIcon="@mipmap/ic_launcher_hero_round"
|
||||
android:targetActivity=".activities.MainActivity">
|
||||
<meta-data
|
||||
android:name="icon"
|
||||
android:value="hero" />
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity-alias>
|
||||
|
||||
<activity-alias
|
||||
android:name=".activities.MainActivity.Atom"
|
||||
android:enabled="false"
|
||||
android:exported="true"
|
||||
android:icon="@mipmap/ic_launcher_atom"
|
||||
android:roundIcon="@mipmap/ic_launcher_atom_round"
|
||||
android:targetActivity=".activities.MainActivity">
|
||||
<meta-data
|
||||
android:name="icon"
|
||||
android:value="atom" />
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity-alias>
|
||||
|
||||
<activity-alias
|
||||
android:name=".activities.MainActivity.BrainCrash"
|
||||
android:enabled="false"
|
||||
android:exported="true"
|
||||
android:icon="@mipmap/ic_launcher_crash"
|
||||
android:roundIcon="@mipmap/ic_launcher_crash_round"
|
||||
android:targetActivity=".activities.MainActivity">
|
||||
<meta-data
|
||||
android:name="icon"
|
||||
android:value="braincrash" />
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity-alias>
|
||||
|
||||
<activity-alias
|
||||
android:name=".activities.MainActivity.Mastalab"
|
||||
android:enabled="false"
|
||||
android:exported="true"
|
||||
android:icon="@mipmap/ic_launcher_mastalab"
|
||||
android:roundIcon="@mipmap/ic_launcher_mastalab_round"
|
||||
android:targetActivity=".activities.MainActivity">
|
||||
<meta-data
|
||||
android:name="icon"
|
||||
android:value="mastalab" />
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity-alias>
|
||||
|
||||
|
||||
<activity
|
||||
android:name=".activities.LoginActivity"
|
||||
android:configChanges="orientation|screenSize"
|
||||
|
|
|
@ -26,6 +26,8 @@ import android.content.Context;
|
|||
import android.content.Intent;
|
||||
import android.content.IntentFilter;
|
||||
import android.content.SharedPreferences;
|
||||
import android.content.pm.ActivityInfo;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.drawable.ColorDrawable;
|
||||
import android.graphics.drawable.Drawable;
|
||||
|
@ -194,313 +196,8 @@ public abstract class BaseMainActivity extends BaseActivity implements NetworkSt
|
|||
}
|
||||
}
|
||||
};
|
||||
private Pinned pinned;
|
||||
private BottomMenu bottomMenu;
|
||||
private final BroadcastReceiver broadcast_data = new BroadcastReceiver() {
|
||||
@Override
|
||||
public void onReceive(Context context, Intent intent) {
|
||||
Bundle b = intent.getExtras();
|
||||
if (b != null) {
|
||||
if (b.getBoolean(Helper.RECEIVE_REDRAW_TOPBAR, false)) {
|
||||
List<MastodonList> mastodonLists = (List<MastodonList>) b.getSerializable(Helper.RECEIVE_MASTODON_LIST);
|
||||
redrawPinned(mastodonLists);
|
||||
}
|
||||
if (b.getBoolean(Helper.RECEIVE_REDRAW_BOTTOM, false)) {
|
||||
bottomMenu = new BottomMenu(BaseMainActivity.this).hydrate(currentAccount, binding.bottomNavView);
|
||||
if (bottomMenu != null) {
|
||||
//ManageClick on bottom menu items
|
||||
if (binding.bottomNavView.findViewById(R.id.nav_home) != null) {
|
||||
binding.bottomNavView.findViewById(R.id.nav_home).setOnLongClickListener(view -> {
|
||||
int position = BottomMenu.getPosition(bottomMenu, R.id.nav_home);
|
||||
if (position >= 0) {
|
||||
manageFilters(position);
|
||||
}
|
||||
return false;
|
||||
});
|
||||
}
|
||||
if (binding.bottomNavView.findViewById(R.id.nav_local) != null) {
|
||||
binding.bottomNavView.findViewById(R.id.nav_local).setOnLongClickListener(view -> {
|
||||
int position = BottomMenu.getPosition(bottomMenu, R.id.nav_local);
|
||||
if (position >= 0) {
|
||||
manageFilters(position);
|
||||
}
|
||||
return false;
|
||||
});
|
||||
}
|
||||
if (binding.bottomNavView.findViewById(R.id.nav_public) != null) {
|
||||
binding.bottomNavView.findViewById(R.id.nav_public).setOnLongClickListener(view -> {
|
||||
int position = BottomMenu.getPosition(bottomMenu, R.id.nav_public);
|
||||
if (position >= 0) {
|
||||
manageFilters(position);
|
||||
}
|
||||
return false;
|
||||
});
|
||||
}
|
||||
binding.bottomNavView.setOnItemSelectedListener(item -> {
|
||||
int itemId = item.getItemId();
|
||||
int position = BottomMenu.getPosition(bottomMenu, itemId);
|
||||
if (position >= 0) {
|
||||
if (binding.viewPager.getCurrentItem() == position) {
|
||||
scrollToTop();
|
||||
} else {
|
||||
binding.viewPager.setCurrentItem(position, false);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
});
|
||||
}
|
||||
} else if (b.getBoolean(Helper.RECEIVE_RECREATE_ACTIVITY, false)) {
|
||||
Cyanea.getInstance().edit().apply().recreate(BaseMainActivity.this);
|
||||
} else if (b.getBoolean(Helper.RECEIVE_NEW_MESSAGE, false)) {
|
||||
Status statusSent = (Status) b.getSerializable(Helper.RECEIVE_STATUS_ACTION);
|
||||
Snackbar.make(binding.displaySnackBar, getString(R.string.message_has_been_sent), Snackbar.LENGTH_LONG)
|
||||
.setAction(getString(R.string.display), view -> {
|
||||
Intent intentContext = new Intent(BaseMainActivity.this, ContextActivity.class);
|
||||
intentContext.putExtra(Helper.ARG_STATUS, statusSent);
|
||||
intentContext.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
startActivity(intentContext);
|
||||
})
|
||||
.setTextColor(ThemeHelper.getAttColor(BaseMainActivity.this, R.attr.mTextColor))
|
||||
.setActionTextColor(ContextCompat.getColor(BaseMainActivity.this, R.color.cyanea_accent_reference))
|
||||
.setBackgroundTint(ContextCompat.getColor(BaseMainActivity.this, R.color.cyanea_primary_dark_reference))
|
||||
.show();
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
private NetworkStateReceiver networkStateReceiver;
|
||||
private boolean headerMenuOpen;
|
||||
|
||||
protected abstract void rateThisApp();
|
||||
|
||||
@Override
|
||||
protected void onNewIntent(Intent intent) {
|
||||
super.onNewIntent(intent);
|
||||
mamageNewIntent(intent);
|
||||
}
|
||||
|
||||
/**
|
||||
* Open notifications tab when coming from a notification device
|
||||
*
|
||||
* @param intent - Intent intent that will be cancelled
|
||||
*/
|
||||
private void openNotifications(Intent intent) {
|
||||
final Handler handler = new Handler();
|
||||
handler.postDelayed(() -> {
|
||||
SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(BaseMainActivity.this);
|
||||
boolean singleBar = sharedpreferences.getBoolean(getString(R.string.SET_USE_SINGLE_TOPBAR), false);
|
||||
if (!singleBar) {
|
||||
binding.bottomNavView.setSelectedItemId(R.id.nav_notifications);
|
||||
} else {
|
||||
int position = 0;
|
||||
for (int i = 0; i < binding.tabLayout.getTabCount(); i++) {
|
||||
TabLayout.Tab tab = binding.tabLayout.getTabAt(i);
|
||||
if (tab != null && tab.getTag() != null && tab.getTag().equals(Timeline.TimeLineEnum.NOTIFICATION.getValue())) {
|
||||
break;
|
||||
}
|
||||
position++;
|
||||
}
|
||||
binding.viewPager.setCurrentItem(position);
|
||||
}
|
||||
}, 1000);
|
||||
intent.removeExtra(Helper.INTENT_ACTION);
|
||||
}
|
||||
|
||||
|
||||
@SuppressLint("ApplySharedPref")
|
||||
private void mamageNewIntent(Intent intent) {
|
||||
if (intent == null)
|
||||
return;
|
||||
String action = intent.getAction();
|
||||
String type = intent.getType();
|
||||
Bundle extras = intent.getExtras();
|
||||
String userIdIntent, instanceIntent;
|
||||
if (extras != null && extras.containsKey(Helper.INTENT_ACTION)) {
|
||||
userIdIntent = extras.getString(Helper.PREF_KEY_ID); //Id of the account in the intent
|
||||
instanceIntent = extras.getString(Helper.PREF_INSTANCE);
|
||||
if (extras.getInt(Helper.INTENT_ACTION) == Helper.NOTIFICATION_INTENT) {
|
||||
if (userIdIntent != null && instanceIntent != null && userIdIntent.equals(currentUserID) && instanceIntent.equals(currentInstance)) {
|
||||
openNotifications(intent);
|
||||
} else {
|
||||
try {
|
||||
BaseAccount account = new Account(BaseMainActivity.this).getUniqAccount(userIdIntent, instanceIntent);
|
||||
SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(BaseMainActivity.this);
|
||||
headerMenuOpen = false;
|
||||
Toasty.info(BaseMainActivity.this, getString(R.string.toast_account_changed, "@" + account.mastodon_account.acct + "@" + account.instance), Toasty.LENGTH_LONG).show();
|
||||
BaseMainActivity.currentToken = account.token;
|
||||
BaseMainActivity.currentUserID = account.user_id;
|
||||
api = account.api;
|
||||
SharedPreferences.Editor editor = sharedpreferences.edit();
|
||||
editor.putString(PREF_USER_TOKEN, account.token);
|
||||
editor.commit();
|
||||
Intent mainActivity = new Intent(this, MainActivity.class);
|
||||
mainActivity.putExtra(Helper.INTENT_ACTION, Helper.OPEN_NOTIFICATION);
|
||||
startActivity(mainActivity);
|
||||
finish();
|
||||
} catch (DBException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
} else if (extras.getInt(Helper.INTENT_ACTION) == Helper.OPEN_NOTIFICATION) {
|
||||
openNotifications(intent);
|
||||
}
|
||||
} else if (Intent.ACTION_SEND.equals(action) && type != null) {
|
||||
if ("text/plain".equals(type)) {
|
||||
final String[] url = {null};
|
||||
String sharedSubject = intent.getStringExtra(Intent.EXTRA_SUBJECT);
|
||||
String sharedText = intent.getStringExtra(Intent.EXTRA_TEXT);
|
||||
//SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(BaseMainActivity.this);
|
||||
//boolean shouldRetrieveMetaData = sharedpreferences.getBoolean(getString(R.string.SET_RETRIEVE_METADATA_IF_URL_FROM_EXTERAL), true);
|
||||
if (sharedText != null) {
|
||||
/* Some apps don't send the URL as the first part of the EXTRA_TEXT,
|
||||
the BBC News app being one such, in this case find where the URL
|
||||
is and strip that out into sharedText.
|
||||
*/
|
||||
Matcher matcher;
|
||||
matcher = Patterns.WEB_URL.matcher(sharedText);
|
||||
int count = 0;
|
||||
while (matcher.find()) {
|
||||
int matchStart = matcher.start(1);
|
||||
int matchEnd = matcher.end();
|
||||
if (matchStart < matchEnd && sharedText.length() >= matchEnd) {
|
||||
url[0] = sharedText.substring(matchStart, matchEnd);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(BaseMainActivity.this);
|
||||
boolean fetchSharedMedia = sharedpreferences.getBoolean(getString(R.string.SET_RETRIEVE_METADATA_IF_URL_FROM_EXTERAL), true);
|
||||
boolean fetchShareContent = sharedpreferences.getBoolean(getString(R.string.SET_SHARE_DETAILS), true);
|
||||
if (url[0] != null && count == 1 && (fetchShareContent || fetchSharedMedia)) {
|
||||
new Thread(() -> {
|
||||
if (url[0].startsWith("www."))
|
||||
url[0] = "http://" + url[0];
|
||||
Matcher matcherPattern = Patterns.WEB_URL.matcher(url[0]);
|
||||
String potentialUrl = null;
|
||||
while (matcherPattern.find()) {
|
||||
int matchStart = matcherPattern.start(1);
|
||||
int matchEnd = matcherPattern.end();
|
||||
if (matchStart < matchEnd && url[0].length() >= matchEnd)
|
||||
potentialUrl = url[0].substring(matchStart, matchEnd);
|
||||
}
|
||||
// If we actually have a URL then make use of it.
|
||||
if (potentialUrl != null && potentialUrl.length() > 0) {
|
||||
Pattern titlePattern = Pattern.compile("<meta [^>]*property=[\"']og:title[\"'] [^>]*content=[\"']([^'^\"]+?)[\"'][^>]*>");
|
||||
Pattern descriptionPattern = Pattern.compile("<meta [^>]*property=[\"']og:description[\"'] [^>]*content=[\"']([^'^\"]+?)[\"'][^>]*>");
|
||||
Pattern imagePattern = Pattern.compile("<meta [^>]*property=[\"']og:image[\"'] [^>]*content=[\"']([^'^\"]+?)[\"'][^>]*>");
|
||||
|
||||
try {
|
||||
OkHttpClient client = new OkHttpClient.Builder()
|
||||
.connectTimeout(10, TimeUnit.SECONDS)
|
||||
.writeTimeout(10, TimeUnit.SECONDS)
|
||||
.proxy(Helper.getProxy(getApplication().getApplicationContext()))
|
||||
.readTimeout(10, TimeUnit.SECONDS).build();
|
||||
Request request = new Request.Builder()
|
||||
.url(potentialUrl)
|
||||
.build();
|
||||
client.newCall(request).enqueue(new Callback() {
|
||||
@Override
|
||||
public void onFailure(@NonNull Call call, @NonNull IOException e) {
|
||||
e.printStackTrace();
|
||||
runOnUiThread(() -> Toasty.warning(BaseMainActivity.this, getString(R.string.toast_error), Toast.LENGTH_LONG).show());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onResponse(@NonNull Call call, @NonNull final Response response) {
|
||||
if (response.isSuccessful()) {
|
||||
try {
|
||||
String data = response.body().string();
|
||||
Matcher matcherTitle;
|
||||
matcherTitle = titlePattern.matcher(data);
|
||||
Matcher matcherDescription = descriptionPattern.matcher(data);
|
||||
Matcher matcherImage = imagePattern.matcher(data);
|
||||
String titleEncoded = null;
|
||||
String descriptionEncoded = null;
|
||||
if (fetchShareContent) {
|
||||
while (matcherTitle.find())
|
||||
titleEncoded = matcherTitle.group(1);
|
||||
while (matcherDescription.find())
|
||||
descriptionEncoded = matcherDescription.group(1);
|
||||
}
|
||||
String image = null;
|
||||
if (fetchSharedMedia) {
|
||||
while (matcherImage.find())
|
||||
image = matcherImage.group(1);
|
||||
}
|
||||
String title = null;
|
||||
String description = null;
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
|
||||
if (titleEncoded != null)
|
||||
title = Html.fromHtml(titleEncoded, Html.FROM_HTML_MODE_LEGACY).toString();
|
||||
if (descriptionEncoded != null)
|
||||
description = Html.fromHtml(descriptionEncoded, Html.FROM_HTML_MODE_LEGACY).toString();
|
||||
} else {
|
||||
if (titleEncoded != null)
|
||||
title = Html.fromHtml(titleEncoded).toString();
|
||||
if (descriptionEncoded != null)
|
||||
description = Html.fromHtml(descriptionEncoded).toString();
|
||||
}
|
||||
String finalImage = image;
|
||||
String finalTitle = title;
|
||||
String finalDescription = description;
|
||||
|
||||
|
||||
runOnUiThread(() -> {
|
||||
Bundle b = new Bundle();
|
||||
b.putString(Helper.ARG_SHARE_URL, url[0]);
|
||||
b.putString(Helper.ARG_SHARE_URL_MEDIA, finalImage);
|
||||
b.putString(Helper.ARG_SHARE_TITLE, finalTitle);
|
||||
b.putString(Helper.ARG_SHARE_DESCRIPTION, finalDescription);
|
||||
b.putString(Helper.ARG_SHARE_SUBJECT, sharedSubject);
|
||||
b.putString(Helper.ARG_SHARE_CONTENT, sharedText);
|
||||
CrossActionHelper.doCrossShare(BaseMainActivity.this, b);
|
||||
});
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
} else {
|
||||
runOnUiThread(() -> Toasty.warning(BaseMainActivity.this, getString(R.string.toast_error), Toast.LENGTH_LONG).show());
|
||||
}
|
||||
}
|
||||
});
|
||||
} catch (IndexOutOfBoundsException e) {
|
||||
Toasty.warning(BaseMainActivity.this, getString(R.string.toast_error), Toast.LENGTH_LONG).show();
|
||||
}
|
||||
|
||||
}
|
||||
}).start();
|
||||
} else {
|
||||
Bundle b = new Bundle();
|
||||
b.putString(Helper.ARG_SHARE_TITLE, sharedSubject);
|
||||
b.putString(Helper.ARG_SHARE_DESCRIPTION, sharedText);
|
||||
CrossActionHelper.doCrossShare(BaseMainActivity.this, b);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
} else if (type.startsWith("image/") || type.startsWith("video/")) {
|
||||
Uri imageUri = intent.getParcelableExtra(Intent.EXTRA_STREAM);
|
||||
if (imageUri != null) {
|
||||
Bundle b = new Bundle();
|
||||
b.putParcelable(Helper.ARG_SHARE_URI, imageUri);
|
||||
CrossActionHelper.doCrossShare(BaseMainActivity.this, b);
|
||||
} else {
|
||||
Toasty.warning(BaseMainActivity.this, getString(R.string.toast_error), Toast.LENGTH_LONG).show();
|
||||
}
|
||||
}
|
||||
} else if (Intent.ACTION_SEND_MULTIPLE.equals(action) && type != null) {
|
||||
if (type.startsWith("image/") || type.startsWith("video/")) {
|
||||
ArrayList<Uri> imageList = intent.getParcelableArrayListExtra(Intent.EXTRA_STREAM);
|
||||
if (imageList != null) {
|
||||
Bundle b = new Bundle();
|
||||
b.putParcelableArrayList(Helper.ARG_SHARE_URI_LIST, imageList);
|
||||
CrossActionHelper.doCrossShare(BaseMainActivity.this, b);
|
||||
} else {
|
||||
Toasty.warning(BaseMainActivity.this, getString(R.string.toast_error), Toast.LENGTH_LONG).show();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
public static iconLauncher mLauncher = iconLauncher.BUBBLES;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
|
@ -516,7 +213,45 @@ public abstract class BaseMainActivity extends BaseActivity implements NetworkSt
|
|||
} else {
|
||||
BaseMainActivity.currentToken = sharedpreferences.getString(Helper.PREF_USER_TOKEN, null);
|
||||
}
|
||||
mamageNewIntent(getIntent());
|
||||
|
||||
Intent intentIni = getIntent();
|
||||
PackageManager pm = getPackageManager();
|
||||
try {
|
||||
if (intentIni != null && intentIni.getComponent() != null) {
|
||||
ActivityInfo ai = pm.getActivityInfo(intentIni.getComponent(), PackageManager.GET_META_DATA);
|
||||
String icon;
|
||||
Bundle b = ai.metaData;
|
||||
if (b != null) {
|
||||
icon = b.getString("icon");
|
||||
if (icon != null) {
|
||||
switch (icon) {
|
||||
case "fediverse":
|
||||
mLauncher = iconLauncher.FEDIVERSE;
|
||||
break;
|
||||
case "hero":
|
||||
mLauncher = iconLauncher.HERO;
|
||||
break;
|
||||
case "atom":
|
||||
mLauncher = iconLauncher.ATOM;
|
||||
break;
|
||||
case "braincrash":
|
||||
mLauncher = iconLauncher.BRAINCRASH;
|
||||
break;
|
||||
default:
|
||||
mLauncher = iconLauncher.BUBBLES;
|
||||
}
|
||||
SharedPreferences.Editor editor = sharedpreferences.edit();
|
||||
editor.putString(getString(R.string.SET_LOGO_LAUNCHER), icon);
|
||||
editor.apply();
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (PackageManager.NameNotFoundException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
|
||||
mamageNewIntent(intentIni);
|
||||
ThemeHelper.initiliazeColors(BaseMainActivity.this);
|
||||
filterFetched = false;
|
||||
networkStateReceiver = new NetworkStateReceiver();
|
||||
|
@ -961,6 +696,323 @@ public abstract class BaseMainActivity extends BaseActivity implements NetworkSt
|
|||
}
|
||||
}
|
||||
|
||||
private Pinned pinned;
|
||||
private BottomMenu bottomMenu;
|
||||
private final BroadcastReceiver broadcast_data = new BroadcastReceiver() {
|
||||
@Override
|
||||
public void onReceive(Context context, Intent intent) {
|
||||
Bundle b = intent.getExtras();
|
||||
if (b != null) {
|
||||
if (b.getBoolean(Helper.RECEIVE_REDRAW_TOPBAR, false)) {
|
||||
List<MastodonList> mastodonLists = (List<MastodonList>) b.getSerializable(Helper.RECEIVE_MASTODON_LIST);
|
||||
redrawPinned(mastodonLists);
|
||||
}
|
||||
if (b.getBoolean(Helper.RECEIVE_REDRAW_BOTTOM, false)) {
|
||||
bottomMenu = new BottomMenu(BaseMainActivity.this).hydrate(currentAccount, binding.bottomNavView);
|
||||
if (bottomMenu != null) {
|
||||
//ManageClick on bottom menu items
|
||||
if (binding.bottomNavView.findViewById(R.id.nav_home) != null) {
|
||||
binding.bottomNavView.findViewById(R.id.nav_home).setOnLongClickListener(view -> {
|
||||
int position = BottomMenu.getPosition(bottomMenu, R.id.nav_home);
|
||||
if (position >= 0) {
|
||||
manageFilters(position);
|
||||
}
|
||||
return false;
|
||||
});
|
||||
}
|
||||
if (binding.bottomNavView.findViewById(R.id.nav_local) != null) {
|
||||
binding.bottomNavView.findViewById(R.id.nav_local).setOnLongClickListener(view -> {
|
||||
int position = BottomMenu.getPosition(bottomMenu, R.id.nav_local);
|
||||
if (position >= 0) {
|
||||
manageFilters(position);
|
||||
}
|
||||
return false;
|
||||
});
|
||||
}
|
||||
if (binding.bottomNavView.findViewById(R.id.nav_public) != null) {
|
||||
binding.bottomNavView.findViewById(R.id.nav_public).setOnLongClickListener(view -> {
|
||||
int position = BottomMenu.getPosition(bottomMenu, R.id.nav_public);
|
||||
if (position >= 0) {
|
||||
manageFilters(position);
|
||||
}
|
||||
return false;
|
||||
});
|
||||
}
|
||||
binding.bottomNavView.setOnItemSelectedListener(item -> {
|
||||
int itemId = item.getItemId();
|
||||
int position = BottomMenu.getPosition(bottomMenu, itemId);
|
||||
if (position >= 0) {
|
||||
if (binding.viewPager.getCurrentItem() == position) {
|
||||
scrollToTop();
|
||||
} else {
|
||||
binding.viewPager.setCurrentItem(position, false);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
});
|
||||
}
|
||||
} else if (b.getBoolean(Helper.RECEIVE_RECREATE_ACTIVITY, false)) {
|
||||
Cyanea.getInstance().edit().apply().recreate(BaseMainActivity.this);
|
||||
} else if (b.getBoolean(Helper.RECEIVE_NEW_MESSAGE, false)) {
|
||||
Status statusSent = (Status) b.getSerializable(Helper.RECEIVE_STATUS_ACTION);
|
||||
Snackbar.make(binding.displaySnackBar, getString(R.string.message_has_been_sent), Snackbar.LENGTH_LONG)
|
||||
.setAction(getString(R.string.display), view -> {
|
||||
Intent intentContext = new Intent(BaseMainActivity.this, ContextActivity.class);
|
||||
intentContext.putExtra(Helper.ARG_STATUS, statusSent);
|
||||
intentContext.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
startActivity(intentContext);
|
||||
})
|
||||
.setTextColor(ThemeHelper.getAttColor(BaseMainActivity.this, R.attr.mTextColor))
|
||||
.setActionTextColor(ContextCompat.getColor(BaseMainActivity.this, R.color.cyanea_accent_reference))
|
||||
.setBackgroundTint(ContextCompat.getColor(BaseMainActivity.this, R.color.cyanea_primary_dark_reference))
|
||||
.show();
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
private NetworkStateReceiver networkStateReceiver;
|
||||
private boolean headerMenuOpen;
|
||||
|
||||
protected abstract void rateThisApp();
|
||||
|
||||
@Override
|
||||
protected void onNewIntent(Intent intent) {
|
||||
super.onNewIntent(intent);
|
||||
mamageNewIntent(intent);
|
||||
}
|
||||
|
||||
/**
|
||||
* Open notifications tab when coming from a notification device
|
||||
*
|
||||
* @param intent - Intent intent that will be cancelled
|
||||
*/
|
||||
private void openNotifications(Intent intent) {
|
||||
final Handler handler = new Handler();
|
||||
handler.postDelayed(() -> {
|
||||
SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(BaseMainActivity.this);
|
||||
boolean singleBar = sharedpreferences.getBoolean(getString(R.string.SET_USE_SINGLE_TOPBAR), false);
|
||||
if (!singleBar) {
|
||||
binding.bottomNavView.setSelectedItemId(R.id.nav_notifications);
|
||||
} else {
|
||||
int position = 0;
|
||||
for (int i = 0; i < binding.tabLayout.getTabCount(); i++) {
|
||||
TabLayout.Tab tab = binding.tabLayout.getTabAt(i);
|
||||
if (tab != null && tab.getTag() != null && tab.getTag().equals(Timeline.TimeLineEnum.NOTIFICATION.getValue())) {
|
||||
break;
|
||||
}
|
||||
position++;
|
||||
}
|
||||
binding.viewPager.setCurrentItem(position);
|
||||
}
|
||||
}, 1000);
|
||||
intent.removeExtra(Helper.INTENT_ACTION);
|
||||
}
|
||||
|
||||
|
||||
@SuppressLint("ApplySharedPref")
|
||||
private void mamageNewIntent(Intent intent) {
|
||||
if (intent == null)
|
||||
return;
|
||||
String action = intent.getAction();
|
||||
String type = intent.getType();
|
||||
Bundle extras = intent.getExtras();
|
||||
String userIdIntent, instanceIntent;
|
||||
if (extras != null && extras.containsKey(Helper.INTENT_ACTION)) {
|
||||
userIdIntent = extras.getString(Helper.PREF_KEY_ID); //Id of the account in the intent
|
||||
instanceIntent = extras.getString(Helper.PREF_INSTANCE);
|
||||
if (extras.getInt(Helper.INTENT_ACTION) == Helper.NOTIFICATION_INTENT) {
|
||||
if (userIdIntent != null && instanceIntent != null && userIdIntent.equals(currentUserID) && instanceIntent.equals(currentInstance)) {
|
||||
openNotifications(intent);
|
||||
} else {
|
||||
try {
|
||||
BaseAccount account = new Account(BaseMainActivity.this).getUniqAccount(userIdIntent, instanceIntent);
|
||||
SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(BaseMainActivity.this);
|
||||
headerMenuOpen = false;
|
||||
Toasty.info(BaseMainActivity.this, getString(R.string.toast_account_changed, "@" + account.mastodon_account.acct + "@" + account.instance), Toasty.LENGTH_LONG).show();
|
||||
BaseMainActivity.currentToken = account.token;
|
||||
BaseMainActivity.currentUserID = account.user_id;
|
||||
api = account.api;
|
||||
SharedPreferences.Editor editor = sharedpreferences.edit();
|
||||
editor.putString(PREF_USER_TOKEN, account.token);
|
||||
editor.commit();
|
||||
Intent mainActivity = new Intent(this, MainActivity.class);
|
||||
mainActivity.putExtra(Helper.INTENT_ACTION, Helper.OPEN_NOTIFICATION);
|
||||
startActivity(mainActivity);
|
||||
finish();
|
||||
} catch (DBException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
} else if (extras.getInt(Helper.INTENT_ACTION) == Helper.OPEN_NOTIFICATION) {
|
||||
openNotifications(intent);
|
||||
}
|
||||
} else if (Intent.ACTION_SEND.equals(action) && type != null) {
|
||||
if ("text/plain".equals(type)) {
|
||||
final String[] url = {null};
|
||||
String sharedSubject = intent.getStringExtra(Intent.EXTRA_SUBJECT);
|
||||
String sharedText = intent.getStringExtra(Intent.EXTRA_TEXT);
|
||||
//SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(BaseMainActivity.this);
|
||||
//boolean shouldRetrieveMetaData = sharedpreferences.getBoolean(getString(R.string.SET_RETRIEVE_METADATA_IF_URL_FROM_EXTERAL), true);
|
||||
if (sharedText != null) {
|
||||
/* Some apps don't send the URL as the first part of the EXTRA_TEXT,
|
||||
the BBC News app being one such, in this case find where the URL
|
||||
is and strip that out into sharedText.
|
||||
*/
|
||||
Matcher matcher;
|
||||
matcher = Patterns.WEB_URL.matcher(sharedText);
|
||||
int count = 0;
|
||||
while (matcher.find()) {
|
||||
int matchStart = matcher.start(1);
|
||||
int matchEnd = matcher.end();
|
||||
if (matchStart < matchEnd && sharedText.length() >= matchEnd) {
|
||||
url[0] = sharedText.substring(matchStart, matchEnd);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(BaseMainActivity.this);
|
||||
boolean fetchSharedMedia = sharedpreferences.getBoolean(getString(R.string.SET_RETRIEVE_METADATA_IF_URL_FROM_EXTERAL), true);
|
||||
boolean fetchShareContent = sharedpreferences.getBoolean(getString(R.string.SET_SHARE_DETAILS), true);
|
||||
if (url[0] != null && count == 1 && (fetchShareContent || fetchSharedMedia)) {
|
||||
new Thread(() -> {
|
||||
if (url[0].startsWith("www."))
|
||||
url[0] = "http://" + url[0];
|
||||
Matcher matcherPattern = Patterns.WEB_URL.matcher(url[0]);
|
||||
String potentialUrl = null;
|
||||
while (matcherPattern.find()) {
|
||||
int matchStart = matcherPattern.start(1);
|
||||
int matchEnd = matcherPattern.end();
|
||||
if (matchStart < matchEnd && url[0].length() >= matchEnd)
|
||||
potentialUrl = url[0].substring(matchStart, matchEnd);
|
||||
}
|
||||
// If we actually have a URL then make use of it.
|
||||
if (potentialUrl != null && potentialUrl.length() > 0) {
|
||||
Pattern titlePattern = Pattern.compile("<meta [^>]*property=[\"']og:title[\"'] [^>]*content=[\"']([^'^\"]+?)[\"'][^>]*>");
|
||||
Pattern descriptionPattern = Pattern.compile("<meta [^>]*property=[\"']og:description[\"'] [^>]*content=[\"']([^'^\"]+?)[\"'][^>]*>");
|
||||
Pattern imagePattern = Pattern.compile("<meta [^>]*property=[\"']og:image[\"'] [^>]*content=[\"']([^'^\"]+?)[\"'][^>]*>");
|
||||
|
||||
try {
|
||||
OkHttpClient client = new OkHttpClient.Builder()
|
||||
.connectTimeout(10, TimeUnit.SECONDS)
|
||||
.writeTimeout(10, TimeUnit.SECONDS)
|
||||
.proxy(Helper.getProxy(getApplication().getApplicationContext()))
|
||||
.readTimeout(10, TimeUnit.SECONDS).build();
|
||||
Request request = new Request.Builder()
|
||||
.url(potentialUrl)
|
||||
.build();
|
||||
client.newCall(request).enqueue(new Callback() {
|
||||
@Override
|
||||
public void onFailure(@NonNull Call call, @NonNull IOException e) {
|
||||
e.printStackTrace();
|
||||
runOnUiThread(() -> Toasty.warning(BaseMainActivity.this, getString(R.string.toast_error), Toast.LENGTH_LONG).show());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onResponse(@NonNull Call call, @NonNull final Response response) {
|
||||
if (response.isSuccessful()) {
|
||||
try {
|
||||
String data = response.body().string();
|
||||
Matcher matcherTitle;
|
||||
matcherTitle = titlePattern.matcher(data);
|
||||
Matcher matcherDescription = descriptionPattern.matcher(data);
|
||||
Matcher matcherImage = imagePattern.matcher(data);
|
||||
String titleEncoded = null;
|
||||
String descriptionEncoded = null;
|
||||
if (fetchShareContent) {
|
||||
while (matcherTitle.find())
|
||||
titleEncoded = matcherTitle.group(1);
|
||||
while (matcherDescription.find())
|
||||
descriptionEncoded = matcherDescription.group(1);
|
||||
}
|
||||
String image = null;
|
||||
if (fetchSharedMedia) {
|
||||
while (matcherImage.find())
|
||||
image = matcherImage.group(1);
|
||||
}
|
||||
String title = null;
|
||||
String description = null;
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
|
||||
if (titleEncoded != null)
|
||||
title = Html.fromHtml(titleEncoded, Html.FROM_HTML_MODE_LEGACY).toString();
|
||||
if (descriptionEncoded != null)
|
||||
description = Html.fromHtml(descriptionEncoded, Html.FROM_HTML_MODE_LEGACY).toString();
|
||||
} else {
|
||||
if (titleEncoded != null)
|
||||
title = Html.fromHtml(titleEncoded).toString();
|
||||
if (descriptionEncoded != null)
|
||||
description = Html.fromHtml(descriptionEncoded).toString();
|
||||
}
|
||||
String finalImage = image;
|
||||
String finalTitle = title;
|
||||
String finalDescription = description;
|
||||
|
||||
|
||||
runOnUiThread(() -> {
|
||||
Bundle b = new Bundle();
|
||||
b.putString(Helper.ARG_SHARE_URL, url[0]);
|
||||
b.putString(Helper.ARG_SHARE_URL_MEDIA, finalImage);
|
||||
b.putString(Helper.ARG_SHARE_TITLE, finalTitle);
|
||||
b.putString(Helper.ARG_SHARE_DESCRIPTION, finalDescription);
|
||||
b.putString(Helper.ARG_SHARE_SUBJECT, sharedSubject);
|
||||
b.putString(Helper.ARG_SHARE_CONTENT, sharedText);
|
||||
CrossActionHelper.doCrossShare(BaseMainActivity.this, b);
|
||||
});
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
} else {
|
||||
runOnUiThread(() -> Toasty.warning(BaseMainActivity.this, getString(R.string.toast_error), Toast.LENGTH_LONG).show());
|
||||
}
|
||||
}
|
||||
});
|
||||
} catch (IndexOutOfBoundsException e) {
|
||||
Toasty.warning(BaseMainActivity.this, getString(R.string.toast_error), Toast.LENGTH_LONG).show();
|
||||
}
|
||||
|
||||
}
|
||||
}).start();
|
||||
} else {
|
||||
Bundle b = new Bundle();
|
||||
b.putString(Helper.ARG_SHARE_TITLE, sharedSubject);
|
||||
b.putString(Helper.ARG_SHARE_DESCRIPTION, sharedText);
|
||||
CrossActionHelper.doCrossShare(BaseMainActivity.this, b);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
} else if (type.startsWith("image/") || type.startsWith("video/")) {
|
||||
Uri imageUri = intent.getParcelableExtra(Intent.EXTRA_STREAM);
|
||||
if (imageUri != null) {
|
||||
Bundle b = new Bundle();
|
||||
b.putParcelable(Helper.ARG_SHARE_URI, imageUri);
|
||||
CrossActionHelper.doCrossShare(BaseMainActivity.this, b);
|
||||
} else {
|
||||
Toasty.warning(BaseMainActivity.this, getString(R.string.toast_error), Toast.LENGTH_LONG).show();
|
||||
}
|
||||
}
|
||||
} else if (Intent.ACTION_SEND_MULTIPLE.equals(action) && type != null) {
|
||||
if (type.startsWith("image/") || type.startsWith("video/")) {
|
||||
ArrayList<Uri> imageList = intent.getParcelableArrayListExtra(Intent.EXTRA_STREAM);
|
||||
if (imageList != null) {
|
||||
Bundle b = new Bundle();
|
||||
b.putParcelableArrayList(Helper.ARG_SHARE_URI_LIST, imageList);
|
||||
CrossActionHelper.doCrossShare(BaseMainActivity.this, b);
|
||||
} else {
|
||||
Toasty.warning(BaseMainActivity.this, getString(R.string.toast_error), Toast.LENGTH_LONG).show();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public enum iconLauncher {
|
||||
BUBBLES,
|
||||
FEDIVERSE,
|
||||
HERO,
|
||||
ATOM,
|
||||
BRAINCRASH,
|
||||
MASTALAB
|
||||
}
|
||||
|
||||
|
||||
private void manageFilters(int position) {
|
||||
View view = binding.bottomNavView.findViewById(R.id.nav_home);
|
||||
|
|
|
@ -16,6 +16,7 @@ package app.fedilab.android.helper;
|
|||
|
||||
import static android.content.Context.DOWNLOAD_SERVICE;
|
||||
import static app.fedilab.android.BaseMainActivity.currentAccount;
|
||||
import static app.fedilab.android.helper.LogoHelper.getNotificationIcon;
|
||||
import static app.fedilab.android.webview.ProxyHelper.setProxy;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
|
@ -1475,7 +1476,7 @@ public class Helper {
|
|||
channelTitle = context.getString(R.string.channel_notif_boost);
|
||||
}
|
||||
NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(context, channelId)
|
||||
.setSmallIcon(R.drawable.ic_notification).setTicker(message);
|
||||
.setSmallIcon(getNotificationIcon(context)).setTicker(message);
|
||||
/* if (notifType == NotifType.MENTION) {
|
||||
if (message.length() > 500) {
|
||||
message = message.substring(0, 499) + "…";
|
||||
|
@ -1547,7 +1548,7 @@ public class Helper {
|
|||
.setContentText(channelTitle)
|
||||
.setContentIntent(pIntent)
|
||||
.setLargeIcon(icon)
|
||||
.setSmallIcon(R.drawable.ic_notification)
|
||||
.setSmallIcon(getNotificationIcon(context))
|
||||
.setStyle(new NotificationCompat.BigTextStyle().bigText(message))
|
||||
.setGroup(account.mastodon_account != null ? account.mastodon_account.username + "@" + account.instance : "" + "@" + account.instance)
|
||||
.setGroupSummary(true)
|
||||
|
|
107
app/src/main/java/app/fedilab/android/helper/LogoHelper.java
Normal file
|
@ -0,0 +1,107 @@
|
|||
package app.fedilab.android.helper;
|
||||
/* Copyright 2022 Thomas Schneider
|
||||
*
|
||||
* This file is a part of Fedilab
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under the terms of the
|
||||
* GNU General Public License as published by the Free Software Foundation; either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* Fedilab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
||||
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
||||
* Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along with Fedilab; if not,
|
||||
* see <http://www.gnu.org/licenses>. */
|
||||
|
||||
import static app.fedilab.android.BaseMainActivity.mLauncher;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
|
||||
import androidx.preference.PreferenceManager;
|
||||
|
||||
import app.fedilab.android.BaseMainActivity;
|
||||
import app.fedilab.android.R;
|
||||
|
||||
public class LogoHelper {
|
||||
|
||||
|
||||
public static int getNotificationIcon(Context context) {
|
||||
final SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
String logo = sharedpreferences.getString(context.getString(R.string.SET_LOGO_LAUNCHER), "Bubbles");
|
||||
switch (logo) {
|
||||
case "Fediverse":
|
||||
return R.drawable.ic_plain_fediverse;
|
||||
case "Hero":
|
||||
return R.drawable.ic_plain_hero;
|
||||
case "Atom":
|
||||
return R.drawable.ic_plain_atom;
|
||||
case "BrainCrash":
|
||||
return R.drawable.ic_plain_crash;
|
||||
case "Mastalab":
|
||||
return R.drawable.ic_plain_mastalab;
|
||||
default:
|
||||
return R.drawable.ic_plain_bubbles;
|
||||
}
|
||||
}
|
||||
|
||||
public static int getMainLogo(Context context) {
|
||||
final SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
String logo = sharedpreferences.getString(context.getString(R.string.SET_LOGO_LAUNCHER), "Bubbles");
|
||||
switch (logo) {
|
||||
case "Fediverse":
|
||||
return R.drawable.fedilab_logo_fediverse;
|
||||
case "Hero":
|
||||
return R.drawable.fedilab_logo_hero;
|
||||
case "Atom":
|
||||
return R.drawable.fedilab_logo_atom;
|
||||
case "BrainCrash":
|
||||
return R.drawable.fedilab_logo_crash;
|
||||
case "Mastalab":
|
||||
return R.drawable.fedilab_logo_mastalab;
|
||||
default:
|
||||
return R.drawable.fedilab_logo_bubbles;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public static int getDrawable(String value) {
|
||||
switch (value) {
|
||||
case "Fediverse":
|
||||
return R.drawable.fedilab_logo_fediverse;
|
||||
case "Hero":
|
||||
return R.drawable.fedilab_logo_hero;
|
||||
case "Atom":
|
||||
return R.drawable.fedilab_logo_atom;
|
||||
case "BrainCrash":
|
||||
return R.drawable.fedilab_logo_crash;
|
||||
case "Mastalab":
|
||||
return R.drawable.fedilab_logo_mastalab;
|
||||
default:
|
||||
return R.drawable.fedilab_logo_bubbles;
|
||||
}
|
||||
}
|
||||
|
||||
public static void setDrawable(String value) {
|
||||
switch (value) {
|
||||
case "Fediverse":
|
||||
mLauncher = BaseMainActivity.iconLauncher.FEDIVERSE;
|
||||
return;
|
||||
case "Hero":
|
||||
mLauncher = BaseMainActivity.iconLauncher.HERO;
|
||||
break;
|
||||
case "Atom":
|
||||
mLauncher = BaseMainActivity.iconLauncher.ATOM;
|
||||
break;
|
||||
case "BrainCrash":
|
||||
mLauncher = BaseMainActivity.iconLauncher.BRAINCRASH;
|
||||
break;
|
||||
case "Mastalab":
|
||||
mLauncher = BaseMainActivity.iconLauncher.MASTALAB;
|
||||
break;
|
||||
default:
|
||||
mLauncher = BaseMainActivity.iconLauncher.BUBBLES;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -17,6 +17,7 @@ package app.fedilab.android.helper;
|
|||
import static android.content.Context.DOWNLOAD_SERVICE;
|
||||
import static app.fedilab.android.BaseMainActivity.currentAccount;
|
||||
import static app.fedilab.android.helper.Helper.notify_user;
|
||||
import static app.fedilab.android.helper.LogoHelper.getMainLogo;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.app.DownloadManager;
|
||||
|
@ -167,7 +168,7 @@ public class MediaHelper {
|
|||
intent.setDataAndType(uri, mime);
|
||||
if (!share) {
|
||||
notify_user(context, currentAccount, intent, BitmapFactory.decodeResource(context.getResources(),
|
||||
R.mipmap.ic_launcher), Helper.NotifType.STORE, context.getString(R.string.save_over), context.getString(R.string.download_from, fileName));
|
||||
getMainLogo(context)), Helper.NotifType.STORE, context.getString(R.string.save_over), context.getString(R.string.download_from, fileName));
|
||||
Toasty.success(context, context.getString(R.string.save_over), Toasty.LENGTH_LONG).show();
|
||||
} else {
|
||||
Intent shareIntent = new Intent(Intent.ACTION_SEND);
|
||||
|
|
|
@ -16,6 +16,7 @@ package app.fedilab.android.helper;
|
|||
|
||||
import static android.text.Html.FROM_HTML_MODE_LEGACY;
|
||||
import static app.fedilab.android.helper.Helper.notify_user;
|
||||
import static app.fedilab.android.helper.LogoHelper.getMainLogo;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
|
@ -343,7 +344,7 @@ public class NotificationsHelper {
|
|||
editor.putString(context.getString(R.string.LAST_NOTIFICATION_ID) + account.user_id + "@" + account.instance, notifications.get(0).id);
|
||||
editor.apply();
|
||||
notify_user(context, account, intent, BitmapFactory.decodeResource(context.getResources(),
|
||||
R.mipmap.ic_launcher), finalNotifType, finalTitle, finalMessage);
|
||||
getMainLogo(context)), finalNotifType, finalTitle, finalMessage);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -15,6 +15,7 @@ package app.fedilab.android.helper;
|
|||
* see <http://www.gnu.org/licenses>. */
|
||||
|
||||
import static app.fedilab.android.BaseMainActivity.currentAccount;
|
||||
import static app.fedilab.android.helper.LogoHelper.getMainLogo;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.Context;
|
||||
|
@ -61,7 +62,7 @@ public class SettingsStorage {
|
|||
intentOpen.setDataAndType(uri, "text/txt");
|
||||
String title = context.getString(R.string.data_export_settings);
|
||||
Helper.notify_user(context, currentAccount, intentOpen, BitmapFactory.decodeResource(context.getResources(),
|
||||
R.mipmap.ic_launcher), Helper.NotifType.BACKUP, title, message);
|
||||
getMainLogo(context)), Helper.NotifType.BACKUP, title, message);
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
} finally {
|
||||
|
|
|
@ -14,9 +14,15 @@ package app.fedilab.android.ui.fragment.settings;
|
|||
* You should have received a copy of the GNU General Public License along with Fedilab; if not,
|
||||
* see <http://www.gnu.org/licenses>. */
|
||||
|
||||
import static app.fedilab.android.helper.LogoHelper.setDrawable;
|
||||
|
||||
import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.os.Bundle;
|
||||
|
||||
import androidx.preference.ListPreference;
|
||||
import androidx.preference.PreferenceFragmentCompat;
|
||||
import androidx.preference.PreferenceManager;
|
||||
import androidx.preference.PreferenceScreen;
|
||||
|
@ -24,6 +30,7 @@ import androidx.preference.SeekBarPreference;
|
|||
|
||||
import app.fedilab.android.R;
|
||||
import app.fedilab.android.helper.Helper;
|
||||
import app.fedilab.android.helper.LogoHelper;
|
||||
import es.dmoral.toasty.Toasty;
|
||||
|
||||
public class FragmentInterfaceSettings extends PreferenceFragmentCompat implements SharedPreferences.OnSharedPreferenceChangeListener {
|
||||
|
@ -54,6 +61,11 @@ public class FragmentInterfaceSettings extends PreferenceFragmentCompat implemen
|
|||
SET_FONT_SCALE_ICON.setMax(180);
|
||||
SET_FONT_SCALE_ICON.setMin(80);
|
||||
}
|
||||
ListPreference SET_LOGO_LAUNCHER = findPreference(getString(R.string.SET_LOGO_LAUNCHER));
|
||||
if (SET_LOGO_LAUNCHER != null) {
|
||||
SET_LOGO_LAUNCHER.getContext().setTheme(Helper.dialogStyle());
|
||||
SET_LOGO_LAUNCHER.setIcon(LogoHelper.getDrawable(SET_LOGO_LAUNCHER.getValue()));
|
||||
}
|
||||
recreate = false;
|
||||
}
|
||||
|
||||
|
@ -81,9 +93,50 @@ public class FragmentInterfaceSettings extends PreferenceFragmentCompat implemen
|
|||
recreate = true;
|
||||
}
|
||||
editor.apply();
|
||||
if (key.compareToIgnoreCase(getString(R.string.SET_LOGO_LAUNCHER)) == 0) {
|
||||
ListPreference SET_LOGO_LAUNCHER = findPreference(getString(R.string.SET_LOGO_LAUNCHER));
|
||||
if (SET_LOGO_LAUNCHER != null) {
|
||||
hideAllIcons(requireActivity());
|
||||
setIcon(requireActivity(), SET_LOGO_LAUNCHER.getValue());
|
||||
SET_LOGO_LAUNCHER.setIcon(LogoHelper.getDrawable(SET_LOGO_LAUNCHER.getValue()));
|
||||
setDrawable(SET_LOGO_LAUNCHER.getValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void hideAllIcons(Context context) {
|
||||
context.getPackageManager().setComponentEnabledSetting(
|
||||
new ComponentName(context.getPackageName(), "app.fedilab.android.activities.MainActivity.Bubbles"),
|
||||
PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
|
||||
|
||||
context.getPackageManager().setComponentEnabledSetting(
|
||||
new ComponentName(context.getPackageName(), "app.fedilab.android.activities.MainActivity.Fediverse"),
|
||||
PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
|
||||
|
||||
context.getPackageManager().setComponentEnabledSetting(
|
||||
new ComponentName(context.getPackageName(), "app.fedilab.android.activities.MainActivity.Hero"),
|
||||
PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
|
||||
|
||||
context.getPackageManager().setComponentEnabledSetting(
|
||||
new ComponentName(context.getPackageName(), "app.fedilab.android.activities.MainActivity.Atom"),
|
||||
PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
|
||||
|
||||
context.getPackageManager().setComponentEnabledSetting(
|
||||
new ComponentName(context.getPackageName(), "app.fedilab.android.activities.MainActivity.BrainCrash"),
|
||||
PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
|
||||
|
||||
context.getPackageManager().setComponentEnabledSetting(
|
||||
new ComponentName(context.getPackageName(), "app.fedilab.android.activities.MainActivity.Mastalab"),
|
||||
PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
|
||||
}
|
||||
|
||||
private void setIcon(Context context, String iconName) {
|
||||
context.getPackageManager().setComponentEnabledSetting(
|
||||
new ComponentName(context.getPackageName(), "app.fedilab.android.activities.MainActivity." + iconName),
|
||||
PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
|
|
|
@ -16,6 +16,7 @@ package app.fedilab.android.ui.fragment.settings;
|
|||
|
||||
import static android.app.Activity.RESULT_OK;
|
||||
import static app.fedilab.android.BaseMainActivity.currentAccount;
|
||||
import static app.fedilab.android.helper.LogoHelper.getMainLogo;
|
||||
|
||||
import android.Manifest;
|
||||
import android.annotation.SuppressLint;
|
||||
|
@ -572,7 +573,7 @@ public class FragmentThemingSettings extends PreferenceFragmentCompat implements
|
|||
intentOpen.setDataAndType(uri, "text/csv");
|
||||
String title = getString(R.string.data_export_theme);
|
||||
Helper.notify_user(getActivity(), currentAccount, intentOpen, BitmapFactory.decodeResource(requireActivity().getResources(),
|
||||
R.mipmap.ic_launcher), Helper.NotifType.BACKUP, title, message);
|
||||
getMainLogo(requireActivity())), Helper.NotifType.BACKUP, title, message);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
Toasty.error(requireActivity(), getString(R.string.toast_error), Toast.LENGTH_LONG).show();
|
||||
|
|
BIN
app/src/main/res/drawable-hdpi/ic_plain_atom.png
Normal file
After Width: | Height: | Size: 821 B |
BIN
app/src/main/res/drawable-hdpi/ic_plain_bubbles.png
Normal file
After Width: | Height: | Size: 712 B |
BIN
app/src/main/res/drawable-hdpi/ic_plain_crash.png
Normal file
After Width: | Height: | Size: 766 B |
BIN
app/src/main/res/drawable-hdpi/ic_plain_fediverse.png
Normal file
After Width: | Height: | Size: 1,005 B |
BIN
app/src/main/res/drawable-hdpi/ic_plain_hero.png
Normal file
After Width: | Height: | Size: 417 B |
BIN
app/src/main/res/drawable-hdpi/ic_plain_mastalab.png
Normal file
After Width: | Height: | Size: 539 B |
BIN
app/src/main/res/drawable-mdpi/ic_plain_atom.png
Normal file
After Width: | Height: | Size: 499 B |
BIN
app/src/main/res/drawable-mdpi/ic_plain_bubbles.png
Normal file
After Width: | Height: | Size: 465 B |
BIN
app/src/main/res/drawable-mdpi/ic_plain_crash.png
Normal file
After Width: | Height: | Size: 473 B |
BIN
app/src/main/res/drawable-mdpi/ic_plain_fediverse.png
Normal file
After Width: | Height: | Size: 595 B |
BIN
app/src/main/res/drawable-mdpi/ic_plain_hero.png
Normal file
After Width: | Height: | Size: 290 B |
BIN
app/src/main/res/drawable-mdpi/ic_plain_mastalab.png
Normal file
After Width: | Height: | Size: 359 B |
BIN
app/src/main/res/drawable-xhdpi/ic_plain_atom.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
app/src/main/res/drawable-xhdpi/ic_plain_bubbles.png
Normal file
After Width: | Height: | Size: 1,000 B |
BIN
app/src/main/res/drawable-xhdpi/ic_plain_crash.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
app/src/main/res/drawable-xhdpi/ic_plain_fediverse.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
app/src/main/res/drawable-xhdpi/ic_plain_hero.png
Normal file
After Width: | Height: | Size: 541 B |
BIN
app/src/main/res/drawable-xhdpi/ic_plain_mastalab.png
Normal file
After Width: | Height: | Size: 749 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_plain_atom.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
app/src/main/res/drawable-xxhdpi/ic_plain_bubbles.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
app/src/main/res/drawable-xxhdpi/ic_plain_crash.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
app/src/main/res/drawable-xxhdpi/ic_plain_fediverse.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
app/src/main/res/drawable-xxhdpi/ic_plain_hero.png
Normal file
After Width: | Height: | Size: 868 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_plain_mastalab.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/ic_plain_atom.png
Normal file
After Width: | Height: | Size: 3 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/ic_plain_bubbles.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/ic_plain_crash.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/ic_plain_fediverse.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/ic_plain_hero.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/ic_plain_mastalab.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
58
app/src/main/res/drawable/fedilab_logo_atom.xml
Normal file
|
@ -0,0 +1,58 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="200dp"
|
||||
android:height="200dp"
|
||||
android:viewportWidth="200"
|
||||
android:viewportHeight="200">
|
||||
<path android:pathData="m122.85,150.058c2.094,-2.093 3.515,-3.902 4.564,-5.077 1.014,-1.207 1.552,-1.855 1.552,-1.855 0,0 -0.734,0.409 -2.112,1.177 -1.358,0.781 -3.37,1.961 -5.911,3.338 -2.51,1.423 -5.614,3.067 -9.152,4.913 -3.568,1.791 -7.57,3.798 -12.018,5.723 -4.408,2.001 -9.276,3.877 -14.426,5.665 -1.603,0.559 -3.251,1.083 -4.917,1.593 -0.33,-0.206 -0.668,-0.416 -1.067,-0.664 -0.969,-0.614 -2.304,-1.385 -3.39,-2.201 -0.594,-0.416 -1.224,-0.859 -1.885,-1.325 -0.665,-0.476 -1.389,-0.926 -2.09,-1.54 -0.715,-0.586 -1.465,-1.197 -2.238,-1.829 -0.389,-0.317 -0.782,-0.638 -1.186,-0.967 -0.373,-0.352 -0.75,-0.712 -1.132,-1.076 -0.772,-0.73 -1.57,-1.483 -2.382,-2.249 -0.77,-0.807 -1.516,-1.663 -2.307,-2.521 -0.393,-0.433 -0.788,-0.869 -1.188,-1.309 -0.362,-0.466 -0.726,-0.936 -1.094,-1.408 -0.715,-0.963 -1.536,-1.887 -2.207,-2.916 -0.686,-1.032 -1.376,-2.072 -2.07,-3.115 -0.659,-1.069 -1.253,-2.186 -1.887,-3.289 -0.665,-1.092 -1.175,-2.262 -1.733,-3.408 -0.562,-1.149 -1.118,-2.3 -1.567,-3.49 -0.467,-1.181 -0.985,-2.343 -1.402,-3.526 -0.407,-1.191 -0.813,-2.37 -1.208,-3.529 -0.405,-1.158 -0.695,-2.336 -1.038,-3.472 -0.335,-1.141 -0.661,-2.261 -0.913,-3.369 -0.27,-1.108 -0.536,-2.186 -0.789,-3.226 -0.246,-1.048 -0.442,-2.066 -0.65,-3.044 -0.427,-1.952 -0.757,-3.76 -1.036,-5.363 -0.297,-1.603 -0.538,-3.008 -0.712,-4.164 -0.366,-2.319 -0.577,-3.643 -0.577,-3.643 0,0 -0.031,1.342 -0.084,3.689 -0.035,1.175 -0.05,2.604 -0.045,4.241 -0.009,1.64 -0.009,3.492 0.062,5.518 0.031,1.014 0.04,2.07 0.094,3.164 0.067,1.095 0.136,2.226 0.206,3.389 0.053,1.17 0.174,2.362 0.305,3.589 0.141,1.224 0.221,2.485 0.418,3.756 0.194,1.278 0.389,2.574 0.589,3.888 0.21,1.315 0.531,2.633 0.797,3.975 0.248,1.346 0.614,2.681 0.994,4.026 0.38,1.342 0.705,2.713 1.206,4.033 0.471,1.326 0.907,2.679 1.421,3.995 0.56,1.304 1.121,2.604 1.675,3.891 0.547,1.301 1.259,2.501 1.882,3.744 0.324,0.615 0.641,1.225 0.962,1.835 0.357,0.581 0.715,1.159 1.068,1.733 0.719,1.141 1.406,2.288 2.126,3.376 0.77,1.052 1.523,2.082 2.255,3.082 0.368,0.502 0.735,1 1.094,1.487 0.386,0.46 0.768,0.914 1.146,1.358 0.761,0.892 1.494,1.753 2.2,2.579 0.067,0.084 0.143,0.157 0.212,0.239 -0.972,0.15 -1.943,0.308 -2.921,0.431 -1.459,0.203 -2.928,0.268 -4.397,0.416 -1.465,0.094 -2.934,0.152 -4.403,0.219 -5.855,0.039 -11.701,-0.52 -16.98,-2.141 -2.631,-0.808 -5.109,-1.858 -7.378,-3.141 -2.192,-1.38 -4.249,-2.867 -5.983,-4.663 -0.427,-0.454 -0.803,-0.947 -1.214,-1.412 -0.197,-0.239 -0.421,-0.46 -0.6,-0.712l-0.52,-0.773c-0.34,-0.52 -0.764,-0.982 -1.053,-1.538l-0.924,-1.634c-0.333,-0.529 -0.517,-1.148 -0.792,-1.717 -0.245,-0.585 -0.546,-1.139 -0.708,-1.766 -0.195,-0.61 -0.392,-1.217 -0.61,-1.82l-0.079,-0.228 -0.04,-0.113c-0.042,-0.179 0.033,0.18 0.02,0.117l-0.018,-0.071 -0.144,-0.569 -0.285,-1.132 -0.285,-1.126 -0.141,-0.563 -0.095,-0.48c-0.131,-0.641 -0.26,-1.278 -0.388,-1.912 -0.148,-0.614 -0.216,-1.325 -0.323,-1.985 -0.097,-0.671 -0.244,-1.339 -0.303,-2.007 -0.342,-2.669 -0.454,-5.308 -0.469,-7.891 0.028,-2.583 0.167,-5.114 0.502,-7.554 0.111,-1.233 0.361,-2.421 0.54,-3.608 0.246,-1.173 0.465,-2.334 0.746,-3.462 1.053,-4.533 2.544,-8.626 4.068,-12.212 1.543,-3.579 3.158,-6.634 4.588,-9.119 1.454,-2.463 2.669,-4.408 3.578,-5.672 0.894,-1.279 1.41,-1.949 1.41,-1.949 0,0 -0.741,0.406 -2.038,1.324 -1.284,0.929 -3.171,2.322 -5.361,4.356 -2.198,2.023 -4.722,4.674 -7.301,8.025 -2.554,3.365 -5.172,7.44 -7.372,12.29 -2.229,4.833 -3.983,10.457 -4.922,16.625 -0.462,3.084 -0.662,6.297 -0.672,9.589 0.013,1.657 0.067,3.278 0.226,5.013 0.093,0.873 0.185,1.751 0.279,2.633l0.075,0.661 0.086,0.571 0.175,1.151 0.174,1.152 0.089,0.578 0.011,0.074 0.054,0.259 0.039,0.167 0.077,0.339c0.204,0.901 0.427,1.804 0.657,2.711 0.194,0.911 0.552,1.802 0.86,2.702 0.341,0.892 0.595,1.819 1.026,2.693 1.506,3.582 3.69,6.971 6.302,10.031 2.678,3.015 5.803,5.622 9.206,7.73 3.431,2.031 7.055,3.615 10.745,4.774 7.416,2.17 14.932,2.744 22.075,2.318 1.777,-0.154 3.552,-0.281 5.294,-0.498 1.729,-0.286 3.466,-0.502 5.149,-0.849 1.679,-0.37 3.372,-0.657 4.997,-1.094 1.628,-0.436 3.256,-0.84 4.824,-1.35 6.325,-1.913 12.165,-4.381 17.453,-7.091 5.288,-2.722 10.084,-5.591 14.273,-8.557 4.223,-2.912 7.856,-5.871 10.982,-8.566 3.088,-2.751 5.689,-5.224 7.723,-7.391z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="108.597145"
|
||||
android:endY="189.26927"
|
||||
android:startX="-15.062011"
|
||||
android:startY="87.72807"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF00F0FE"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0047D6"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m198.758,140.016c-1.827,-7.503 -5.086,-14.302 -9.031,-20.275 -1.022,-1.463 -2.018,-2.935 -3.081,-4.334 -1.108,-1.356 -2.164,-2.751 -3.309,-4.037 -1.157,-1.268 -2.251,-2.588 -3.443,-3.78 -1.191,-1.193 -2.354,-2.401 -3.581,-3.502 -4.819,-4.522 -9.874,-8.344 -14.868,-11.571 -4.997,-3.215 -9.883,-5.938 -14.545,-8.081 -4.631,-2.2 -9.012,-3.865 -12.911,-5.225 -3.924,-1.302 -7.365,-2.315 -10.259,-2.994 -2.858,-0.766 -5.135,-1.092 -6.679,-1.416 -1.552,-0.272 -2.383,-0.418 -2.383,-0.418 0,0 0.724,0.433 2.077,1.244 1.353,0.783 3.381,1.939 5.845,3.452 2.486,1.463 5.46,3.325 8.827,5.467 3.339,2.195 7.075,4.658 10.967,7.545 3.934,2.818 7.996,6.099 12.118,9.662 1.286,1.111 2.565,2.276 3.839,3.466 -0.013,0.38 -0.027,0.788 -0.04,1.25 -0.049,1.145 -0.047,2.69 -0.214,4.039 -0.062,0.717 -0.13,1.483 -0.204,2.293 -0.077,0.81 -0.109,1.664 -0.288,2.577 -0.153,0.916 -0.307,1.869 -0.465,2.853 -0.08,0.496 -0.16,1 -0.246,1.51 -0.12,0.5 -0.241,1.005 -0.366,1.52 -0.246,1.034 -0.501,2.099 -0.759,3.187 -0.308,1.07 -0.679,2.146 -1.028,3.258 -0.179,0.558 -0.359,1.117 -0.54,1.684 -0.223,0.547 -0.447,1.096 -0.674,1.653 -0.474,1.098 -0.862,2.27 -1.423,3.369 -0.547,1.11 -1.102,2.226 -1.659,3.349 -0.598,1.106 -1.268,2.178 -1.907,3.281 -0.612,1.119 -1.371,2.146 -2.083,3.204 -0.715,1.061 -1.432,2.12 -2.24,3.102 -0.79,0.994 -1.536,2.023 -2.353,2.974 -0.826,0.952 -1.644,1.89 -2.45,2.814 -0.804,0.926 -1.678,1.771 -2.49,2.635 -0.818,0.863 -1.628,1.703 -2.461,2.476 -0.824,0.788 -1.623,1.555 -2.398,2.295 -0.786,0.735 -1.572,1.414 -2.313,2.084 -1.477,1.348 -2.877,2.534 -4.127,3.577 -1.239,1.061 -2.336,1.97 -3.251,2.7 -1.822,1.476 -2.865,2.321 -2.865,2.321 0,0 1.177,-0.643 3.236,-1.771 1.036,-0.556 2.277,-1.257 3.698,-2.082 1.424,-0.81 3.028,-1.737 4.747,-2.811 0.859,-0.536 1.771,-1.072 2.689,-1.663 0.916,-0.608 1.862,-1.233 2.836,-1.873 0.987,-0.63 1.96,-1.333 2.957,-2.061 0.988,-0.73 2.041,-1.432 3.041,-2.237 1.01,-0.807 2.036,-1.626 3.072,-2.454 1.036,-0.842 2.014,-1.776 3.044,-2.679 1.043,-0.89 2.017,-1.875 2.989,-2.872 0.974,-0.998 1.997,-1.967 2.89,-3.059 0.916,-1.072 1.867,-2.127 2.751,-3.229 0.849,-1.139 1.698,-2.271 2.532,-3.394 0.854,-1.128 1.537,-2.344 2.3,-3.504 0.371,-0.587 0.741,-1.17 1.108,-1.751 0.325,-0.601 0.647,-1.199 0.969,-1.792 0.629,-1.194 1.277,-2.362 1.858,-3.53 0.526,-1.193 1.042,-2.361 1.545,-3.495 0.25,-0.572 0.496,-1.134 0.741,-1.69 0.201,-0.566 0.401,-1.124 0.6,-1.671 0.391,-1.103 0.77,-2.171 1.131,-3.195 0.042,-0.101 0.065,-0.204 0.101,-0.302 0.617,0.766 1.239,1.525 1.836,2.314 0.905,1.163 1.695,2.398 2.557,3.597 0.813,1.225 1.598,2.465 2.392,3.709 2.958,5.046 5.401,10.39 6.636,15.774 0.614,2.685 0.945,5.354 0.967,7.961 -0.097,2.586 -0.357,5.111 -1.045,7.512 -0.179,0.596 -0.42,1.167 -0.616,1.757 -0.11,0.291 -0.188,0.594 -0.317,0.875l-0.409,0.838c-0.279,0.551 -0.471,1.153 -0.806,1.682l-0.951,1.617c-0.295,0.551 -0.738,1.023 -1.092,1.543 -0.383,0.504 -0.715,1.043 -1.175,1.499 -0.433,0.47 -0.86,0.948 -1.275,1.438l-0.157,0.18 -0.077,0.094c-0.134,0.125 0.14,-0.12 0.092,-0.078l-0.054,0.054 -0.42,0.407 -0.835,0.812 -0.835,0.81 -0.416,0.401 -0.37,0.327c-0.487,0.432 -0.974,0.861 -1.461,1.288 -0.456,0.438 -1.036,0.848 -1.557,1.273 -0.533,0.422 -1.038,0.88 -1.588,1.266 -2.142,1.629 -4.367,3.045 -6.6,4.351 -2.249,1.266 -4.511,2.412 -6.793,3.345 -1.12,0.515 -2.275,0.897 -3.394,1.335 -1.136,0.37 -2.253,0.766 -3.372,1.083 -4.451,1.353 -8.742,2.11 -12.607,2.584 -3.873,0.452 -7.326,0.582 -10.192,0.584 -2.863,-0.025 -5.154,-0.107 -6.704,-0.259 -1.554,-0.138 -2.393,-0.248 -2.393,-0.248 0,0 0.724,0.44 2.166,1.103 1.447,0.646 3.594,1.583 6.453,2.463 2.854,0.894 6.409,1.753 10.603,2.312 4.19,0.527 9.03,0.757 14.331,0.236 5.296,-0.484 11.044,-1.777 16.855,-4.046 2.903,-1.143 5.788,-2.577 8.642,-4.214 1.427,-0.841 2.805,-1.698 4.23,-2.702 0.71,-0.518 1.423,-1.039 2.139,-1.559l0.536,-0.396 0.451,-0.359 0.906,-0.728 0.914,-0.728 0.458,-0.364 0.058,-0.046 0.197,-0.177 0.125,-0.119 0.255,-0.234c0.679,-0.628 1.349,-1.273 2.021,-1.925 0.695,-0.624 1.284,-1.378 1.91,-2.095 0.603,-0.744 1.277,-1.427 1.817,-2.235 2.35,-3.098 4.193,-6.682 5.537,-10.475 1.273,-3.823 1.97,-7.836 2.09,-11.835 0.043,-3.986 -0.394,-7.919 -1.239,-11.695z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="144.80522"
|
||||
android:endY="145.17525"
|
||||
android:startX="21.146402"
|
||||
android:startY="43.634373"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF00F0FE"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0047D6"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m56.8,101.995c0.837,4.046 1.677,7.536 2.539,10.38 0.766,2.858 1.623,4.995 2.114,6.491 0.543,1.48 0.829,2.271 0.829,2.271 0,0 0.013,-0.842 0.04,-2.419 0,-1.566 -0.013,-3.899 0.063,-6.788 0.027,-2.885 0.152,-6.392 0.321,-10.379 0.232,-3.988 0.496,-8.456 1.054,-13.268 0.471,-4.819 1.282,-9.973 2.309,-15.327 0.317,-1.671 0.683,-3.358 1.079,-5.058 0.34,-0.181 0.69,-0.368 1.101,-0.589 1.018,-0.533 2.355,-1.304 3.604,-1.837 0.657,-0.304 1.353,-0.625 2.09,-0.967 0.744,-0.338 1.496,-0.739 2.381,-1.038 0.866,-0.328 1.768,-0.671 2.702,-1.025 0.469,-0.177 0.944,-0.359 1.429,-0.543 0.493,-0.148 0.992,-0.295 1.501,-0.445 1.018,-0.303 2.067,-0.618 3.139,-0.935 1.081,-0.266 2.198,-0.482 3.336,-0.739 0.569,-0.123 1.146,-0.248 1.724,-0.373 0.587,-0.081 1.177,-0.161 1.768,-0.243 1.192,-0.141 2.403,-0.389 3.631,-0.451 1.237,-0.081 2.481,-0.159 3.731,-0.239 1.257,-0.033 2.521,0.011 3.793,0.011 1.278,-0.029 2.546,0.116 3.819,0.203 1.272,0.087 2.55,0.181 3.805,0.389 1.255,0.188 2.519,0.317 3.753,0.549 1.235,0.243 2.459,0.48 3.661,0.717 1.206,0.23 2.371,0.568 3.528,0.838 1.158,0.279 2.289,0.558 3.376,0.893 1.092,0.322 2.157,0.63 3.185,0.929 1.031,0.313 2.01,0.655 2.961,0.961 1.905,0.607 3.635,1.226 5.162,1.786 1.539,0.545 2.874,1.038 3.964,1.465 2.191,0.844 3.442,1.322 3.442,1.322 0,0 -1.146,-0.697 -3.153,-1.916 -0.998,-0.618 -2.226,-1.344 -3.649,-2.159 -1.415,-0.828 -3.018,-1.755 -4.807,-2.706 -0.896,-0.48 -1.815,-1.001 -2.789,-1.501 -0.982,-0.489 -1.996,-0.996 -3.037,-1.519 -1.04,-0.538 -2.134,-1.027 -3.26,-1.529 -1.13,-0.489 -2.265,-1.049 -3.465,-1.514 -1.202,-0.473 -2.421,-0.949 -3.658,-1.433 -1.246,-0.476 -2.545,-0.857 -3.84,-1.299 -1.296,-0.456 -2.631,-0.807 -3.984,-1.151 -1.353,-0.346 -2.704,-0.746 -4.096,-0.974 -1.386,-0.255 -2.776,-0.553 -4.171,-0.768 -1.412,-0.167 -2.814,-0.332 -4.207,-0.496 -1.401,-0.176 -2.798,-0.159 -4.182,-0.241 -0.695,-0.027 -1.385,-0.053 -2.07,-0.083 -0.683,0.02 -1.362,0.038 -2.037,0.058 -1.349,0.051 -2.684,0.071 -3.988,0.154 -1.295,0.14 -2.563,0.274 -3.796,0.408 -0.621,0.069 -1.233,0.139 -1.835,0.206 -0.589,0.105 -1.175,0.212 -1.746,0.313 -1.152,0.212 -2.264,0.42 -3.333,0.616 -0.105,0.015 -0.208,0.047 -0.311,0.065 0.353,-0.918 0.701,-1.838 1.085,-2.747 0.554,-1.362 1.228,-2.668 1.835,-4.015 0.657,-1.315 1.335,-2.615 2.016,-3.922 2.892,-5.089 6.3,-9.872 10.346,-13.634 2.014,-1.876 4.162,-3.497 6.409,-4.817 2.289,-1.211 4.604,-2.249 7.03,-2.854 0.603,-0.141 1.219,-0.219 1.83,-0.346 0.304,-0.049 0.605,-0.134 0.916,-0.161l0.928,-0.065c0.619,-0.035 1.233,-0.17 1.859,-0.143 0.627,0.004 1.252,0.011 1.875,0.018 0.628,-0.024 1.255,0.125 1.885,0.172 0.627,0.078 1.259,0.095 1.885,0.268 0.625,0.138 1.25,0.27 1.88,0.384l0.236,0.045 0.122,0.02c0.174,0.056 -0.175,-0.06 -0.111,-0.038l0.069,0.018 0.565,0.161 1.121,0.319 1.116,0.317 0.558,0.159 0.464,0.156c0.621,0.208 1.233,0.415 1.85,0.62 0.607,0.179 1.255,0.476 1.879,0.713 0.631,0.252 1.282,0.458 1.89,0.741 2.483,1.038 4.823,2.262 7.07,3.539 2.221,1.316 4.345,2.702 6.292,4.212 1.009,0.715 1.916,1.523 2.853,2.273 0.893,0.799 1.791,1.568 2.626,2.378 3.396,3.177 6.199,6.514 8.539,9.629 2.331,3.124 4.172,6.051 5.605,8.532 1.41,2.49 2.483,4.513 3.126,5.933 0.656,1.416 0.982,2.196 0.982,2.196 0,0 0.018,-0.844 -0.129,-2.428 -0.163,-1.572 -0.425,-3.906 -1.093,-6.819 -0.654,-2.914 -1.686,-6.424 -3.302,-10.334 -1.635,-3.895 -3.854,-8.2 -6.955,-12.532 -3.071,-4.345 -7.064,-8.677 -11.936,-12.573 -2.438,-1.943 -5.122,-3.72 -7.968,-5.377 -1.443,-0.815 -2.871,-1.581 -4.457,-2.311 -0.799,-0.355 -1.607,-0.715 -2.418,-1.074l-0.61,-0.266 -0.536,-0.21 -1.085,-0.424 -1.085,-0.425 -0.545,-0.214 -0.066,-0.027 -0.255,-0.083 -0.163,-0.049 -0.332,-0.103c-0.882,-0.275 -1.777,-0.534 -2.676,-0.79 -0.888,-0.286 -1.835,-0.423 -2.771,-0.603 -0.944,-0.152 -1.873,-0.395 -2.845,-0.458 -3.857,-0.487 -7.88,-0.29 -11.842,0.442 -3.946,0.81 -7.769,2.215 -11.293,4.109 -3.477,1.956 -6.661,4.301 -9.51,6.916 -5.587,5.337 -9.841,11.56 -13.043,17.962 -0.757,1.613 -1.534,3.214 -2.218,4.835 -0.616,1.637 -1.3,3.251 -1.84,4.882 -0.518,1.639 -1.116,3.247 -1.55,4.874 -0.438,1.628 -0.902,3.24 -1.244,4.855 -1.507,6.433 -2.288,12.722 -2.588,18.659 -0.283,5.938 -0.199,11.529 0.277,16.637 0.411,5.113 1.157,9.74 1.927,13.797z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="164.18988"
|
||||
android:endY="121.570206"
|
||||
android:startX="40.52886"
|
||||
android:startY="20.02756"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF00F0FE"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0047D6"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
</vector>
|
313
app/src/main/res/drawable/fedilab_logo_crash.xml
Normal file
|
@ -0,0 +1,313 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="200dp"
|
||||
android:height="200dp"
|
||||
android:viewportWidth="200"
|
||||
android:viewportHeight="200">
|
||||
<path android:pathData="m44.464,91.03c-2.704,0 -4.893,-2.191 -4.893,-4.893l0,-21.048c0,-2.702 2.188,-4.893 4.893,-4.893 2.7,0 4.893,2.191 4.893,4.893l0,21.048c0,2.702 -2.193,4.893 -4.893,4.893z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="46.785923"
|
||||
android:endY="78.839165"
|
||||
android:startX="132.4141"
|
||||
android:startY="197.90587"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m44.468,69.984c-1.692,0 -3.335,-0.877 -4.243,-2.446 -1.352,-2.339 -0.55,-5.332 1.792,-6.685l55.537,-32.066c2.336,-1.352 5.328,-0.55 6.685,1.792 1.347,2.339 0.549,5.332 -1.792,6.684l-55.537,32.066c-0.769,0.444 -1.615,0.655 -2.441,0.655z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="77.67399"
|
||||
android:endY="56.624218"
|
||||
android:startX="163.30603"
|
||||
android:startY="175.6948"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m157.683,69.516c-0.793,0 -1.601,-0.194 -2.346,-0.602l-57.685,-31.598c-2.37,-1.297 -3.24,-4.272 -1.94,-6.642 1.295,-2.37 4.267,-3.237 6.642,-1.94l57.685,31.597c2.37,1.297 3.24,4.272 1.94,6.642 -0.888,1.624 -2.566,2.542 -4.295,2.542z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="115.09882"
|
||||
android:endY="29.710848"
|
||||
android:startX="200.71925"
|
||||
android:startY="148.76207"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m157.686,101.584c-2.7,0 -4.893,-2.191 -4.893,-4.893l0,-32.068c0,-2.702 2.193,-4.893 4.893,-4.893 2.704,0 4.893,2.191 4.893,4.893l0,32.068c0,2.702 -2.189,4.893 -4.893,4.893z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="119.01933"
|
||||
android:endY="26.889471"
|
||||
android:startX="204.63977"
|
||||
android:startY="145.94456"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m78.015,82.489c-1.701,0 -3.354,-0.889 -4.257,-2.475 -1.333,-2.348 -0.516,-5.335 1.835,-6.67l21.989,-12.504c2.346,-1.338 5.337,-0.514 6.67,1.835 1.333,2.348 0.516,5.335 -1.835,6.67l-21.989,12.504c-0.759,0.435 -1.59,0.64 -2.413,0.64z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="78.165504"
|
||||
android:endY="56.27203"
|
||||
android:startX="163.79367"
|
||||
android:startY="175.33485"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m78.011,111.179c-2.7,0 -4.893,-2.191 -4.893,-4.893l0,-28.69c0,-2.702 2.193,-4.893 4.893,-4.893 2.704,0 4.893,2.191 4.893,4.893l0,28.69c-0,2.702 -2.189,4.893 -4.893,4.893z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="61.155975"
|
||||
android:endY="68.50573"
|
||||
android:startX="146.78027"
|
||||
android:startY="187.56082"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m78.011,187.305c-2.7,0 -4.893,-2.191 -4.893,-4.893l0,-104.817c0,-2.702 2.193,-4.893 4.893,-4.893 2.704,0 4.893,2.191 4.893,4.893l0,104.817c-0,2.702 -2.189,4.892 -4.893,4.892z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="43.113102"
|
||||
android:endY="81.47864"
|
||||
android:startX="128.74127"
|
||||
android:startY="200.5376"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m137.124,111.179l-92.099,0c-2.704,0 -4.893,-2.191 -4.893,-4.893 0,-2.702 2.189,-4.893 4.893,-4.893l92.099,0c2.699,0 4.893,2.191 4.893,4.893s-2.193,4.893 -4.893,4.893z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="62.967228"
|
||||
android:endY="67.20148"
|
||||
android:startX="148.59154"
|
||||
android:startY="186.26044"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m137.124,144.876c-2.704,0 -4.893,-2.191 -4.893,-4.893l0,-33.7c0,-2.702 2.188,-4.893 4.893,-4.893 2.699,0 4.893,2.191 4.893,4.893l0,33.7c0,2.702 -2.193,4.893 -4.893,4.893z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="85.333115"
|
||||
android:endY="51.120792"
|
||||
android:startX="170.95355"
|
||||
android:startY="170.17201"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m137.124,144.876l-119.492,0c-2.699,0 -4.893,-2.191 -4.893,-4.893s2.193,-4.893 4.893,-4.893l119.492,0c2.699,0 4.893,2.191 4.893,4.893 0,2.702 -2.193,4.893 -4.893,4.893z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="37.96961"
|
||||
android:endY="85.18242"
|
||||
android:startX="123.59004"
|
||||
android:startY="204.23752"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m100.005,200c-1.692,0 -3.335,-0.877 -4.243,-2.446 -1.352,-2.339 -0.549,-5.332 1.792,-6.684l82.362,-47.553c2.336,-1.355 5.332,-0.547 6.684,1.792 1.352,2.341 0.55,5.332 -1.792,6.684l-82.362,47.553c-0.769,0.445 -1.615,0.655 -2.442,0.655z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="65.16163"
|
||||
android:endY="65.626305"
|
||||
android:startX="150.78593"
|
||||
android:startY="184.6814"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m182.359,152.443c-2.7,0 -4.893,-2.191 -4.893,-4.893l0,-95.102c0,-2.702 2.193,-4.893 4.893,-4.893 2.704,0 4.893,2.191 4.893,4.893l0,95.102c-0,2.702 -2.189,4.893 -4.893,4.893z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="126.11341"
|
||||
android:endY="21.788548"
|
||||
android:startX="211.73772"
|
||||
android:startY="140.8475"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m182.355,57.34c-0.827,0 -1.668,-0.21 -2.442,-0.654l-82.358,-47.553c-2.341,-1.352 -3.144,-4.346 -1.792,-6.684 1.352,-2.339 4.334,-3.144 6.685,-1.792l82.362,47.553c2.341,1.352 3.144,4.344 1.792,6.685 -0.908,1.569 -2.551,2.446 -4.243,2.446z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="132.78177"
|
||||
android:endY="16.99337"
|
||||
android:startX="218.40219"
|
||||
android:startY="136.04846"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m17.639,57.34c-1.691,0 -3.335,-0.877 -4.243,-2.446 -1.347,-2.341 -0.55,-5.332 1.792,-6.685l82.366,-47.553c2.336,-1.352 5.328,-0.547 6.685,1.792 1.347,2.339 0.549,5.332 -1.792,6.684l-82.366,47.553c-0.769,0.444 -1.61,0.655 -2.441,0.655z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="78.498344"
|
||||
android:endY="56.039818"
|
||||
android:startX="164.13425"
|
||||
android:startY="175.11426"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m17.636,144.876c-2.699,0 -4.893,-2.191 -4.893,-4.893l0,-87.536c0,-2.702 2.193,-4.893 4.893,-4.893 2.704,0 4.893,2.191 4.893,4.893l0,87.536c-0,2.702 -2.189,4.892 -4.893,4.892z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="19.338465"
|
||||
android:endY="98.581055"
|
||||
android:startX="104.96277"
|
||||
android:startY="217.64001"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m78.007,187.305c-0.807,0 -1.624,-0.199 -2.379,-0.621l-32.983,-18.41c-2.36,-1.317 -3.206,-4.296 -1.887,-6.656 1.314,-2.363 4.296,-3.208 6.656,-1.887l32.983,18.41c2.36,1.316 3.206,4.296 1.887,6.656 -0.894,1.605 -2.562,2.508 -4.277,2.508z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="11.764483"
|
||||
android:endY="104.02255"
|
||||
android:startX="97.392654"
|
||||
android:startY="223.08539"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m157.683,101.584c-0.793,0 -1.601,-0.194 -2.346,-0.602l-57.685,-31.6c-2.37,-1.298 -3.24,-4.272 -1.94,-6.642 1.295,-2.37 4.267,-3.239 6.642,-1.94l57.685,31.6c2.37,1.297 3.24,4.272 1.94,6.642 -0.888,1.624 -2.566,2.542 -4.295,2.542z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="99.896675"
|
||||
android:endY="40.640293"
|
||||
android:startX="185.52098"
|
||||
android:startY="159.69925"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m45.029,168.895c-2.704,0 -4.893,-2.191 -4.893,-4.893l0,-57.716c0,-2.702 2.189,-4.893 4.893,-4.893 2.7,0 4.893,2.191 4.893,4.893l0,57.716c0,2.702 -2.193,4.893 -4.893,4.893z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="18.939835"
|
||||
android:endY="98.86745"
|
||||
android:startX="104.560265"
|
||||
android:startY="217.9264"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
</vector>
|
51
app/src/main/res/drawable/fedilab_logo_fediverse.xml
Normal file
|
@ -0,0 +1,51 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="200dp"
|
||||
android:height="200dp"
|
||||
android:viewportWidth="52.918"
|
||||
android:viewportHeight="52.918">
|
||||
<path
|
||||
android:fillColor="#c5ab63"
|
||||
android:pathData="m9.9947,19.7324a5.5689,5.5689 135,0 1,-2.3818 2.3707l13.0759,13.1271 3.1524,-1.5976zM27.2412,37.0461 L24.0888,38.6436 30.7142,45.2949a5.5689,5.5689 45,0 1,2.3822 -2.371z" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="m42.3726,24.9265 l-7.4025,3.7516 0.5458,3.4912 8.3756,-4.245a5.5689,5.5689 0,0 1,-1.519 -2.9978zM30.673,30.8558 L13.1706,39.7261a5.5689,5.5689 0,0 1,1.5193 2.9981l16.5291,-8.3771z" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="m25.0376,9.0062 l-8.4456,16.4875 2.4935,2.5031 8.9422,-17.4566a5.5689,5.5689 0,0 1,-2.99 -1.5342zM14.3954,29.7826 L10.1175,38.1339a5.5689,5.5689 0,0 1,2.9898 1.5341l3.7815,-7.3824z" />
|
||||
<path
|
||||
android:fillColor="#c5ac64"
|
||||
android:pathData="m7.5426,22.1396a5.5689,5.5689 45,0 1,-2.782 0.5816,5.5689 5.5689,0 0,1 -0.5376,-0.0562l2.498,15.9779a5.5689,5.5689 0,0 1,2.782 -0.5816,5.5689 5.5689,0 0,1 0.5372,0.0562z" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="m14.6962,42.8031a5.5689,5.5689 0,0 1,0.0583 1.1218,5.5689 5.5689,0 0,1 -0.5875,2.1971l15.9747,2.5635a5.5689,5.5689 0,0 1,-0.0584 -1.1219,5.5689 5.5689,0 0,1 0.5876,-2.1969z" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="m43.9398,27.983 l-7.3736,14.3947a5.5689,5.5689 0,0 1,2.9903 1.5345l7.3735,-14.3947a5.5689,5.5689 0,0 1,-2.9902 -1.5346z" />
|
||||
<path
|
||||
android:fillColor="#c5ac64"
|
||||
android:pathData="m33.8863,7.6234a5.5689,5.5689 0,0 1,-2.3822 2.371l11.4192,11.4629a5.5689,5.5689 0,0 1,2.382 -2.371z" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="m23.4597,5.9496 l-14.4352,7.3154a5.5689,5.5689 135,0 1,1.5191 2.9978l14.4352,-7.3157a5.5689,5.5689 0,0 1,-1.519 -2.9975z" />
|
||||
<path
|
||||
android:fillColor="#c5ac64"
|
||||
android:pathData="m31.4769,10.0072a5.5689,5.5689 0,0 1,-2.8278 0.6048,5.5689 5.5689,0 0,1 -0.4874,-0.0511l1.2787,8.1878 3.489,0.5599zM30.1836,23.5085 L33.2068,42.8671a5.5689,5.5689 135,0 1,2.7414 -0.5613,5.5689 5.5689,0 0,1 0.5826,0.0639L33.6727,24.0688Z" />
|
||||
<path
|
||||
android:fillColor="#c5ab63"
|
||||
android:pathData="m10.5597,16.324a5.5689,5.5689 0,0 1,0.0613 1.1395,5.5689 5.5689,0 0,1 -0.5788,2.1811l8.1941,1.316 1.6106,-3.145zM24.6036,18.5792 L22.993,21.7247 42.3536,24.8341a5.5689,5.5689 0,0 1,-0.0562 -1.109,5.5689 5.5689,0 0,1 0.5941,-2.2087z" />
|
||||
<path
|
||||
android:fillColor="#c5ac64"
|
||||
android:pathData="M28.9552,5.0515m-5.0551,-0.2753a5.0626,5.0626 48.1178,1 1,10.1101 0.5507a5.0626,5.0626 48.1178,1 1,-10.1101 -0.5507" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="M47.8554,24.029m-5.0551,-0.2753a5.0626,5.0626 48.1178,1 1,10.1101 0.5507a5.0626,5.0626 48.1178,1 1,-10.1101 -0.5507" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="M35.6452,47.8665m-5.0551,-0.2753a5.0626,5.0626 48.1178,1 1,10.1101 0.5507a5.0626,5.0626 48.1178,1 1,-10.1101 -0.5507" />
|
||||
<path
|
||||
android:fillColor="#c5ab63"
|
||||
android:pathData="M9.1946,43.6219m-5.0551,-0.2753a5.0626,5.0626 48.1178,1 1,10.1101 0.5507a5.0626,5.0626 48.1178,1 1,-10.1101 -0.5507" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="M5.0626,17.1614m-5.0551,-0.2753a5.0626,5.0626 48.1178,1 1,10.1101 0.5507a5.0626,5.0626 48.1178,1 1,-10.1101 -0.5507" />
|
||||
</vector>
|
21
app/src/main/res/drawable/fedilab_logo_hero.xml
Normal file
|
@ -0,0 +1,21 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="200dp"
|
||||
android:height="200dp"
|
||||
android:viewportWidth="200"
|
||||
android:viewportHeight="200">
|
||||
<path
|
||||
android:fillColor="#ff8515"
|
||||
android:pathData="m178.232,0.003l0,114.351c0,31.221 -16.179,42.102 -39.505,42.102L21.769,156.456l0,-156.456z" />
|
||||
<path
|
||||
android:fillColor="#ff5615"
|
||||
android:pathData="M178.232,64.017 L107.228,156.46L71.868,156.46Z" />
|
||||
<path
|
||||
android:fillColor="#ffcc16"
|
||||
android:pathData="M178.231,0.002l-156.463,0l0,122.777l0,39.049z" />
|
||||
<path
|
||||
android:fillColor="#ffcc16"
|
||||
android:pathData="M178.231,64.016l-156.463,0l0,122.774l0,13.21z" />
|
||||
<path
|
||||
android:fillColor="#ff5615"
|
||||
android:pathData="m178.232,0.003 l-61.893,64.014l20.254,0z" />
|
||||
</vector>
|
18
app/src/main/res/drawable/fedilab_logo_mastalab.xml
Normal file
|
@ -0,0 +1,18 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="200dp"
|
||||
android:height="200dp"
|
||||
android:viewportWidth="200"
|
||||
android:viewportHeight="200">
|
||||
<path
|
||||
android:fillColor="#c5ab63"
|
||||
android:pathData="m181.304,39.789c-5.267,3.372 -8.631,4.265 -15.516,4.95 0.33,4.524 2.395,9.648 -3.712,14.794 -2.541,2.141 -10.425,1.862 -18.937,-0.964 -8.222,-2.73 -17.437,-7.326 -21.71,-9.69 -5.599,-3.096 -17.625,-4.824 -26.007,-4.573 -7.235,0.217 -26.705,0.917 -36.945,15.177 -10.24,14.26 -7.848,28.444 -7.871,31.518 -6.96,5.665 -24.179,25.226 -28.653,36.934 -4.474,11.709 -8.899,24.463 -6.949,37.316 1.682,11.084 7.38,16.636 16.849,23.322 9.469,6.686 33.512,11.576 62.255,11.423 28.744,-0.153 50.133,-7.908 58.28,-18.309 -10.585,-32.392 -24.102,-58.636 -16.5,-75.525 6.766,-15.033 16.841,-11.471 35.019,-24.271 16.637,-11.715 17.381,-29.274 10.397,-42.099z" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="M154.69,25.012m-11.308,0a11.308,11.308 0,1 1,22.617 0a11.308,11.308 0,1 1,-22.617 0" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="M171.89,7.236m-7.236,0a7.236,7.236 0,1 1,14.472 0a7.236,7.236 0,1 1,-14.472 0" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="M175.955,31.449m-5.856,0a5.856,5.856 0,1 1,11.711 0a5.856,5.856 0,1 1,-11.711 0" />
|
||||
</vector>
|
62
app/src/main/res/drawable/ic_launcher_atom_foreground.xml
Normal file
|
@ -0,0 +1,62 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="1066"
|
||||
android:viewportHeight="1066">
|
||||
<group
|
||||
android:translateX="287.82"
|
||||
android:translateY="297.035">
|
||||
<path android:pathData="m301.21,358.7c5.135,-5.131 8.617,-9.566 11.19,-12.447 2.485,-2.96 3.805,-4.548 3.805,-4.548s-1.8,1.002 -5.179,2.885c-3.33,1.916 -8.262,4.808 -14.492,8.185 -6.154,3.489 -13.764,7.519 -22.438,12.047 -8.748,4.391 -18.56,9.312 -29.465,14.031 -10.808,4.906 -22.743,9.506 -35.369,13.89 -3.931,1.37 -7.971,2.656 -12.055,3.905 -0.81,-0.504 -1.638,-1.019 -2.617,-1.628 -2.376,-1.505 -5.65,-3.395 -8.311,-5.397 -1.457,-1.019 -3,-2.107 -4.621,-3.248 -1.631,-1.166 -3.406,-2.271 -5.125,-3.776 -1.752,-1.436 -3.591,-2.935 -5.486,-4.484 -0.953,-0.777 -1.917,-1.565 -2.907,-2.37 -0.914,-0.864 -1.84,-1.746 -2.776,-2.639 -1.894,-1.791 -3.849,-3.637 -5.841,-5.514 -1.889,-1.978 -3.718,-4.078 -5.656,-6.182 -0.964,-1.062 -1.933,-2.13 -2.912,-3.209 -0.888,-1.142 -1.78,-2.294 -2.683,-3.453 -1.752,-2.36 -3.767,-4.626 -5.41,-7.15 -1.681,-2.53 -3.373,-5.081 -5.075,-7.638 -1.616,-2.622 -3.072,-5.359 -4.626,-8.064 -1.631,-2.678 -2.88,-5.547 -4.249,-8.355 -1.379,-2.817 -2.742,-5.639 -3.843,-8.558 -1.145,-2.896 -2.414,-5.744 -3.438,-8.644 -0.998,-2.919 -1.994,-5.81 -2.962,-8.652 -0.992,-2.84 -1.704,-5.727 -2.546,-8.513 -0.821,-2.797 -1.621,-5.544 -2.239,-8.261 -0.663,-2.716 -1.315,-5.359 -1.934,-7.91 -0.603,-2.569 -1.083,-5.065 -1.593,-7.464 -1.046,-4.785 -1.857,-9.22 -2.541,-13.15 -0.728,-3.931 -1.318,-7.375 -1.746,-10.21 -0.898,-5.685 -1.414,-8.932 -1.414,-8.932s-0.077,3.291 -0.207,9.045c-0.087,2.88 -0.122,6.384 -0.11,10.398 -0.021,4.021 -0.021,8.563 0.153,13.528 0.077,2.485 0.099,5.075 0.231,7.758 0.164,2.684 0.334,5.459 0.504,8.31 0.131,2.869 0.427,5.792 0.749,8.799 0.345,3 0.542,6.094 1.024,9.209 0.476,3.133 0.953,6.312 1.445,9.532 0.515,3.225 1.303,6.455 1.955,9.745 0.607,3.301 1.505,6.574 2.436,9.87 0.931,3.291 1.729,6.653 2.956,9.889 1.155,3.252 2.223,6.569 3.483,9.795 1.374,3.198 2.748,6.384 4.106,9.541 1.341,3.189 3.087,6.133 4.615,9.179 0.794,1.509 1.571,3.004 2.359,4.498 0.876,1.424 1.752,2.842 2.618,4.249 1.762,2.797 3.448,5.611 5.212,8.278 1.889,2.579 3.733,5.104 5.529,7.557 0.903,1.231 1.801,2.451 2.683,3.645 0.947,1.129 1.883,2.24 2.809,3.329 1.867,2.187 3.663,4.298 5.393,6.324 0.164,0.207 0.35,0.385 0.52,0.585 -2.382,0.367 -4.763,0.756 -7.161,1.057 -3.576,0.497 -7.178,0.658 -10.781,1.019 -3.592,0.23 -7.194,0.372 -10.796,0.536 -14.355,0.095 -28.689,-1.274 -41.631,-5.25 -6.45,-1.981 -12.526,-4.555 -18.089,-7.702 -5.374,-3.384 -10.419,-7.03 -14.67,-11.432 -1.046,-1.113 -1.968,-2.321 -2.976,-3.461 -0.482,-0.585 -1.032,-1.128 -1.47,-1.746l-1.276,-1.896c-0.834,-1.274 -1.873,-2.408 -2.582,-3.772l-2.266,-4.006c-0.816,-1.297 -1.268,-2.814 -1.943,-4.211 -0.6,-1.435 -1.339,-2.792 -1.736,-4.329 -0.477,-1.495 -0.961,-2.985 -1.495,-4.463l-0.194,-0.559 -0.098,-0.278c-0.102,-0.44 0.082,0.441 0.049,0.288l-0.044,-0.175 -0.354,-1.395 -0.698,-2.775 -0.698,-2.761 -0.345,-1.38 -0.233,-1.176c-0.32,-1.572 -0.637,-3.133 -0.952,-4.688 -0.364,-1.505 -0.529,-3.248 -0.791,-4.868 -0.238,-1.646 -0.599,-3.284 -0.744,-4.921 -0.838,-6.543 -1.113,-13.015 -1.151,-19.348 0.069,-6.332 0.409,-12.538 1.23,-18.522 0.273,-3.022 0.884,-5.935 1.325,-8.847 0.602,-2.876 1.139,-5.723 1.829,-8.488 2.583,-11.113 6.238,-21.149 9.975,-29.942 3.783,-8.774 7.744,-16.266 11.248,-22.359 3.565,-6.039 6.545,-10.808 8.773,-13.906 2.193,-3.137 3.458,-4.779 3.458,-4.779s-1.817,0.996 -4.996,3.247c-3.147,2.277 -7.774,5.694 -13.144,10.681 -5.39,4.961 -11.577,11.459 -17.9,19.678 -6.262,8.25 -12.68,18.242 -18.076,30.133 -5.464,11.849 -9.765,25.64 -12.067,40.762 -1.133,7.561 -1.623,15.439 -1.647,23.511 0.032,4.062 0.165,8.036 0.553,12.29 0.229,2.14 0.454,4.292 0.684,6.455l0.183,1.62 0.211,1.4 0.429,2.821 0.427,2.825 0.217,1.417 0.027,0.182 0.132,0.635 0.096,0.41 0.188,0.832c0.499,2.208 1.047,4.424 1.61,6.646 0.476,2.234 1.353,4.419 2.108,6.626 0.835,2.188 1.459,4.46 2.516,6.603 3.693,8.782 9.047,17.092 15.451,24.594 6.565,7.392 14.229,13.784 22.572,18.953 8.413,4.979 17.298,8.864 26.346,11.706 18.182,5.32 36.611,6.728 54.125,5.684 4.358,-0.378 8.71,-0.689 12.981,-1.222 4.238,-0.7 8.497,-1.231 12.625,-2.081 4.116,-0.908 8.268,-1.61 12.252,-2.682 3.991,-1.068 7.983,-2.06 11.827,-3.309 15.509,-4.69 29.826,-10.742 42.791,-17.387 12.965,-6.674 24.725,-13.709 34.996,-20.98 10.354,-7.14 19.262,-14.394 26.925,-21.002 7.571,-6.747 13.948,-12.809 18.936,-18.123z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="266.26"
|
||||
android:endY="454.84"
|
||||
android:startX="-36.930004"
|
||||
android:startY="205.87999"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF00F0FE"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0047D6"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m487.32,334.08c-4.479,-18.396 -12.471,-35.066 -22.142,-49.711 -2.506,-3.587 -4.948,-7.196 -7.555,-10.627 -2.716,-3.325 -5.305,-6.745 -8.113,-9.899 -2.837,-3.11 -5.519,-6.346 -8.442,-9.269 -2.919,-2.924 -5.771,-5.888 -8.781,-8.586 -11.815,-11.086 -24.209,-20.46 -36.453,-28.371 -12.252,-7.883 -24.232,-14.558 -35.663,-19.814 -11.354,-5.393 -22.097,-9.477 -31.655,-12.812 -9.62,-3.192 -18.058,-5.677 -25.153,-7.341 -7.008,-1.878 -12.591,-2.678 -16.375,-3.471 -3.805,-0.668 -5.842,-1.024 -5.842,-1.024s1.774,1.062 5.092,3.049c3.318,1.921 8.289,4.753 14.332,8.464 6.095,3.587 13.388,8.152 21.643,13.403 8.187,5.381 17.347,11.421 26.889,18.499 9.646,6.91 19.605,14.953 29.712,23.691 3.152,2.723 6.29,5.58 9.412,8.499 -0.032,0.931 -0.066,1.932 -0.099,3.065 -0.12,2.808 -0.115,6.596 -0.525,9.902 -0.153,1.758 -0.318,3.637 -0.499,5.623 -0.19,1.987 -0.267,4.08 -0.705,6.319 -0.374,2.245 -0.752,4.583 -1.141,6.996 -0.196,1.217 -0.393,2.453 -0.602,3.702 -0.295,1.226 -0.591,2.463 -0.897,3.728 -0.602,2.535 -1.228,5.146 -1.861,7.813 -0.756,2.623 -1.666,5.262 -2.52,7.988 -0.438,1.369 -0.88,2.738 -1.324,4.128 -0.547,1.342 -1.096,2.688 -1.652,4.053 -1.162,2.691 -2.113,5.566 -3.489,8.26 -1.34,2.722 -2.702,5.458 -4.067,8.212 -1.467,2.711 -3.108,5.339 -4.676,8.044 -1.5,2.744 -3.361,5.261 -5.107,7.855 -1.754,2.601 -3.511,5.197 -5.492,7.605 -1.937,2.437 -3.767,4.961 -5.77,7.292 -2.026,2.334 -4.031,4.634 -6.006,6.899 -1.971,2.271 -4.113,4.342 -6.104,6.461 -2.005,2.117 -3.991,4.176 -6.034,6.07 -2.02,1.932 -3.98,3.812 -5.88,5.628 -1.927,1.803 -3.854,3.466 -5.671,5.11 -3.621,3.305 -7.053,6.213 -10.119,8.769 -3.038,2.602 -5.727,4.829 -7.972,6.619 -4.467,3.62 -7.024,5.69 -7.024,5.69s2.885,-1.577 7.935,-4.343c2.539,-1.362 5.584,-3.083 9.066,-5.104 3.492,-1.985 7.424,-4.258 11.639,-6.893 2.107,-1.313 4.341,-2.628 6.592,-4.078 2.246,-1.49 4.566,-3.023 6.954,-4.593 2.419,-1.544 4.806,-3.269 7.249,-5.054 2.423,-1.791 5.003,-3.511 7.456,-5.485 2.476,-1.978 4.992,-3.986 7.533,-6.018 2.541,-2.064 4.939,-4.354 7.463,-6.569 2.558,-2.181 4.945,-4.596 7.329,-7.042 2.388,-2.447 4.897,-4.823 7.085,-7.499 2.247,-2.629 4.578,-5.214 6.745,-7.918 2.081,-2.792 4.162,-5.568 6.209,-8.322 2.093,-2.766 3.768,-5.748 5.64,-8.59 0.909,-1.439 1.817,-2.868 2.716,-4.292 0.798,-1.474 1.587,-2.939 2.377,-4.393 1.543,-2.927 3.13,-5.79 4.555,-8.654 1.29,-2.925 2.555,-5.788 3.789,-8.568 0.613,-1.403 1.215,-2.781 1.817,-4.144 0.493,-1.387 0.984,-2.755 1.472,-4.096 0.958,-2.705 1.889,-5.323 2.774,-7.834 0.102,-0.248 0.16,-0.5 0.248,-0.741 1.512,1.879 3.039,3.74 4.501,5.674 2.218,2.852 4.156,5.88 6.269,8.82 1.993,3.004 3.919,6.043 5.864,9.093 7.253,12.372 13.242,25.474 16.271,38.674 1.505,6.583 2.316,13.126 2.37,19.52 -0.239,6.34 -0.876,12.532 -2.563,18.417 -0.438,1.462 -1.029,2.862 -1.51,4.309 -0.27,0.713 -0.462,1.456 -0.777,2.146l-1.004,2.054c-0.683,1.352 -1.154,2.826 -1.975,4.123l-2.331,3.964c-0.724,1.352 -1.81,2.509 -2.678,3.783 -0.938,1.236 -1.753,2.557 -2.88,3.675 -1.062,1.152 -2.108,2.325 -3.127,3.525l-0.384,0.442 -0.19,0.23c-0.329,0.307 0.344,-0.295 0.225,-0.192l-0.133,0.133 -1.029,0.997 -2.052,1.995 -2.047,1.987 -1.02,0.984 -0.906,0.801c-1.194,1.058 -2.388,2.112 -3.581,3.158 -1.119,1.073 -2.541,2.079 -3.817,3.121 -1.308,1.034 -2.546,2.157 -3.893,3.105 -5.251,3.994 -10.708,7.467 -16.183,10.669 -5.514,3.105 -11.061,5.913 -16.656,8.202 -2.747,1.263 -5.578,2.2 -8.322,3.273 -2.786,0.908 -5.524,1.878 -8.267,2.655 -10.912,3.318 -21.435,5.173 -30.91,6.336 -9.495,1.109 -17.963,1.428 -24.988,1.433 -7.019,-0.061 -12.636,-0.263 -16.438,-0.635 -3.809,-0.339 -5.867,-0.608 -5.867,-0.608s1.775,1.078 5.311,2.705c3.547,1.583 8.813,3.882 15.821,6.038 6.997,2.191 15.713,4.299 25.997,5.668 10.274,1.291 22.14,1.855 35.137,0.579 12.986,-1.187 27.079,-4.357 41.325,-9.919 7.117,-2.803 14.19,-6.318 21.188,-10.332 3.499,-2.063 6.877,-4.162 10.371,-6.624 1.74,-1.271 3.49,-2.547 5.244,-3.822l1.313,-0.97 1.106,-0.881 2.222,-1.785 2.24,-1.785 1.123,-0.893 0.141,-0.113 0.483,-0.433 0.307,-0.291 0.624,-0.574c1.665,-1.54 3.308,-3.122 4.954,-4.719 1.703,-1.529 3.149,-3.378 4.683,-5.136 1.478,-1.823 3.132,-3.499 4.456,-5.48 5.761,-7.596 10.281,-16.382 13.577,-25.683 3.122,-9.373 4.83,-19.212 5.125,-29.018 0.109,-9.777 -0.964,-19.417 -3.033,-28.676z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="355.03"
|
||||
android:endY="346.72998"
|
||||
android:startX="51.839996"
|
||||
android:startY="97.76999"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF00F0FE"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0047D6"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m139.26,240.86c2.053,9.92 4.111,18.478 6.225,25.451 1.877,7.008 3.98,12.247 5.184,15.916 1.331,3.629 2.032,5.568 2.032,5.568s0.032,-2.064 0.098,-5.93c0,-3.84 -0.033,-9.559 0.154,-16.644 0.065,-7.074 0.372,-15.671 0.788,-25.448 0.57,-9.778 1.215,-20.733 2.584,-32.532 1.156,-11.815 3.143,-24.451 5.662,-37.58 0.778,-4.096 1.675,-8.234 2.645,-12.401 0.833,-0.443 1.692,-0.903 2.699,-1.445 2.497,-1.308 5.775,-3.196 8.836,-4.505 1.61,-0.746 3.318,-1.533 5.125,-2.37 1.824,-0.828 3.668,-1.813 5.837,-2.546 2.124,-0.805 4.336,-1.644 6.624,-2.513 1.15,-0.433 2.315,-0.881 3.504,-1.331 1.209,-0.362 2.431,-0.723 3.68,-1.09 2.496,-0.744 5.069,-1.516 7.697,-2.293 2.65,-0.651 5.388,-1.183 8.179,-1.813 1.396,-0.301 2.81,-0.607 4.227,-0.914 1.44,-0.198 2.886,-0.395 4.336,-0.597 2.923,-0.345 5.891,-0.954 8.902,-1.106 3.034,-0.198 6.083,-0.389 9.149,-0.586 3.082,-0.082 6.182,0.028 9.301,0.028 3.133,-0.072 6.242,0.284 9.364,0.498 3.118,0.213 6.251,0.444 9.328,0.954 3.077,0.46 6.177,0.777 9.202,1.346 3.028,0.597 6.028,1.177 8.975,1.757 2.957,0.565 5.813,1.392 8.65,2.055 2.838,0.684 5.612,1.369 8.277,2.189 2.678,0.789 5.289,1.544 7.809,2.277 2.528,0.767 4.927,1.605 7.26,2.355 4.67,1.489 8.913,3.006 12.657,4.379 3.773,1.336 7.047,2.545 9.718,3.592 5.372,2.069 8.438,3.241 8.438,3.241s-2.811,-1.708 -7.731,-4.698c-2.446,-1.516 -5.458,-3.295 -8.946,-5.294 -3.47,-2.031 -7.4,-4.303 -11.787,-6.634 -2.196,-1.178 -4.451,-2.454 -6.839,-3.68 -2.408,-1.2 -4.894,-2.442 -7.446,-3.724 -2.551,-1.319 -5.232,-2.519 -7.993,-3.75 -2.77,-1.2 -5.553,-2.573 -8.496,-3.713 -2.946,-1.16 -5.936,-2.326 -8.968,-3.514 -3.056,-1.166 -6.241,-2.102 -9.416,-3.186 -3.178,-1.118 -6.451,-1.978 -9.769,-2.821 -3.318,-0.848 -6.63,-1.828 -10.042,-2.387 -3.399,-0.624 -6.806,-1.357 -10.226,-1.883 -3.462,-0.41 -6.899,-0.815 -10.315,-1.215 -3.434,-0.432 -6.861,-0.389 -10.254,-0.591 -1.703,-0.066 -3.395,-0.131 -5.075,-0.203 -1.675,0.049 -3.34,0.094 -4.994,0.143 -3.307,0.126 -6.581,0.175 -9.778,0.378 -3.176,0.343 -6.285,0.672 -9.308,1.001 -1.522,0.169 -3.022,0.34 -4.5,0.504 -1.445,0.257 -2.88,0.52 -4.282,0.767 -2.825,0.52 -5.551,1.029 -8.173,1.511 -0.258,0.038 -0.509,0.115 -0.762,0.159 0.865,-2.25 1.719,-4.506 2.661,-6.735 1.358,-3.339 3.012,-6.542 4.5,-9.843 1.61,-3.225 3.273,-6.412 4.943,-9.615 7.091,-12.477 15.446,-24.205 25.367,-33.429 4.938,-4.6 10.204,-8.575 15.713,-11.81 5.612,-2.968 11.289,-5.513 17.236,-6.997 1.478,-0.345 2.989,-0.537 4.487,-0.849 0.745,-0.121 1.484,-0.329 2.247,-0.394l2.275,-0.159c1.517,-0.087 3.024,-0.416 4.557,-0.35 1.538,0.011 3.07,0.027 4.598,0.044 1.54,-0.06 3.077,0.306 4.622,0.422 1.538,0.191 3.088,0.234 4.622,0.656 1.532,0.339 3.065,0.663 4.609,0.941l0.578,0.11 0.298,0.049c0.427,0.137 -0.428,-0.148 -0.273,-0.093l0.168,0.044 1.386,0.394 2.748,0.782 2.737,0.778 1.369,0.389 1.138,0.383c1.522,0.509 3.023,1.017 4.535,1.521 1.488,0.438 3.077,1.167 4.607,1.747 1.547,0.619 3.144,1.123 4.633,1.818 6.089,2.546 11.825,5.546 17.335,8.677 5.446,3.226 10.654,6.625 15.428,10.327 2.474,1.752 4.698,3.733 6.996,5.573 2.189,1.959 4.392,3.844 6.439,5.831 8.327,7.79 15.198,15.97 20.936,23.608 5.716,7.659 10.229,14.837 13.742,20.919 3.456,6.105 6.088,11.065 7.665,14.546 1.608,3.472 2.408,5.383 2.408,5.383s0.043,-2.07 -0.316,-5.952c-0.4,-3.854 -1.041,-9.576 -2.679,-16.72 -1.603,-7.145 -4.133,-15.751 -8.097,-25.338 -4.008,-9.549 -9.45,-20.104 -17.053,-30.726 -7.529,-10.653 -17.319,-21.275 -29.265,-30.828 -5.978,-4.763 -12.559,-9.121 -19.535,-13.184 -3.538,-1.999 -7.04,-3.876 -10.928,-5.667 -1.959,-0.87 -3.94,-1.752 -5.929,-2.634l-1.495,-0.651 -1.314,-0.515 -2.661,-1.04 -2.66,-1.041 -1.337,-0.525 -0.162,-0.065 -0.626,-0.203 -0.399,-0.12 -0.815,-0.252c-2.163,-0.674 -4.358,-1.309 -6.56,-1.938 -2.178,-0.702 -4.5,-1.036 -6.793,-1.479 -2.315,-0.373 -4.593,-0.969 -6.975,-1.122 -9.456,-1.194 -19.321,-0.712 -29.034,1.083 -9.675,1.987 -19.048,5.431 -27.688,10.074 -8.524,4.796 -16.331,10.545 -23.317,16.956 -13.698,13.086 -24.128,28.344 -31.979,44.04 -1.855,3.954 -3.761,7.879 -5.437,11.854 -1.51,4.014 -3.187,7.972 -4.511,11.969 -1.27,4.018 -2.737,7.96 -3.8,11.95 -1.073,3.992 -2.212,7.945 -3.049,11.903 -3.696,15.773 -5.611,31.191 -6.346,45.749 -0.695,14.558 -0.487,28.267 0.679,40.792 1.008,12.536 2.837,23.881 4.725,33.83z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="402.56"
|
||||
android:endY="288.84998"
|
||||
android:startX="99.369995"
|
||||
android:startY="39.88999"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF00F0FE"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0047D6"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
</group>
|
||||
</vector>
|
20
app/src/main/res/drawable/ic_launcher_bubbles_foreground.xml
Normal file
|
@ -0,0 +1,20 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="401.51514"
|
||||
android:viewportHeight="401.51514">
|
||||
<group
|
||||
android:translateX="100.757576"
|
||||
android:translateY="100.757576">
|
||||
<path
|
||||
android:fillAlpha="1"
|
||||
android:fillColor="#2c93c4"
|
||||
android:pathData="m125.591,69.491c-3.922,-0.021 -8.297,2.377 -10.169,5.724 0,0 -3.554,6.361 -10.894,9.348 -6.002,2.438 -10.463,1.673 -10.463,1.673 -4.17,-0.72 -9.327,1.684 -11.462,5.338l-7.162,12.265c-2.163,3.738 -3.625,8.641 2.234,8.641h4.988c4.822,0 10.839,-3.358 13.368,-7.467 0,0 4.556,-7.396 13.546,-7.582 10.461,-0.216 19.115,8.09 19.331,18.546 0.212,10.461 -8.092,19.115 -18.553,19.328 -9.258,0.19 -14.229,-7.647 -14.229,-7.647 -2.581,-4.069 -8.642,-7.404 -13.463,-7.404l-12.239,0.078c-2.32,0.105 -4.742,0.637 -6.397,3.053l-4.524,7.748c-0.553,0.952 -1.115,1.907 -1.672,2.86 -2.133,3.65 -7.277,5.985 -11.431,5.183 0,0 -6.85,-1.327 -14.053,1.602 -14.934,6.071 -22.117,23.103 -16.048,38.035 6.073,14.937 23.104,22.119 38.039,16.048 14.935,-6.071 22.119,-23.103 16.046,-38.036 -1.785,-4.392 -2.671,-5.355 -2.671,-5.355 -2.862,-3.115 -3.458,-8.654 -1.323,-12.304l0.653,-1.675c20.191,14.881 47.402,19.238 72.339,9.097 29.874,-12.144 47.597,-41.465 46.422,-71.931l-7.399,-0.678c0,0 -2.711,0.56 -4.331,2.231 -0.282,0.456 -0.576,0.899 -0.895,1.329h-0.004c-0.095,0.24 -0.251,0.409 -0.423,0.547 -1.954,2.443 -4.539,4.435 -7.647,5.699 -4.535,1.846 -9.368,1.805 -13.631,0.246 -0.006,-0.002 -0.011,-0.004 -0.016,-0.005 0,-0 0,-0 -0.003,-0.001 -0.051,-0.019 -0.101,-0.041 -0.152,-0.06 -0.232,-0.088 -0.465,-0.176 -0.693,-0.273 -0.279,-0.118 -0.554,-0.241 -0.827,-0.372 0,-0 0,-0.001 -0.003,-0.001 -0.273,-0.131 -0.543,-0.268 -0.809,-0.411 0,-0 0,-0.001 -0.003,-0.001 -0.266,-0.144 -0.529,-0.294 -0.789,-0.45 0,-0 0,-0.001 -0.003,-0.001 -0.259,-0.156 -0.516,-0.319 -0.768,-0.488 -0,-0 0,-0 0,-0.001 -0.252,-0.169 -0.501,-0.345 -0.745,-0.526 0,-0 0,-0.001 -0.003,-0.001 -0.244,-0.181 -0.484,-0.369 -0.72,-0.562 0,-0 0,-0.001 -0.003,-0.001 -0.16,-0.132 -0.315,-0.27 -0.472,-0.407 -0.074,-0.065 -0.15,-0.126 -0.223,-0.192 -0.227,-0.205 -0.449,-0.416 -0.666,-0.633 -0.218,-0.217 -0.431,-0.44 -0.639,-0.669 0,-0 0,-0.001 0,-0.001 -0.415,-0.457 -0.809,-0.937 -1.181,-1.439 -0.186,-0.251 -0.367,-0.508 -0.541,-0.77 0,-0 0,-0.001 0,-0.001 -0.698,-1.047 -1.303,-2.18 -1.795,-3.391l-0.263,-0.649c-0.014,-0.045 -0.041,-0.092 -0.081,-0.139 -0.064,-0.076 -0.168,-0.156 -0.293,-0.237 -0.031,-0.02 -0.056,-0.04 -0.09,-0.06 -0.087,-0.052 -0.185,-0.104 -0.294,-0.157 0,-0 0,-0.001 -0.003,-0.001 -0.108,-0.053 -0.228,-0.106 -0.356,-0.159 -0.517,-0.215 -1.191,-0.437 -1.977,-0.651 -0,-0 0,-0.001 0,-0.001 -0.196,-0.053 -0.4,-0.106 -0.609,-0.158 0,-0 0,-0.001 0,-0.001 -0.009,-0.002 -0.019,-0.004 -0.028,-0.007 -0.402,-0.1 -0.828,-0.197 -1.272,-0.291 -0.01,-0.002 -0.02,-0.004 -0.03,-0.007 -0.931,-0.195 -1.941,-0.374 -2.987,-0.522l-5.347,-0.759c-0.393,-0.056 -0.793,-0.084 -1.199,-0.086z"
|
||||
android:strokeWidth="0.26458332" />
|
||||
<path
|
||||
android:fillAlpha="1"
|
||||
android:fillColor="#12d663"
|
||||
android:pathData="m73.084,74.257c0,0 0,0 -1.455,-3.572 -5.252,-12.916 0.962,-27.646 13.878,-32.896 12.916,-5.254 27.645,0.959 32.896,13.878 0.917,2.252 0.917,2.252 0.917,2.252 0.441,2.54 4.228,5.101 8.42,5.693l4.327,0.611c4.189,0.594 9.238,-1.98 11.217,-5.719 0,0 1.85,-3.497 7.552,-5.814 9.691,-3.94 20.74,0.722 24.683,10.411 0.246,0.611 0.458,1.225 0.64,1.843 0.644,1.431 1.815,2.163 2.978,2.536l5.481,0.501C183.71,59.102 182.296,54.241 180.356,49.464 164.85,11.328 121.364,-7.016 83.231,8.492 45.096,23.995 26.751,67.479 42.257,105.616c2.643,6.506 6.121,12.419 10.229,17.703l21.562,-36.92c2.131,-3.654 1.701,-9.118 -0.964,-12.142z"
|
||||
android:strokeWidth="0.26458332" />
|
||||
</group>
|
||||
</vector>
|
317
app/src/main/res/drawable/ic_launcher_crash_foreground.xml
Normal file
|
@ -0,0 +1,317 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="1054.6123"
|
||||
android:viewportHeight="1054.6123">
|
||||
<group
|
||||
android:translateX="301.85114"
|
||||
android:translateY="268.92612">
|
||||
<path android:pathData="m81.964,235.21c-6.988,0 -12.642,-5.66 -12.642,-12.642v-54.384c0,-6.981 5.654,-12.642 12.642,-12.642 6.976,0 12.643,5.661 12.643,12.642v54.384c0,6.982 -5.667,12.642 -12.643,12.642z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="87.96"
|
||||
android:endY="203.71"
|
||||
android:startX="309.21"
|
||||
android:startY="511.36"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m81.977,180.83c-4.371,0 -8.618,-2.265 -10.963,-6.321 -3.494,-6.043 -1.42,-13.778 4.629,-17.272l143.5,-82.853c6.037,-3.494 13.766,-1.42 17.272,4.63 3.48,6.043 1.419,13.777 -4.63,17.271l-143.5,82.853c-1.987,1.148 -4.172,1.692 -6.308,1.692z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="167.76999"
|
||||
android:endY="146.31"
|
||||
android:startX="389.03"
|
||||
android:startY="453.97"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m374.5,179.62c-2.049,0 -4.136,-0.5 -6.062,-1.555l-149.05,-81.644c-6.124,-3.352 -8.371,-11.037 -5.013,-17.161 3.346,-6.124 11.025,-8.364 17.161,-5.012l149.05,81.643c6.124,3.352 8.371,11.037 5.013,17.161 -2.295,4.197 -6.629,6.568 -11.098,6.568z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="264.47"
|
||||
android:endY="76.77"
|
||||
android:startX="485.69998"
|
||||
android:startY="384.38"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m374.51,262.48c-6.976,0 -12.643,-5.66 -12.643,-12.642v-82.859c0,-6.981 5.667,-12.642 12.643,-12.642 6.987,0 12.642,5.661 12.642,12.642v82.859c0,6.981 -5.655,12.642 -12.642,12.642z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="274.6"
|
||||
android:endY="69.48"
|
||||
android:startX="495.83"
|
||||
android:startY="377.1"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m168.66,213.14c-4.395,0 -8.667,-2.296 -11,-6.395 -3.444,-6.068 -1.333,-13.784 4.741,-17.235l56.815,-32.309c6.062,-3.457 13.79,-1.327 17.235,4.741 3.443,6.068 1.333,13.784 -4.741,17.235l-56.816,32.309c-1.962,1.123 -4.109,1.654 -6.234,1.654z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="169.04"
|
||||
android:endY="145.4"
|
||||
android:startX="390.29"
|
||||
android:startY="453.04"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m168.64,287.27c-6.976,0 -12.643,-5.66 -12.643,-12.643v-74.13c0,-6.982 5.667,-12.642 12.643,-12.642 6.987,0 12.642,5.66 12.642,12.642v74.13c-0.001,6.982 -5.655,12.643 -12.642,12.643z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="125.09"
|
||||
android:endY="177.01"
|
||||
android:startX="346.33"
|
||||
android:startY="484.63"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m168.64,483.97c-6.976,0 -12.643,-5.66 -12.643,-12.642v-270.83c0,-6.982 5.667,-12.642 12.643,-12.642 6.987,0 12.642,5.66 12.642,12.642v270.83c-0.001,6.981 -5.655,12.641 -12.642,12.641z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="78.46999"
|
||||
android:endY="210.53"
|
||||
android:startX="299.72"
|
||||
android:startY="518.16"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m321.39,287.27h-237.97c-6.988,0 -12.643,-5.66 -12.643,-12.643 0,-6.981 5.655,-12.642 12.643,-12.642h237.97c6.975,0 12.642,5.66 12.642,12.642s-5.667,12.643 -12.642,12.643z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="129.76999"
|
||||
android:endY="173.64"
|
||||
android:startX="351.01"
|
||||
android:startY="481.27"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m321.39,374.34c-6.988,0 -12.643,-5.66 -12.643,-12.642v-87.076c0,-6.981 5.654,-12.642 12.643,-12.642 6.975,0 12.642,5.66 12.642,12.642v87.076c0,6.982 -5.667,12.642 -12.642,12.642z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="187.56"
|
||||
android:endY="132.09"
|
||||
android:startX="408.79"
|
||||
android:startY="439.7"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m321.39,374.34h-308.75c-6.975,0 -12.642,-5.66 -12.642,-12.642s5.667,-12.643 12.642,-12.643h308.75c6.975,0 12.642,5.66 12.642,12.643 0,6.982 -5.667,12.642 -12.642,12.642z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="65.17999"
|
||||
android:endY="220.1"
|
||||
android:startX="286.41"
|
||||
android:startY="527.72"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m225.47,516.76c-4.371,0 -8.618,-2.266 -10.963,-6.321 -3.494,-6.043 -1.419,-13.777 4.63,-17.271l212.81,-122.87c6.037,-3.5 13.778,-1.414 17.271,4.63 3.494,6.049 1.42,13.777 -4.629,17.271l-212.81,122.87c-1.988,1.149 -4.172,1.692 -6.309,1.692z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="135.44"
|
||||
android:endY="169.57"
|
||||
android:startX="356.68"
|
||||
android:startY="477.19"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m438.27,393.89c-6.976,0 -12.643,-5.66 -12.643,-12.643v-245.73c0,-6.981 5.667,-12.643 12.643,-12.643 6.987,0 12.642,5.661 12.642,12.643v245.73c-0.001,6.982 -5.655,12.643 -12.642,12.643z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="292.93"
|
||||
android:endY="56.3"
|
||||
android:startX="514.17"
|
||||
android:startY="363.93"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m438.25,148.16c-2.136,0 -4.309,-0.543 -6.309,-1.691l-212.8,-122.87c-6.049,-3.494 -8.124,-11.229 -4.63,-17.271 3.494,-6.043 11.198,-8.124 17.272,-4.63l212.81,122.87c6.049,3.494 8.123,11.223 4.629,17.272 -2.346,4.055 -6.592,6.321 -10.963,6.321z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="310.16"
|
||||
android:endY="43.91"
|
||||
android:startX="531.39"
|
||||
android:startY="351.53"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m12.655,148.16c-4.37,0 -8.617,-2.266 -10.963,-6.321 -3.481,-6.049 -1.42,-13.778 4.629,-17.272l212.82,-122.87c6.037,-3.494 13.766,-1.414 17.272,4.63 3.48,6.043 1.419,13.778 -4.63,17.271l-212.82,122.87c-1.987,1.148 -4.16,1.692 -6.308,1.692z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="169.9"
|
||||
android:endY="144.8"
|
||||
android:startX="391.16998"
|
||||
android:startY="452.47"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m12.642,374.34c-6.975,0 -12.642,-5.66 -12.642,-12.642v-226.18c0,-6.981 5.667,-12.643 12.642,-12.643 6.988,0 12.643,5.661 12.643,12.643v226.18c-0.001,6.981 -5.655,12.641 -12.643,12.641z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="17.039997"
|
||||
android:endY="254.72"
|
||||
android:startX="238.28"
|
||||
android:startY="562.35"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m168.63,483.97c-2.086,0 -4.197,-0.513 -6.148,-1.604l-85.223,-47.568c-6.099,-3.402 -8.284,-11.1 -4.876,-17.198 3.395,-6.105 11.099,-8.29 17.197,-4.877l85.224,47.569c6.099,3.4 8.284,11.099 4.877,17.197 -2.31,4.148 -6.619,6.481 -11.051,6.481z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="-2.5300035"
|
||||
android:endY="268.78"
|
||||
android:startX="218.72"
|
||||
android:startY="576.42"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m374.5,262.48c-2.049,0 -4.136,-0.5 -6.062,-1.555l-149.05,-81.649c-6.124,-3.353 -8.371,-11.038 -5.013,-17.161 3.346,-6.124 11.025,-8.37 17.161,-5.013l149.05,81.649c6.124,3.352 8.371,11.037 5.013,17.161 -2.295,4.197 -6.629,6.568 -11.098,6.568z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="225.19"
|
||||
android:endY="105.01"
|
||||
android:startX="446.43"
|
||||
android:startY="412.64"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path android:pathData="m83.421,436.4c-6.988,0 -12.643,-5.661 -12.643,-12.643v-149.13c0,-6.981 5.655,-12.642 12.643,-12.642 6.976,0 12.642,5.66 12.642,12.642v149.13c0,6.981 -5.666,12.642 -12.642,12.642z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="16.009996"
|
||||
android:endY="255.46"
|
||||
android:startX="237.23999"
|
||||
android:startY="563.09"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#FF3088D4"
|
||||
android:offset="0" />
|
||||
<item
|
||||
android:color="#FF0DE350"
|
||||
android:offset="1" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
</group>
|
||||
</vector>
|
|
@ -0,0 +1,70 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="426.75806"
|
||||
android:viewportHeight="426.75806">
|
||||
<group
|
||||
android:translateX="81.08403"
|
||||
android:translateY="81.08403">
|
||||
<path
|
||||
android:fillColor="#c5ab63"
|
||||
android:pathData="m70.933,100.886a21.594,21.594 0,0 1,-9.236 9.193l50.703,50.901 12.224,-6.195zM137.808,168.022 L125.584,174.216 151.275,200.007a21.594,21.594 0,0 1,9.237 -9.194z"
|
||||
android:strokeWidth="1.562428" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="m196.481,121.027 l-28.704,14.547 2.116,13.537 32.477,-16.46a21.594,21.594 0,0 1,-5.89 -11.624zM151.115,144.018 L83.248,178.413a21.594,21.594 0,0 1,5.891 11.625l64.093,-32.483z"
|
||||
android:strokeWidth="1.562428" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="m129.263,59.294 l-32.748,63.932 9.669,9.706 34.674,-67.689A21.594,21.594 0,0 1,129.263 59.294ZM87.997,139.857 L71.409,172.24a21.594,21.594 0,0 1,11.593 5.949l14.663,-28.626z"
|
||||
android:strokeWidth="1.562428" />
|
||||
<path
|
||||
android:fillColor="#c5ac64"
|
||||
android:pathData="m61.425,110.221a21.594,21.594 0,0 1,-10.788 2.255,21.594 21.594,0 0,1 -2.085,-0.218l9.686,61.956a21.594,21.594 0,0 1,10.788 -2.255,21.594 21.594,0 0,1 2.083,0.218z"
|
||||
android:strokeWidth="1.562428" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="m89.164,190.345a21.594,21.594 0,0 1,0.226 4.35,21.594 21.594,0 0,1 -2.278,8.519l61.943,9.94a21.594,21.594 0,0 1,-0.227 -4.35,21.594 21.594,0 0,1 2.279,-8.519z"
|
||||
android:strokeWidth="1.562428" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="m202.558,132.879 l-28.592,55.817a21.594,21.594 0,0 1,11.595 5.95l28.591,-55.817a21.594,21.594 0,0 1,-11.595 -5.95z"
|
||||
android:strokeWidth="1.562428" />
|
||||
<path
|
||||
android:fillColor="#c5ac64"
|
||||
android:pathData="m163.575,53.933a21.594,21.594 0,0 1,-9.237 9.194l44.279,44.448a21.594,21.594 0,0 1,9.236 -9.194z"
|
||||
android:strokeWidth="1.562428" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="M123.145,47.442 L67.171,75.808a21.594,21.594 0,0 1,5.89 11.624L129.035,59.065a21.594,21.594 0,0 1,-5.89 -11.623z"
|
||||
android:strokeWidth="1.562428" />
|
||||
<path
|
||||
android:fillColor="#c5ac64"
|
||||
android:pathData="m154.232,63.176a21.594,21.594 0,0 1,-10.965 2.345,21.594 21.594,0 0,1 -1.89,-0.198l4.958,31.749 13.529,2.171zM149.217,115.529 L160.94,190.593a21.594,21.594 0,0 1,10.63 -2.176,21.594 21.594,0 0,1 2.259,0.248L162.747,117.701Z"
|
||||
android:strokeWidth="1.562428" />
|
||||
<path
|
||||
android:fillColor="#c5ab63"
|
||||
android:pathData="m73.124,87.67a21.594,21.594 0,0 1,0.238 4.418,21.594 21.594,0 0,1 -2.244,8.457l31.773,5.103 6.245,-12.195zM127.58,96.415 L121.335,108.612 196.407,120.669a21.594,21.594 0,0 1,-0.218 -4.3,21.594 21.594,0 0,1 2.304,-8.564z"
|
||||
android:strokeWidth="1.562428" />
|
||||
<path
|
||||
android:fillColor="#c5ac64"
|
||||
android:pathData="M144.454,43.96m-19.601,-1.068a19.63,19.63 48.118,1 1,39.203 2.135a19.63,19.63 48.118,1 1,-39.203 -2.135"
|
||||
android:strokeWidth="1.562428" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="M217.741,117.547m-19.601,-1.068a19.63,19.63 48.118,1 1,39.203 2.135a19.63,19.63 48.118,1 1,-39.203 -2.135"
|
||||
android:strokeWidth="1.562428" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="M170.395,209.979m-19.601,-1.068a19.63,19.63 48.118,1 1,39.203 2.135a19.63,19.63 48.118,1 1,-39.203 -2.135"
|
||||
android:strokeWidth="1.562428" />
|
||||
<path
|
||||
android:fillColor="#c5ab63"
|
||||
android:pathData="M67.831,193.52m-19.601,-1.068a19.63,19.63 48.118,1 1,39.203 2.135a19.63,19.63 48.118,1 1,-39.203 -2.135"
|
||||
android:strokeWidth="1.562428" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="M51.808,90.917m-19.601,-1.068a19.63,19.63 48.118,1 1,39.203 2.135a19.63,19.63 48.118,1 1,-39.203 -2.135"
|
||||
android:strokeWidth="1.562428" />
|
||||
</group>
|
||||
</vector>
|
25
app/src/main/res/drawable/ic_launcher_hero_foreground.xml
Normal file
|
@ -0,0 +1,25 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="1402.7397"
|
||||
android:viewportHeight="1402.7397">
|
||||
<group
|
||||
android:translateX="189.36986"
|
||||
android:translateY="189.36986">
|
||||
<path
|
||||
android:fillColor="#ff8515"
|
||||
android:pathData="m748.72,209.73v345.64c0,94.37 -48.9,127.26 -119.41,127.26h-353.52v-472.91z" />
|
||||
<path
|
||||
android:fillColor="#ff5615"
|
||||
android:pathData="m748.72,403.22 l-214.62,279.42h-106.88z" />
|
||||
<path
|
||||
android:fillColor="#ffcc16"
|
||||
android:pathData="M275.79,209.73l0,371.11l0,118.03l472.93,-489.14z" />
|
||||
<path
|
||||
android:fillColor="#ffcc16"
|
||||
android:pathData="M275.79,403.22l0,371.1l0,39.93l472.93,-411.03z" />
|
||||
<path
|
||||
android:fillColor="#ff5615"
|
||||
android:pathData="m748.72,209.73 l-187.08,193.49h61.22z" />
|
||||
</group>
|
||||
</vector>
|
|
@ -0,0 +1,30 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="517.1717"
|
||||
android:viewportHeight="517.1717">
|
||||
<group
|
||||
android:translateX="2.5858586"
|
||||
android:translateY="2.5858586">
|
||||
<path
|
||||
android:fillAlpha="0.19672002"
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M339.418,136.372 L326.506,148.59 512,339.305v-25.494z" />
|
||||
<path
|
||||
android:fillAlpha="0.19607999"
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M343.014,167.117 L512,340.461V512H301.695L149.102,355.406c43.295,-87.069 65.323,-115.744 100.505,-124.307 35.178,-8.558 85.337,-14.379 83.991,-24.358l-31.855,-32.89 19.746,-19.527 19.745,20.301z" />
|
||||
<path
|
||||
android:fillColor="#c5ab63"
|
||||
android:pathData="m344.593,182.538c-6.47,4.143 -10.602,5.239 -19.061,6.081 0.405,5.558 2.943,11.852 -4.561,18.174 -3.121,2.63 -12.807,2.287 -23.263,-1.184 -10.1,-3.353 -21.42,-9 -26.669,-11.903 -6.878,-3.803 -21.651,-5.926 -31.948,-5.617 -8.887,0.267 -32.805,1.126 -45.384,18.644 -12.579,17.517 -9.641,34.941 -9.669,38.718 -8.55,6.959 -29.702,30.988 -35.198,45.371 -5.496,14.383 -10.932,30.051 -8.536,45.84 2.066,13.617 9.066,20.436 20.698,28.649 11.632,8.214 41.167,14.22 76.477,14.032 35.31,-0.188 61.585,-9.715 71.593,-22.492 -13.003,-39.792 -29.608,-72.031 -20.269,-92.778 8.312,-18.468 20.687,-14.091 43.019,-29.815 20.437,-14.391 21.352,-35.961 12.771,-51.716z" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="M311.899,164.385m-13.892,0a13.892,13.892 0,1 1,27.783 0a13.892,13.892 0,1 1,-27.783 0" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="M333.028,142.548m-8.889,0a8.889,8.889 0,1 1,17.778 0a8.889,8.889 0,1 1,-17.778 0" />
|
||||
<path
|
||||
android:fillColor="#0a9ee6"
|
||||
android:pathData="M338.021,172.293m-7.193,0a7.193,7.193 0,1 1,14.387 0a7.193,7.193 0,1 1,-14.387 0" />
|
||||
</group>
|
||||
</vector>
|
5
app/src/main/res/mipmap-anydpi-v26/ic_launcher_atom.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_atom_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_atom_foreground" />
|
||||
</adaptive-icon>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_atom_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_atom_foreground" />
|
||||
</adaptive-icon>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_bubbles_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_bubbles_foreground" />
|
||||
</adaptive-icon>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_bubbles_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_bubbles_foreground" />
|
||||
</adaptive-icon>
|
5
app/src/main/res/mipmap-anydpi-v26/ic_launcher_crash.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_crash_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_crash_foreground" />
|
||||
</adaptive-icon>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_crash_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_crash_foreground" />
|
||||
</adaptive-icon>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_fediverse_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_fediverse_foreground" />
|
||||
</adaptive-icon>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_fediverse_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_fediverse_foreground" />
|
||||
</adaptive-icon>
|
5
app/src/main/res/mipmap-anydpi-v26/ic_launcher_hero.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_hero_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_hero_foreground" />
|
||||
</adaptive-icon>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_hero_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_hero_foreground" />
|
||||
</adaptive-icon>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_mastalab_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_mastalab_foreground" />
|
||||
</adaptive-icon>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_mastalab_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_mastalab_foreground" />
|
||||
</adaptive-icon>
|
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_atom.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_atom_round.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_bubbles.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_bubbles_round.png
Normal file
After Width: | Height: | Size: 4 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_crash.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_crash_round.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_fediverse.png
Normal file
After Width: | Height: | Size: 3 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_fediverse_round.png
Normal file
After Width: | Height: | Size: 5 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_hero.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_hero_round.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_mastalab.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_mastalab_round.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_atom.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_atom_round.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_bubbles.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_bubbles_round.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_crash.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_crash_round.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_fediverse.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_fediverse_round.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_hero.png
Normal file
After Width: | Height: | Size: 901 B |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_hero_round.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_mastalab.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_mastalab_round.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_atom.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_atom_round.png
Normal file
After Width: | Height: | Size: 6.8 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_bubbles.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_bubbles_round.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_crash.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_crash_round.png
Normal file
After Width: | Height: | Size: 7.6 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_fediverse.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_fediverse_round.png
Normal file
After Width: | Height: | Size: 6.9 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_hero.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_hero_round.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_mastalab.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_mastalab_round.png
Normal file
After Width: | Height: | Size: 5 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher_atom.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher_atom_round.png
Normal file
After Width: | Height: | Size: 11 KiB |