use the brighter color for days of the week
This commit is contained in:
parent
df0fcfcf4f
commit
a04beb9abe
|
@ -198,7 +198,7 @@ public class MyWidgetProvider extends AppWidgetProvider implements MonthlyCalend
|
||||||
int letters[] = Utils.getLetterIDs();
|
int letters[] = Utils.getLetterIDs();
|
||||||
for (int i = 0; i < 7; i++) {
|
for (int i = 0; i < 7; i++) {
|
||||||
final int id = mRes.getIdentifier("label_" + i, "id", packageName);
|
final int id = mRes.getIdentifier("label_" + i, "id", packageName);
|
||||||
mRemoteViews.setInt(id, "setTextColor", mWeakTextColor);
|
mRemoteViews.setInt(id, "setTextColor", mTextColor);
|
||||||
|
|
||||||
int index = i;
|
int index = i;
|
||||||
if (!mSundayFirst)
|
if (!mSundayFirst)
|
||||||
|
|
|
@ -150,7 +150,7 @@ class MonthFragment : Fragment(), MonthlyCalendar {
|
||||||
for (i in 0..6) {
|
for (i in 0..6) {
|
||||||
val dayTV = mHolder.findViewById(mRes.getIdentifier("label_" + i, "id", mPackageName)) as TextView
|
val dayTV = mHolder.findViewById(mRes.getIdentifier("label_" + i, "id", mPackageName)) as TextView
|
||||||
dayTV.textSize = mDayTextSize
|
dayTV.textSize = mDayTextSize
|
||||||
dayTV.setTextColor(mWeakTextColor)
|
dayTV.setTextColor(mTextColor)
|
||||||
|
|
||||||
var index = i
|
var index = i
|
||||||
if (!mSundayFirst)
|
if (!mSundayFirst)
|
||||||
|
|
Loading…
Reference in New Issue