Change links colors #633
This commit is contained in:
parent
2a742807e3
commit
54363e5573
|
@ -784,7 +784,7 @@ public class Status implements Parcelable{
|
||||||
else if (theme == THEME_BLACK)
|
else if (theme == THEME_BLACK)
|
||||||
ds.setColor(ContextCompat.getColor(context, R.color.black_link_toot));
|
ds.setColor(ContextCompat.getColor(context, R.color.black_link_toot));
|
||||||
else if (theme == THEME_LIGHT)
|
else if (theme == THEME_LIGHT)
|
||||||
ds.setColor(ContextCompat.getColor(context, R.color.mastodonC4));
|
ds.setColor(ContextCompat.getColor(context, R.color.light_link_toot));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
matchStart, matchEnd,
|
matchStart, matchEnd,
|
||||||
|
@ -824,7 +824,7 @@ public class Status implements Parcelable{
|
||||||
else if (theme == THEME_BLACK)
|
else if (theme == THEME_BLACK)
|
||||||
ds.setColor(ContextCompat.getColor(context, R.color.black_link_toot));
|
ds.setColor(ContextCompat.getColor(context, R.color.black_link_toot));
|
||||||
else if (theme == THEME_LIGHT)
|
else if (theme == THEME_LIGHT)
|
||||||
ds.setColor(ContextCompat.getColor(context, R.color.mastodonC4));
|
ds.setColor(ContextCompat.getColor(context, R.color.light_link_toot));
|
||||||
}
|
}
|
||||||
}, matchStart, matchEnd, Spanned.SPAN_INCLUSIVE_EXCLUSIVE);
|
}, matchStart, matchEnd, Spanned.SPAN_INCLUSIVE_EXCLUSIVE);
|
||||||
}
|
}
|
||||||
|
@ -851,7 +851,7 @@ public class Status implements Parcelable{
|
||||||
else if (theme == THEME_BLACK)
|
else if (theme == THEME_BLACK)
|
||||||
ds.setColor(ContextCompat.getColor(context, R.color.black_link_toot));
|
ds.setColor(ContextCompat.getColor(context, R.color.black_link_toot));
|
||||||
else if (theme == THEME_LIGHT)
|
else if (theme == THEME_LIGHT)
|
||||||
ds.setColor(ContextCompat.getColor(context, R.color.mastodonC4));
|
ds.setColor(ContextCompat.getColor(context, R.color.light_link_toot));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
startPosition, endPosition,
|
startPosition, endPosition,
|
||||||
|
@ -918,7 +918,7 @@ public class Status implements Parcelable{
|
||||||
else if (theme == THEME_BLACK)
|
else if (theme == THEME_BLACK)
|
||||||
ds.setColor(ContextCompat.getColor(context, R.color.black_link_toot));
|
ds.setColor(ContextCompat.getColor(context, R.color.black_link_toot));
|
||||||
else if (theme == THEME_LIGHT)
|
else if (theme == THEME_LIGHT)
|
||||||
ds.setColor(ContextCompat.getColor(context, R.color.mastodonC4));
|
ds.setColor(ContextCompat.getColor(context, R.color.light_link_toot));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
startPosition, endPosition,
|
startPosition, endPosition,
|
||||||
|
@ -961,7 +961,7 @@ public class Status implements Parcelable{
|
||||||
else if (theme == THEME_BLACK)
|
else if (theme == THEME_BLACK)
|
||||||
ds.setColor(ContextCompat.getColor(context, R.color.black_link_toot));
|
ds.setColor(ContextCompat.getColor(context, R.color.black_link_toot));
|
||||||
else if (theme == THEME_LIGHT)
|
else if (theme == THEME_LIGHT)
|
||||||
ds.setColor(ContextCompat.getColor(context, R.color.mastodonC4));
|
ds.setColor(ContextCompat.getColor(context, R.color.light_link_toot));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
startPosition, endPosition,
|
startPosition, endPosition,
|
||||||
|
@ -992,7 +992,7 @@ public class Status implements Parcelable{
|
||||||
else if (theme == THEME_BLACK)
|
else if (theme == THEME_BLACK)
|
||||||
ds.setColor(ContextCompat.getColor(context, R.color.black_link_toot));
|
ds.setColor(ContextCompat.getColor(context, R.color.black_link_toot));
|
||||||
else if (theme == THEME_LIGHT)
|
else if (theme == THEME_LIGHT)
|
||||||
ds.setColor(ContextCompat.getColor(context, R.color.mastodonC4));
|
ds.setColor(ContextCompat.getColor(context, R.color.light_link_toot));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
startPosition, endPosition,
|
startPosition, endPosition,
|
||||||
|
@ -1025,7 +1025,7 @@ public class Status implements Parcelable{
|
||||||
else if (theme == THEME_BLACK)
|
else if (theme == THEME_BLACK)
|
||||||
ds.setColor(ContextCompat.getColor(context, R.color.black_link_toot));
|
ds.setColor(ContextCompat.getColor(context, R.color.black_link_toot));
|
||||||
else if (theme == THEME_LIGHT)
|
else if (theme == THEME_LIGHT)
|
||||||
ds.setColor(ContextCompat.getColor(context, R.color.mastodonC4));
|
ds.setColor(ContextCompat.getColor(context, R.color.light_link_toot));
|
||||||
}
|
}
|
||||||
}, matchStart, matchEnd, Spanned.SPAN_INCLUSIVE_EXCLUSIVE);
|
}, matchStart, matchEnd, Spanned.SPAN_INCLUSIVE_EXCLUSIVE);
|
||||||
|
|
||||||
|
|
|
@ -12,10 +12,10 @@
|
||||||
<color name="header3D">#607D8B</color>
|
<color name="header3D">#607D8B</color>
|
||||||
|
|
||||||
<color name="dark_text_toot_header">#d9d9d9</color>
|
<color name="dark_text_toot_header">#d9d9d9</color>
|
||||||
<color name="dark_link_toot">#0099ff</color>
|
|
||||||
|
|
||||||
<color name="black_text_toot_header">#d9d9d9</color>
|
<color name="black_text_toot_header">#d9d9d9</color>
|
||||||
<color name="black_link_toot">#0099ff</color>
|
|
||||||
|
|
||||||
<color name="dark_text">#f3f3f3</color>
|
<color name="dark_text">#f3f3f3</color>
|
||||||
<color name="dark_icon">#606984</color>
|
<color name="dark_icon">#606984</color>
|
||||||
|
@ -96,4 +96,7 @@
|
||||||
<color name="cardBorderBlack">#d9d9d9</color>
|
<color name="cardBorderBlack">#d9d9d9</color>
|
||||||
|
|
||||||
|
|
||||||
|
<color name="black_link_toot">#27a7fc</color>
|
||||||
|
<color name="dark_link_toot">#27a7fc</color>
|
||||||
|
<color name="light_link_toot">#27a7fc</color>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in New Issue