Changes icons with vectors
|
@ -195,28 +195,28 @@ public abstract class BaseMainActivity extends AppCompatActivity
|
||||||
@SuppressWarnings("ConstantConditions") @SuppressLint("CutPasteId")
|
@SuppressWarnings("ConstantConditions") @SuppressLint("CutPasteId")
|
||||||
ImageView iconHome = tabHome.getCustomView().findViewById(R.id.tab_icon);
|
ImageView iconHome = tabHome.getCustomView().findViewById(R.id.tab_icon);
|
||||||
iconHome.setColorFilter(ContextCompat.getColor(getApplicationContext(), R.color.dark_text), PorterDuff.Mode.SRC_IN);
|
iconHome.setColorFilter(ContextCompat.getColor(getApplicationContext(), R.color.dark_text), PorterDuff.Mode.SRC_IN);
|
||||||
iconHome.setImageResource(R.drawable.ic_action_home_tl);
|
iconHome.setImageResource(R.drawable.ic_home);
|
||||||
|
|
||||||
@SuppressWarnings("ConstantConditions") @SuppressLint("CutPasteId")
|
@SuppressWarnings("ConstantConditions") @SuppressLint("CutPasteId")
|
||||||
ImageView iconNotif = tabNotif.getCustomView().findViewById(R.id.tab_icon);
|
ImageView iconNotif = tabNotif.getCustomView().findViewById(R.id.tab_icon);
|
||||||
iconNotif.setColorFilter(ContextCompat.getColor(getApplicationContext(), R.color.dark_text), PorterDuff.Mode.SRC_IN);
|
iconNotif.setColorFilter(ContextCompat.getColor(getApplicationContext(), R.color.dark_text), PorterDuff.Mode.SRC_IN);
|
||||||
iconNotif.setImageResource(R.drawable.ic_notifications_tl);
|
iconNotif.setImageResource(R.drawable.ic_notifications);
|
||||||
|
|
||||||
|
|
||||||
@SuppressWarnings("ConstantConditions") @SuppressLint("CutPasteId")
|
@SuppressWarnings("ConstantConditions") @SuppressLint("CutPasteId")
|
||||||
ImageView iconLocal = tabLocal.getCustomView().findViewById(R.id.tab_icon);
|
ImageView iconLocal = tabLocal.getCustomView().findViewById(R.id.tab_icon);
|
||||||
iconLocal.setColorFilter(ContextCompat.getColor(getApplicationContext(), R.color.dark_text), PorterDuff.Mode.SRC_IN);
|
iconLocal.setColorFilter(ContextCompat.getColor(getApplicationContext(), R.color.dark_text), PorterDuff.Mode.SRC_IN);
|
||||||
iconLocal.setImageResource(R.drawable.ic_action_users_tl);
|
iconLocal.setImageResource(R.drawable.ic_people);
|
||||||
|
|
||||||
@SuppressWarnings("ConstantConditions") @SuppressLint("CutPasteId")
|
@SuppressWarnings("ConstantConditions") @SuppressLint("CutPasteId")
|
||||||
ImageView iconGlobal = tabPublic.getCustomView().findViewById(R.id.tab_icon);
|
ImageView iconGlobal = tabPublic.getCustomView().findViewById(R.id.tab_icon);
|
||||||
iconGlobal.setColorFilter(ContextCompat.getColor(getApplicationContext(), R.color.dark_text), PorterDuff.Mode.SRC_IN);
|
iconGlobal.setColorFilter(ContextCompat.getColor(getApplicationContext(), R.color.dark_text), PorterDuff.Mode.SRC_IN);
|
||||||
iconGlobal.setImageResource(R.drawable.ic_action_globe_tl);
|
iconGlobal.setImageResource(R.drawable.ic_public);
|
||||||
|
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_action_home_tl,R.color.dark_text);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_home,R.color.dark_text);
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_notifications_tl,R.color.dark_text);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_notifications,R.color.dark_text);
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_action_users_tl,R.color.dark_text);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_people,R.color.dark_text);
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_action_globe_tl,R.color.dark_text);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_public,R.color.dark_text);
|
||||||
|
|
||||||
tabLayout.setTabGravity(TabLayout.GRAVITY_FILL);
|
tabLayout.setTabGravity(TabLayout.GRAVITY_FILL);
|
||||||
tabLayout.setTabMode(TabLayout.MODE_FIXED);
|
tabLayout.setTabMode(TabLayout.MODE_FIXED);
|
||||||
|
@ -982,9 +982,9 @@ public abstract class BaseMainActivity extends AppCompatActivity
|
||||||
if( theme == Helper.THEME_DARK){
|
if( theme == Helper.THEME_DARK){
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_reply,R.color.dark_icon);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_reply,R.color.dark_icon);
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_action_more,R.color.dark_icon);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_action_more,R.color.dark_icon);
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_action_globe,R.color.dark_icon);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_public,R.color.dark_icon);
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_action_lock_open,R.color.dark_icon);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_action_lock_open,R.color.dark_icon);
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_action_lock_closed,R.color.dark_icon);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_lock_outline,R.color.dark_icon);
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_mail_outline,R.color.dark_icon);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_mail_outline,R.color.dark_icon);
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_retweet,R.color.dark_icon);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_retweet,R.color.dark_icon);
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_favorite_border,R.color.dark_icon);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_favorite_border,R.color.dark_icon);
|
||||||
|
@ -994,9 +994,9 @@ public abstract class BaseMainActivity extends AppCompatActivity
|
||||||
}else {
|
}else {
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_reply,R.color.black);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_reply,R.color.black);
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_action_more,R.color.black);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_action_more,R.color.black);
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_action_globe,R.color.black);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_public,R.color.black);
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_action_lock_open,R.color.black);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_action_lock_open,R.color.black);
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_action_lock_closed,R.color.black);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_lock_outline,R.color.black);
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_mail_outline,R.color.black);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_mail_outline,R.color.black);
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_retweet,R.color.black);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_retweet,R.color.black);
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_favorite_border,R.color.black);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_favorite_border,R.color.black);
|
||||||
|
|
|
@ -401,9 +401,9 @@ public class ShowAccountActivity extends AppCompatActivity implements OnPostActi
|
||||||
final SharedPreferences sharedpreferences = getSharedPreferences(Helper.APP_PREFS, Context.MODE_PRIVATE);
|
final SharedPreferences sharedpreferences = getSharedPreferences(Helper.APP_PREFS, Context.MODE_PRIVATE);
|
||||||
int theme = sharedpreferences.getInt(Helper.SET_THEME, Helper.THEME_DARK);
|
int theme = sharedpreferences.getInt(Helper.SET_THEME, Helper.THEME_DARK);
|
||||||
if( theme == Helper.THEME_DARK){
|
if( theme == Helper.THEME_DARK){
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_action_lock_closed,R.color.mastodonC4);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_lock_outline,R.color.mastodonC4);
|
||||||
}else {
|
}else {
|
||||||
changeDrawableColor(getApplicationContext(), R.drawable.ic_action_lock_closed,R.color.mastodonC4);
|
changeDrawableColor(getApplicationContext(), R.drawable.ic_lock_outline,R.color.mastodonC4);
|
||||||
}
|
}
|
||||||
String urlHeader = account.getHeader();
|
String urlHeader = account.getHeader();
|
||||||
if (urlHeader.startsWith("/")) {
|
if (urlHeader.startsWith("/")) {
|
||||||
|
@ -439,7 +439,7 @@ public class ShowAccountActivity extends AppCompatActivity implements OnPostActi
|
||||||
//Redraws icon for locked accounts
|
//Redraws icon for locked accounts
|
||||||
final float scale = getResources().getDisplayMetrics().density;
|
final float scale = getResources().getDisplayMetrics().density;
|
||||||
if(account.isLocked()){
|
if(account.isLocked()){
|
||||||
Drawable img = ContextCompat.getDrawable(getApplicationContext(), R.drawable.ic_action_lock_closed);
|
Drawable img = ContextCompat.getDrawable(getApplicationContext(), R.drawable.ic_lock_outline);
|
||||||
img.setBounds(0,0,(int) (20 * scale + 0.5f),(int) (20 * scale + 0.5f));
|
img.setBounds(0,0,(int) (20 * scale + 0.5f),(int) (20 * scale + 0.5f));
|
||||||
account_dn.setCompoundDrawables( img, null, null, null);
|
account_dn.setCompoundDrawables( img, null, null, null);
|
||||||
}else{
|
}else{
|
||||||
|
|
|
@ -213,7 +213,7 @@ public class TootActivity extends AppCompatActivity implements OnRetrieveSearcAc
|
||||||
pp_progress = actionBar.getCustomView().findViewById(R.id.pp_progress);
|
pp_progress = actionBar.getCustomView().findViewById(R.id.pp_progress);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
changeColor();
|
||||||
//By default the toot is not restored so the id -1 is defined
|
//By default the toot is not restored so the id -1 is defined
|
||||||
currentToId = -1;
|
currentToId = -1;
|
||||||
boolean restoredScheduled = false;
|
boolean restoredScheduled = false;
|
||||||
|
@ -429,13 +429,13 @@ public class TootActivity extends AppCompatActivity implements OnRetrieveSearcAc
|
||||||
if(isAccountPrivate){
|
if(isAccountPrivate){
|
||||||
if( tootReply == null) {
|
if( tootReply == null) {
|
||||||
visibility = "private";
|
visibility = "private";
|
||||||
toot_visibility.setImageResource(R.drawable.ic_action_lock_closed);
|
toot_visibility.setImageResource(R.drawable.ic_lock_outline);
|
||||||
}else {
|
}else {
|
||||||
if( visibility.equals("direct") ){
|
if( visibility.equals("direct") ){
|
||||||
toot_visibility.setImageResource(R.drawable.ic_mail_outline);
|
toot_visibility.setImageResource(R.drawable.ic_mail_outline);
|
||||||
}else{
|
}else{
|
||||||
visibility = "private";
|
visibility = "private";
|
||||||
toot_visibility.setImageResource(R.drawable.ic_action_lock_closed);
|
toot_visibility.setImageResource(R.drawable.ic_lock_outline);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}else {
|
}else {
|
||||||
|
@ -443,13 +443,13 @@ public class TootActivity extends AppCompatActivity implements OnRetrieveSearcAc
|
||||||
visibility = sharedpreferences.getString(Helper.SET_TOOT_VISIBILITY + "@" + account.getAcct() + "@" + account.getInstance(), "public");
|
visibility = sharedpreferences.getString(Helper.SET_TOOT_VISIBILITY + "@" + account.getAcct() + "@" + account.getInstance(), "public");
|
||||||
switch (visibility) {
|
switch (visibility) {
|
||||||
case "public":
|
case "public":
|
||||||
toot_visibility.setImageResource(R.drawable.ic_action_globe);
|
toot_visibility.setImageResource(R.drawable.ic_public);
|
||||||
break;
|
break;
|
||||||
case "unlisted":
|
case "unlisted":
|
||||||
toot_visibility.setImageResource(R.drawable.ic_action_lock_open);
|
toot_visibility.setImageResource(R.drawable.ic_action_lock_open);
|
||||||
break;
|
break;
|
||||||
case "private":
|
case "private":
|
||||||
toot_visibility.setImageResource(R.drawable.ic_action_lock_closed);
|
toot_visibility.setImageResource(R.drawable.ic_lock_outline);
|
||||||
break;
|
break;
|
||||||
case "direct":
|
case "direct":
|
||||||
toot_visibility.setImageResource(R.drawable.ic_mail_outline);
|
toot_visibility.setImageResource(R.drawable.ic_mail_outline);
|
||||||
|
@ -626,7 +626,6 @@ public class TootActivity extends AppCompatActivity implements OnRetrieveSearcAc
|
||||||
if( restored != -1 ){
|
if( restored != -1 ){
|
||||||
restoreToot(restored);
|
restoreToot(restored);
|
||||||
}
|
}
|
||||||
changeColor();
|
|
||||||
if( theme == Helper.THEME_LIGHT) {
|
if( theme == Helper.THEME_LIGHT) {
|
||||||
toot_it.setTextColor(ContextCompat.getColor(getApplicationContext(), R.color.white));
|
toot_it.setTextColor(ContextCompat.getColor(getApplicationContext(), R.color.white));
|
||||||
}
|
}
|
||||||
|
@ -940,7 +939,6 @@ public class TootActivity extends AppCompatActivity implements OnRetrieveSearcAc
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
changeColor();
|
|
||||||
alertDialog.show();
|
alertDialog.show();
|
||||||
return true;
|
return true;
|
||||||
default:
|
default:
|
||||||
|
@ -1160,7 +1158,7 @@ public class TootActivity extends AppCompatActivity implements OnRetrieveSearcAc
|
||||||
switch (position){
|
switch (position){
|
||||||
case 0:
|
case 0:
|
||||||
visibility = "public";
|
visibility = "public";
|
||||||
toot_visibility.setImageResource(R.drawable.ic_action_globe);
|
toot_visibility.setImageResource(R.drawable.ic_public);
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
visibility = "unlisted";
|
visibility = "unlisted";
|
||||||
|
@ -1168,14 +1166,14 @@ public class TootActivity extends AppCompatActivity implements OnRetrieveSearcAc
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
visibility = "private";
|
visibility = "private";
|
||||||
toot_visibility.setImageResource(R.drawable.ic_action_lock_closed);
|
toot_visibility.setImageResource(R.drawable.ic_lock_outline);
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
visibility = "direct";
|
visibility = "direct";
|
||||||
toot_visibility.setImageResource(R.drawable.ic_mail_outline);
|
toot_visibility.setImageResource(R.drawable.ic_mail_outline);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
changeColor();
|
|
||||||
dialog.dismiss();
|
dialog.dismiss();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -1428,7 +1426,7 @@ public class TootActivity extends AppCompatActivity implements OnRetrieveSearcAc
|
||||||
switch (status.getVisibility()){
|
switch (status.getVisibility()){
|
||||||
case "public":
|
case "public":
|
||||||
visibility = "public";
|
visibility = "public";
|
||||||
toot_visibility.setImageResource(R.drawable.ic_action_globe);
|
toot_visibility.setImageResource(R.drawable.ic_public);
|
||||||
break;
|
break;
|
||||||
case "unlisted":
|
case "unlisted":
|
||||||
visibility = "unlisted";
|
visibility = "unlisted";
|
||||||
|
@ -1436,14 +1434,14 @@ public class TootActivity extends AppCompatActivity implements OnRetrieveSearcAc
|
||||||
break;
|
break;
|
||||||
case "private":
|
case "private":
|
||||||
visibility = "private";
|
visibility = "private";
|
||||||
toot_visibility.setImageResource(R.drawable.ic_action_lock_closed);
|
toot_visibility.setImageResource(R.drawable.ic_lock_outline);
|
||||||
break;
|
break;
|
||||||
case "direct":
|
case "direct":
|
||||||
visibility = "direct";
|
visibility = "direct";
|
||||||
toot_visibility.setImageResource(R.drawable.ic_mail_outline);
|
toot_visibility.setImageResource(R.drawable.ic_mail_outline);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
changeColor();
|
|
||||||
//The current id is set to the draft
|
//The current id is set to the draft
|
||||||
currentToId = draft.getId();
|
currentToId = draft.getId();
|
||||||
tootReply = draft.getStatusReply();
|
tootReply = draft.getStatusReply();
|
||||||
|
@ -1477,7 +1475,7 @@ public class TootActivity extends AppCompatActivity implements OnRetrieveSearcAc
|
||||||
switch (tootReply.getVisibility()){
|
switch (tootReply.getVisibility()){
|
||||||
case "public":
|
case "public":
|
||||||
visibility = "public";
|
visibility = "public";
|
||||||
toot_visibility.setImageResource(R.drawable.ic_action_globe);
|
toot_visibility.setImageResource(R.drawable.ic_public);
|
||||||
break;
|
break;
|
||||||
case "unlisted":
|
case "unlisted":
|
||||||
visibility = "unlisted";
|
visibility = "unlisted";
|
||||||
|
@ -1485,14 +1483,13 @@ public class TootActivity extends AppCompatActivity implements OnRetrieveSearcAc
|
||||||
break;
|
break;
|
||||||
case "private":
|
case "private":
|
||||||
visibility = "private";
|
visibility = "private";
|
||||||
toot_visibility.setImageResource(R.drawable.ic_action_lock_closed);
|
toot_visibility.setImageResource(R.drawable.ic_lock_outline);
|
||||||
break;
|
break;
|
||||||
case "direct":
|
case "direct":
|
||||||
visibility = "direct";
|
visibility = "direct";
|
||||||
toot_visibility.setImageResource(R.drawable.ic_mail_outline);
|
toot_visibility.setImageResource(R.drawable.ic_mail_outline);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
changeColor();
|
|
||||||
//If toot is not restored
|
//If toot is not restored
|
||||||
if( restored == -1 ){
|
if( restored == -1 ){
|
||||||
//Retrieves mentioned accounts + OP and adds them at the beginin of the toot
|
//Retrieves mentioned accounts + OP and adds them at the beginin of the toot
|
||||||
|
@ -1565,18 +1562,18 @@ public class TootActivity extends AppCompatActivity implements OnRetrieveSearcAc
|
||||||
final SharedPreferences sharedpreferences = getSharedPreferences(Helper.APP_PREFS, Context.MODE_PRIVATE);
|
final SharedPreferences sharedpreferences = getSharedPreferences(Helper.APP_PREFS, Context.MODE_PRIVATE);
|
||||||
int theme = sharedpreferences.getInt(Helper.SET_THEME, Helper.THEME_DARK);
|
int theme = sharedpreferences.getInt(Helper.SET_THEME, Helper.THEME_DARK);
|
||||||
if( theme == Helper.THEME_DARK) {
|
if( theme == Helper.THEME_DARK) {
|
||||||
changeDrawableColor(TootActivity.this, R.drawable.ic_action_globe, R.color.dark_text);
|
changeDrawableColor(TootActivity.this, R.drawable.ic_public, R.color.dark_text);
|
||||||
changeDrawableColor(TootActivity.this, R.drawable.ic_action_lock_open, R.color.dark_text);
|
changeDrawableColor(TootActivity.this, R.drawable.ic_action_lock_open, R.color.dark_text);
|
||||||
changeDrawableColor(TootActivity.this, R.drawable.ic_action_lock_closed, R.color.dark_text);
|
changeDrawableColor(TootActivity.this, R.drawable.ic_lock_outline, R.color.dark_text);
|
||||||
changeDrawableColor(TootActivity.this, R.drawable.ic_mail_outline, R.color.dark_text);
|
changeDrawableColor(TootActivity.this, R.drawable.ic_mail_outline, R.color.dark_text);
|
||||||
changeDrawableColor(TootActivity.this, R.drawable.ic_insert_photo, R.color.dark_text);
|
changeDrawableColor(TootActivity.this, R.drawable.ic_insert_photo, R.color.dark_text);
|
||||||
changeDrawableColor(TootActivity.this, R.drawable.ic_skip_previous, R.color.dark_text);
|
changeDrawableColor(TootActivity.this, R.drawable.ic_skip_previous, R.color.dark_text);
|
||||||
changeDrawableColor(TootActivity.this, R.drawable.ic_skip_next, R.color.dark_text);
|
changeDrawableColor(TootActivity.this, R.drawable.ic_skip_next, R.color.dark_text);
|
||||||
changeDrawableColor(TootActivity.this, R.drawable.ic_check, R.color.dark_text);
|
changeDrawableColor(TootActivity.this, R.drawable.ic_check, R.color.dark_text);
|
||||||
}else {
|
}else {
|
||||||
changeDrawableColor(TootActivity.this, R.drawable.ic_action_globe, R.color.white);
|
changeDrawableColor(TootActivity.this, R.drawable.ic_public, R.color.white);
|
||||||
changeDrawableColor(TootActivity.this, R.drawable.ic_action_lock_open, R.color.white);
|
changeDrawableColor(TootActivity.this, R.drawable.ic_action_lock_open, R.color.white);
|
||||||
changeDrawableColor(TootActivity.this, R.drawable.ic_action_lock_closed, R.color.white);
|
changeDrawableColor(TootActivity.this, R.drawable.ic_lock_outline, R.color.white);
|
||||||
changeDrawableColor(TootActivity.this, R.drawable.ic_mail_outline, R.color.white);
|
changeDrawableColor(TootActivity.this, R.drawable.ic_mail_outline, R.color.white);
|
||||||
changeDrawableColor(TootActivity.this, R.drawable.ic_insert_photo, R.color.white);
|
changeDrawableColor(TootActivity.this, R.drawable.ic_insert_photo, R.color.white);
|
||||||
changeDrawableColor(TootActivity.this, R.drawable.ic_skip_previous, R.color.white);
|
changeDrawableColor(TootActivity.this, R.drawable.ic_skip_previous, R.color.white);
|
||||||
|
|
|
@ -123,7 +123,7 @@ public class AccountSearchDevAdapter extends BaseAdapter implements OnPostAction
|
||||||
//Redraws icon for locked accounts
|
//Redraws icon for locked accounts
|
||||||
final float scale = context.getResources().getDisplayMetrics().density;
|
final float scale = context.getResources().getDisplayMetrics().density;
|
||||||
if( account != null && account.isLocked()){
|
if( account != null && account.isLocked()){
|
||||||
Drawable img = ContextCompat.getDrawable(context, R.drawable.ic_action_lock_closed);
|
Drawable img = ContextCompat.getDrawable(context, R.drawable.ic_lock_outline);
|
||||||
img.setBounds(0,0,(int) (20 * scale + 0.5f),(int) (20 * scale + 0.5f));
|
img.setBounds(0,0,(int) (20 * scale + 0.5f),(int) (20 * scale + 0.5f));
|
||||||
holder.account_dn.setCompoundDrawables( null, null, img, null);
|
holder.account_dn.setCompoundDrawables( null, null, img, null);
|
||||||
}else{
|
}else{
|
||||||
|
@ -138,7 +138,7 @@ public class AccountSearchDevAdapter extends BaseAdapter implements OnPostAction
|
||||||
holder.account_dn.setText(Helper.shortnameToUnicode(account.getDisplay_name(), true));
|
holder.account_dn.setText(Helper.shortnameToUnicode(account.getDisplay_name(), true));
|
||||||
holder.account_un.setText(String.format("@%s",account.getAcct()));
|
holder.account_un.setText(String.format("@%s",account.getAcct()));
|
||||||
}
|
}
|
||||||
changeDrawableColor(context, R.drawable.ic_action_lock_closed,R.color.mastodonC4);
|
changeDrawableColor(context, R.drawable.ic_lock_outline,R.color.mastodonC4);
|
||||||
//Profile picture
|
//Profile picture
|
||||||
imageLoader.displayImage(account.getAvatar(), holder.account_pp, options);
|
imageLoader.displayImage(account.getAvatar(), holder.account_pp, options);
|
||||||
|
|
||||||
|
|
|
@ -217,9 +217,9 @@ public class NotificationsListAdapter extends RecyclerView.Adapter implements On
|
||||||
if( theme == Helper.THEME_DARK){
|
if( theme == Helper.THEME_DARK){
|
||||||
changeDrawableColor(context, R.drawable.ic_reply,R.color.dark_icon);
|
changeDrawableColor(context, R.drawable.ic_reply,R.color.dark_icon);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_more,R.color.dark_icon);
|
changeDrawableColor(context, R.drawable.ic_action_more,R.color.dark_icon);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_globe,R.color.dark_icon);
|
changeDrawableColor(context, R.drawable.ic_public,R.color.dark_icon);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_lock_open,R.color.dark_icon);
|
changeDrawableColor(context, R.drawable.ic_action_lock_open,R.color.dark_icon);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_lock_closed,R.color.dark_icon);
|
changeDrawableColor(context, R.drawable.ic_lock_outline,R.color.dark_icon);
|
||||||
changeDrawableColor(context, R.drawable.ic_mail_outline,R.color.dark_icon);
|
changeDrawableColor(context, R.drawable.ic_mail_outline,R.color.dark_icon);
|
||||||
changeDrawableColor(context, R.drawable.ic_retweet,R.color.dark_icon);
|
changeDrawableColor(context, R.drawable.ic_retweet,R.color.dark_icon);
|
||||||
changeDrawableColor(context, R.drawable.ic_favorite_border,R.color.dark_icon);
|
changeDrawableColor(context, R.drawable.ic_favorite_border,R.color.dark_icon);
|
||||||
|
@ -229,9 +229,9 @@ public class NotificationsListAdapter extends RecyclerView.Adapter implements On
|
||||||
}else {
|
}else {
|
||||||
changeDrawableColor(context, R.drawable.ic_reply,R.color.black);
|
changeDrawableColor(context, R.drawable.ic_reply,R.color.black);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_more,R.color.black);
|
changeDrawableColor(context, R.drawable.ic_action_more,R.color.black);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_globe,R.color.black);
|
changeDrawableColor(context, R.drawable.ic_public,R.color.black);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_lock_open,R.color.black);
|
changeDrawableColor(context, R.drawable.ic_action_lock_open,R.color.black);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_lock_closed,R.color.black);
|
changeDrawableColor(context, R.drawable.ic_lock_outline,R.color.black);
|
||||||
changeDrawableColor(context, R.drawable.ic_mail_outline,R.color.black);
|
changeDrawableColor(context, R.drawable.ic_mail_outline,R.color.black);
|
||||||
changeDrawableColor(context, R.drawable.ic_retweet,R.color.black);
|
changeDrawableColor(context, R.drawable.ic_retweet,R.color.black);
|
||||||
changeDrawableColor(context, R.drawable.ic_favorite_border,R.color.black);
|
changeDrawableColor(context, R.drawable.ic_favorite_border,R.color.black);
|
||||||
|
@ -384,13 +384,13 @@ public class NotificationsListAdapter extends RecyclerView.Adapter implements On
|
||||||
}
|
}
|
||||||
switch (status.getVisibility()){
|
switch (status.getVisibility()){
|
||||||
case "public":
|
case "public":
|
||||||
holder.status_privacy.setImageResource(R.drawable.ic_action_globe);
|
holder.status_privacy.setImageResource(R.drawable.ic_public);
|
||||||
break;
|
break;
|
||||||
case "unlisted":
|
case "unlisted":
|
||||||
holder.status_privacy.setImageResource(R.drawable.ic_action_lock_open);
|
holder.status_privacy.setImageResource(R.drawable.ic_action_lock_open);
|
||||||
break;
|
break;
|
||||||
case "private":
|
case "private":
|
||||||
holder.status_privacy.setImageResource(R.drawable.ic_action_lock_closed);
|
holder.status_privacy.setImageResource(R.drawable.ic_lock_outline);
|
||||||
break;
|
break;
|
||||||
case "direct":
|
case "direct":
|
||||||
holder.status_privacy.setImageResource(R.drawable.ic_mail_outline);
|
holder.status_privacy.setImageResource(R.drawable.ic_mail_outline);
|
||||||
|
|
|
@ -119,15 +119,15 @@ public class ScheduledTootsListAdapter extends BaseAdapter {
|
||||||
final int theme = sharedpreferences.getInt(Helper.SET_THEME, Helper.THEME_DARK);
|
final int theme = sharedpreferences.getInt(Helper.SET_THEME, Helper.THEME_DARK);
|
||||||
if( theme == Helper.THEME_DARK){
|
if( theme == Helper.THEME_DARK){
|
||||||
changeDrawableColor(context, R.drawable.ic_cancel,R.color.dark_text);
|
changeDrawableColor(context, R.drawable.ic_cancel,R.color.dark_text);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_globe,R.color.dark_text);
|
changeDrawableColor(context, R.drawable.ic_public,R.color.dark_text);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_lock_open,R.color.dark_text);
|
changeDrawableColor(context, R.drawable.ic_action_lock_open,R.color.dark_text);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_lock_closed,R.color.dark_text);
|
changeDrawableColor(context, R.drawable.ic_lock_outline,R.color.dark_text);
|
||||||
changeDrawableColor(context, R.drawable.ic_mail_outline,R.color.dark_text);
|
changeDrawableColor(context, R.drawable.ic_mail_outline,R.color.dark_text);
|
||||||
}else {
|
}else {
|
||||||
changeDrawableColor(context, R.drawable.ic_cancel,R.color.black);
|
changeDrawableColor(context, R.drawable.ic_cancel,R.color.black);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_globe,R.color.black);
|
changeDrawableColor(context, R.drawable.ic_public,R.color.black);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_lock_open,R.color.black);
|
changeDrawableColor(context, R.drawable.ic_action_lock_open,R.color.black);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_lock_closed,R.color.black);
|
changeDrawableColor(context, R.drawable.ic_lock_outline,R.color.black);
|
||||||
changeDrawableColor(context, R.drawable.ic_mail_outline,R.color.black);
|
changeDrawableColor(context, R.drawable.ic_mail_outline,R.color.black);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -135,13 +135,13 @@ public class ScheduledTootsListAdapter extends BaseAdapter {
|
||||||
|
|
||||||
switch (status.getVisibility()) {
|
switch (status.getVisibility()) {
|
||||||
case "public":
|
case "public":
|
||||||
holder.scheduled_toot_privacy.setImageResource(R.drawable.ic_action_globe);
|
holder.scheduled_toot_privacy.setImageResource(R.drawable.ic_public);
|
||||||
break;
|
break;
|
||||||
case "unlisted":
|
case "unlisted":
|
||||||
holder.scheduled_toot_privacy.setImageResource(R.drawable.ic_action_lock_open);
|
holder.scheduled_toot_privacy.setImageResource(R.drawable.ic_action_lock_open);
|
||||||
break;
|
break;
|
||||||
case "private":
|
case "private":
|
||||||
holder.scheduled_toot_privacy.setImageResource(R.drawable.ic_action_lock_closed);
|
holder.scheduled_toot_privacy.setImageResource(R.drawable.ic_lock_outline);
|
||||||
break;
|
break;
|
||||||
case "direct":
|
case "direct":
|
||||||
holder.scheduled_toot_privacy.setImageResource(R.drawable.ic_mail_outline);
|
holder.scheduled_toot_privacy.setImageResource(R.drawable.ic_mail_outline);
|
||||||
|
|
|
@ -409,9 +409,9 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
||||||
if( theme == Helper.THEME_DARK){
|
if( theme == Helper.THEME_DARK){
|
||||||
changeDrawableColor(context, R.drawable.ic_reply,R.color.dark_icon);
|
changeDrawableColor(context, R.drawable.ic_reply,R.color.dark_icon);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_more,R.color.dark_icon);
|
changeDrawableColor(context, R.drawable.ic_action_more,R.color.dark_icon);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_globe,R.color.dark_icon);
|
changeDrawableColor(context, R.drawable.ic_public,R.color.dark_icon);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_lock_open,R.color.dark_icon);
|
changeDrawableColor(context, R.drawable.ic_action_lock_open,R.color.dark_icon);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_lock_closed,R.color.dark_icon);
|
changeDrawableColor(context, R.drawable.ic_lock_outline,R.color.dark_icon);
|
||||||
changeDrawableColor(context, R.drawable.ic_mail_outline,R.color.dark_icon);
|
changeDrawableColor(context, R.drawable.ic_mail_outline,R.color.dark_icon);
|
||||||
changeDrawableColor(context, R.drawable.ic_boost_border,R.color.dark_icon);
|
changeDrawableColor(context, R.drawable.ic_boost_border,R.color.dark_icon);
|
||||||
changeDrawableColor(context, R.drawable.ic_boost_header,R.color.dark_icon);
|
changeDrawableColor(context, R.drawable.ic_boost_header,R.color.dark_icon);
|
||||||
|
@ -423,9 +423,9 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
||||||
}else {
|
}else {
|
||||||
changeDrawableColor(context, R.drawable.ic_reply,R.color.black);
|
changeDrawableColor(context, R.drawable.ic_reply,R.color.black);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_more,R.color.black);
|
changeDrawableColor(context, R.drawable.ic_action_more,R.color.black);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_globe,R.color.black);
|
changeDrawableColor(context, R.drawable.ic_public,R.color.black);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_lock_open,R.color.black);
|
changeDrawableColor(context, R.drawable.ic_action_lock_open,R.color.black);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_lock_closed,R.color.black);
|
changeDrawableColor(context, R.drawable.ic_lock_outline,R.color.black);
|
||||||
changeDrawableColor(context, R.drawable.ic_mail_outline,R.color.black);
|
changeDrawableColor(context, R.drawable.ic_mail_outline,R.color.black);
|
||||||
changeDrawableColor(context, R.drawable.ic_boost_border,R.color.black);
|
changeDrawableColor(context, R.drawable.ic_boost_border,R.color.black);
|
||||||
changeDrawableColor(context, R.drawable.ic_boost_header,R.color.black);
|
changeDrawableColor(context, R.drawable.ic_boost_header,R.color.black);
|
||||||
|
@ -672,13 +672,13 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
||||||
|
|
||||||
switch (status.getVisibility()){
|
switch (status.getVisibility()){
|
||||||
case "public":
|
case "public":
|
||||||
holder.status_privacy.setImageResource(R.drawable.ic_action_globe);
|
holder.status_privacy.setImageResource(R.drawable.ic_public);
|
||||||
break;
|
break;
|
||||||
case "unlisted":
|
case "unlisted":
|
||||||
holder.status_privacy.setImageResource(R.drawable.ic_action_lock_open);
|
holder.status_privacy.setImageResource(R.drawable.ic_action_lock_open);
|
||||||
break;
|
break;
|
||||||
case "private":
|
case "private":
|
||||||
holder.status_privacy.setImageResource(R.drawable.ic_action_lock_closed);
|
holder.status_privacy.setImageResource(R.drawable.ic_lock_outline);
|
||||||
break;
|
break;
|
||||||
case "direct":
|
case "direct":
|
||||||
holder.status_privacy.setImageResource(R.drawable.ic_mail_outline);
|
holder.status_privacy.setImageResource(R.drawable.ic_mail_outline);
|
||||||
|
|
|
@ -363,13 +363,13 @@ public class SettingsFragment extends Fragment {
|
||||||
String tootVisibility = sharedpreferences.getString(Helper.SET_TOOT_VISIBILITY + "@" + account.getAcct() + "@" + account.getInstance(), "public");
|
String tootVisibility = sharedpreferences.getString(Helper.SET_TOOT_VISIBILITY + "@" + account.getAcct() + "@" + account.getInstance(), "public");
|
||||||
switch (tootVisibility) {
|
switch (tootVisibility) {
|
||||||
case "public":
|
case "public":
|
||||||
set_toot_visibility.setImageResource(R.drawable.ic_action_globe);
|
set_toot_visibility.setImageResource(R.drawable.ic_public);
|
||||||
break;
|
break;
|
||||||
case "unlisted":
|
case "unlisted":
|
||||||
set_toot_visibility.setImageResource(R.drawable.ic_action_lock_open);
|
set_toot_visibility.setImageResource(R.drawable.ic_action_lock_open);
|
||||||
break;
|
break;
|
||||||
case "private":
|
case "private":
|
||||||
set_toot_visibility.setImageResource(R.drawable.ic_action_lock_closed);
|
set_toot_visibility.setImageResource(R.drawable.ic_lock_outline);
|
||||||
break;
|
break;
|
||||||
case "direct":
|
case "direct":
|
||||||
set_toot_visibility.setImageResource(R.drawable.ic_mail_outline);
|
set_toot_visibility.setImageResource(R.drawable.ic_mail_outline);
|
||||||
|
@ -402,7 +402,7 @@ public class SettingsFragment extends Fragment {
|
||||||
switch (position){
|
switch (position){
|
||||||
case 0:
|
case 0:
|
||||||
visibility = "public";
|
visibility = "public";
|
||||||
set_toot_visibility.setImageResource(R.drawable.ic_action_globe);
|
set_toot_visibility.setImageResource(R.drawable.ic_public);
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
visibility = "unlisted";
|
visibility = "unlisted";
|
||||||
|
@ -410,7 +410,7 @@ public class SettingsFragment extends Fragment {
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
visibility = "private";
|
visibility = "private";
|
||||||
set_toot_visibility.setImageResource(R.drawable.ic_action_lock_closed);
|
set_toot_visibility.setImageResource(R.drawable.ic_lock_outline);
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
visibility = "direct";
|
visibility = "direct";
|
||||||
|
@ -478,14 +478,14 @@ public class SettingsFragment extends Fragment {
|
||||||
SharedPreferences sharedpreferences = context.getSharedPreferences(Helper.APP_PREFS, android.content.Context.MODE_PRIVATE);
|
SharedPreferences sharedpreferences = context.getSharedPreferences(Helper.APP_PREFS, android.content.Context.MODE_PRIVATE);
|
||||||
int theme = sharedpreferences.getInt(Helper.SET_THEME, Helper.THEME_DARK);
|
int theme = sharedpreferences.getInt(Helper.SET_THEME, Helper.THEME_DARK);
|
||||||
if( theme == Helper.THEME_DARK){
|
if( theme == Helper.THEME_DARK){
|
||||||
changeDrawableColor(context, R.drawable.ic_action_globe,R.color.dark_text);
|
changeDrawableColor(context, R.drawable.ic_public,R.color.dark_text);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_lock_open,R.color.dark_text);
|
changeDrawableColor(context, R.drawable.ic_action_lock_open,R.color.dark_text);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_lock_closed,R.color.dark_text);
|
changeDrawableColor(context, R.drawable.ic_lock_outline,R.color.dark_text);
|
||||||
changeDrawableColor(context, R.drawable.ic_mail_outline,R.color.dark_text);
|
changeDrawableColor(context, R.drawable.ic_mail_outline,R.color.dark_text);
|
||||||
}else {
|
}else {
|
||||||
changeDrawableColor(context, R.drawable.ic_action_globe,R.color.white);
|
changeDrawableColor(context, R.drawable.ic_public,R.color.white);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_lock_open,R.color.white);
|
changeDrawableColor(context, R.drawable.ic_action_lock_open,R.color.white);
|
||||||
changeDrawableColor(context, R.drawable.ic_action_lock_closed,R.color.white);
|
changeDrawableColor(context, R.drawable.ic_lock_outline,R.color.white);
|
||||||
changeDrawableColor(context, R.drawable.ic_mail_outline,R.color.white);
|
changeDrawableColor(context, R.drawable.ic_mail_outline,R.color.white);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@ import android.graphics.PorterDuffXfermode;
|
||||||
import android.graphics.Rect;
|
import android.graphics.Rect;
|
||||||
import android.graphics.RectF;
|
import android.graphics.RectF;
|
||||||
import android.support.annotation.RequiresApi;
|
import android.support.annotation.RequiresApi;
|
||||||
|
import android.support.v4.graphics.drawable.DrawableCompat;
|
||||||
import android.support.v7.app.AlertDialog;
|
import android.support.v7.app.AlertDialog;
|
||||||
import android.app.DownloadManager;
|
import android.app.DownloadManager;
|
||||||
import android.app.PendingIntent;
|
import android.app.PendingIntent;
|
||||||
|
@ -732,7 +733,7 @@ public class Helper {
|
||||||
@Override
|
@Override
|
||||||
public void onLoadingFailed(java.lang.String imageUri, android.view.View view, FailReason failReason){
|
public void onLoadingFailed(java.lang.String imageUri, android.view.View view, FailReason failReason){
|
||||||
notify_user(context, intent, notificationIdTmp, BitmapFactory.decodeResource(context.getResources(),
|
notify_user(context, intent, notificationIdTmp, BitmapFactory.decodeResource(context.getResources(),
|
||||||
R.drawable.ic_save), context.getString(R.string.save_over), context.getString(R.string.download_from, fileName));
|
R.drawable.ic_save_white), context.getString(R.string.save_over), context.getString(R.string.download_from, fileName));
|
||||||
Toast.makeText(context, R.string.toast_saved,Toast.LENGTH_LONG).show();
|
Toast.makeText(context, R.string.toast_saved,Toast.LENGTH_LONG).show();
|
||||||
}});
|
}});
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
@ -1439,9 +1440,8 @@ public class Helper {
|
||||||
* @param hexaColor example 0xffff00
|
* @param hexaColor example 0xffff00
|
||||||
*/
|
*/
|
||||||
public static Drawable changeDrawableColor(Context context, int drawable, int hexaColor){
|
public static Drawable changeDrawableColor(Context context, int drawable, int hexaColor){
|
||||||
int color = Color.parseColor(context.getString(hexaColor));
|
|
||||||
Drawable mDrawable = ContextCompat.getDrawable(context, drawable);
|
Drawable mDrawable = ContextCompat.getDrawable(context, drawable);
|
||||||
mDrawable.setColorFilter(color, PorterDuff.Mode.SRC_ATOP);
|
DrawableCompat.setTint(mDrawable, ContextCompat.getColor(context, hexaColor));
|
||||||
return mDrawable;
|
return mDrawable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,5 +5,5 @@
|
||||||
android:viewportHeight="24.0">
|
android:viewportHeight="24.0">
|
||||||
<path
|
<path
|
||||||
android:fillColor="#FF000000"
|
android:fillColor="#FF000000"
|
||||||
android:pathData="M15.73,3L8.27,3L3,8.27v7.46L8.27,21h7.46L21,15.73L21,8.27L15.73,3zM12,17.3c-0.72,0 -1.3,-0.58 -1.3,-1.3 0,-0.72 0.58,-1.3 1.3,-1.3 0.72,0 1.3,0.58 1.3,1.3 0,0.72 -0.58,1.3 -1.3,1.3zM13,13h-2L11,7h2v6z"/>
|
android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
|
||||||
</vector>
|
</vector>
|
|
@ -0,0 +1,9 @@
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FF000000"
|
||||||
|
android:pathData="M19,9h-4V3H9v6H5l7,7 7,-7zM5,18v2h14v-2H5z"/>
|
||||||
|
</vector>
|
|
@ -0,0 +1,9 @@
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FF000000"
|
||||||
|
android:pathData="M10,20v-6h4v6h5v-8h3L12,3 2,12h3v8z"/>
|
||||||
|
</vector>
|
|
@ -0,0 +1,9 @@
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FF000000"
|
||||||
|
android:pathData="M12,17c1.1,0 2,-0.9 2,-2s-0.9,-2 -2,-2 -2,0.9 -2,2 0.9,2 2,2zM18,8h-1L17,6c0,-2.76 -2.24,-5 -5,-5S7,3.24 7,6v2L6,8c-1.1,0 -2,0.9 -2,2v10c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2L20,10c0,-1.1 -0.9,-2 -2,-2zM8.9,6c0,-1.71 1.39,-3.1 3.1,-3.1s3.1,1.39 3.1,3.1v2L8.9,8L8.9,6zM18,20L6,20L6,10h12v10z"/>
|
||||||
|
</vector>
|
|
@ -0,0 +1,9 @@
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FF000000"
|
||||||
|
android:pathData="M12,22c1.1,0 2,-0.9 2,-2h-4c0,1.1 0.89,2 2,2zM18,16v-5c0,-3.07 -1.64,-5.64 -4.5,-6.32L13.5,4c0,-0.83 -0.67,-1.5 -1.5,-1.5s-1.5,0.67 -1.5,1.5v0.68C7.63,5.36 6,7.92 6,11v5l-2,2v1h16v-1l-2,-2z"/>
|
||||||
|
</vector>
|
|
@ -0,0 +1,9 @@
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FFFFFFFF"
|
||||||
|
android:pathData="M10,9h4L14,6h3l-5,-5 -5,5h3v3zM9,10L6,10L6,7l-5,5 5,5v-3h3v-4zM23,12l-5,-5v3h-3v4h3v3l5,-5zM14,15h-4v3L7,18l5,5 5,-5h-3v-3z"/>
|
||||||
|
</vector>
|
|
@ -0,0 +1,9 @@
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FF000000"
|
||||||
|
android:pathData="M16,11c1.66,0 2.99,-1.34 2.99,-3S17.66,5 16,5c-1.66,0 -3,1.34 -3,3s1.34,3 3,3zM8,11c1.66,0 2.99,-1.34 2.99,-3S9.66,5 8,5C6.34,5 5,6.34 5,8s1.34,3 3,3zM8,13c-2.33,0 -7,1.17 -7,3.5L1,19h14v-2.5c0,-2.33 -4.67,-3.5 -7,-3.5zM16,13c-0.29,0 -0.62,0.02 -0.97,0.05 1.16,0.84 1.97,1.97 1.97,3.45L17,19h6v-2.5c0,-2.33 -4.67,-3.5 -7,-3.5z"/>
|
||||||
|
</vector>
|
|
@ -0,0 +1,9 @@
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FF000000"
|
||||||
|
android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM11,19.93c-3.95,-0.49 -7,-3.85 -7,-7.93 0,-0.62 0.08,-1.21 0.21,-1.79L9,15v1c0,1.1 0.9,2 2,2v1.93zM17.9,17.39c-0.26,-0.81 -1,-1.39 -1.9,-1.39h-1v-3c0,-0.55 -0.45,-1 -1,-1L8,12v-2h2c0.55,0 1,-0.45 1,-1L11,7h2c1.1,0 2,-0.9 2,-2v-0.41c2.93,1.19 5,4.06 5,7.41 0,2.08 -0.8,3.97 -2.1,5.39z"/>
|
||||||
|
</vector>
|
|
@ -0,0 +1,9 @@
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FFFFFFFF"
|
||||||
|
android:pathData="M17,3L5,3c-1.11,0 -2,0.9 -2,2v14c0,1.1 0.89,2 2,2h14c1.1,0 2,-0.9 2,-2L21,7l-4,-4zM12,19c-1.66,0 -3,-1.34 -3,-3s1.34,-3 3,-3 3,1.34 3,3 -1.34,3 -3,3zM15,9L5,9L5,5h10v4z"/>
|
||||||
|
</vector>
|
|
@ -0,0 +1,9 @@
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FF000000"
|
||||||
|
android:pathData="M11.99,2C6.47,2 2,6.48 2,12s4.47,10 9.99,10C17.52,22 22,17.52 22,12S17.52,2 11.99,2zM12,20c-4.42,0 -8,-3.58 -8,-8s3.58,-8 8,-8 8,3.58 8,8 -3.58,8 -8,8zM12.5,7L11,7v6l5.25,3.15 0.75,-1.23 -4.5,-2.67z"/>
|
||||||
|
</vector>
|
|
@ -0,0 +1,9 @@
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FFFFFFFF"
|
||||||
|
android:pathData="M12,4.5C7,4.5 2.73,7.61 1,12c1.73,4.39 6,7.5 11,7.5s9.27,-3.11 11,-7.5c-1.73,-4.39 -6,-7.5 -11,-7.5zM12,17c-2.76,0 -5,-2.24 -5,-5s2.24,-5 5,-5 5,2.24 5,5 -2.24,5 -5,5zM12,9c-1.66,0 -3,1.34 -3,3s1.34,3 3,3 3,-1.34 3,-3 -1.34,-3 -3,-3z"/>
|
||||||
|
</vector>
|
Before Width: | Height: | Size: 613 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 741 B |
Before Width: | Height: | Size: 448 B |
Before Width: | Height: | Size: 448 B |
Before Width: | Height: | Size: 448 B |
Before Width: | Height: | Size: 487 B |
Before Width: | Height: | Size: 228 B |
Before Width: | Height: | Size: 228 B |
Before Width: | Height: | Size: 134 B |
Before Width: | Height: | Size: 313 B |
Before Width: | Height: | Size: 292 B |
Before Width: | Height: | Size: 225 B |
Before Width: | Height: | Size: 247 B |
Before Width: | Height: | Size: 331 B |
Before Width: | Height: | Size: 207 B |
Before Width: | Height: | Size: 383 B |
Before Width: | Height: | Size: 320 B |
Before Width: | Height: | Size: 320 B |
Before Width: | Height: | Size: 320 B |
Before Width: | Height: | Size: 281 B |
Before Width: | Height: | Size: 262 B |
Before Width: | Height: | Size: 262 B |
Before Width: | Height: | Size: 119 B |
Before Width: | Height: | Size: 280 B |
Before Width: | Height: | Size: 285 B |
Before Width: | Height: | Size: 257 B |
Before Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 436 B |
Before Width: | Height: | Size: 213 B |
Before Width: | Height: | Size: 491 B |
Before Width: | Height: | Size: 309 B |
Before Width: | Height: | Size: 309 B |
Before Width: | Height: | Size: 309 B |
Before Width: | Height: | Size: 339 B |
Before Width: | Height: | Size: 161 B |
Before Width: | Height: | Size: 161 B |
Before Width: | Height: | Size: 116 B |
Before Width: | Height: | Size: 225 B |
Before Width: | Height: | Size: 181 B |
Before Width: | Height: | Size: 171 B |
Before Width: | Height: | Size: 173 B |
Before Width: | Height: | Size: 794 B |
Before Width: | Height: | Size: 355 B |
Before Width: | Height: | Size: 811 B |
Before Width: | Height: | Size: 537 B |
Before Width: | Height: | Size: 537 B |
Before Width: | Height: | Size: 537 B |
Before Width: | Height: | Size: 647 B |
Before Width: | Height: | Size: 231 B |
Before Width: | Height: | Size: 231 B |
Before Width: | Height: | Size: 168 B |
Before Width: | Height: | Size: 320 B |
Before Width: | Height: | Size: 299 B |
Before Width: | Height: | Size: 243 B |
Before Width: | Height: | Size: 259 B |
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 548 B |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 821 B |
Before Width: | Height: | Size: 821 B |
Before Width: | Height: | Size: 821 B |
Before Width: | Height: | Size: 985 B |
Before Width: | Height: | Size: 286 B |
Before Width: | Height: | Size: 286 B |
Before Width: | Height: | Size: 242 B |
Before Width: | Height: | Size: 496 B |
Before Width: | Height: | Size: 404 B |
Before Width: | Height: | Size: 349 B |
Before Width: | Height: | Size: 355 B |
Before Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 327 B |
Before Width: | Height: | Size: 327 B |
Before Width: | Height: | Size: 500 B |