use the brighter color for days of the week

This commit is contained in:
tibbi 2016-11-01 21:52:16 +01:00
parent df0fcfcf4f
commit a04beb9abe
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)