Skip to content

Commit 9de7c41

Browse files
committed
v.4.13.0. Ongoing events color, Current time line and Time until tag
1 parent 3b7f4fa commit 9de7c41

File tree

23 files changed

+49
-42
lines changed

23 files changed

+49
-42
lines changed

CHANGELOG.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,19 @@
22

33
<a id="v4.13"/>
44

5-
### 2025-03-XX v4.13.0 Current time line and Time until tag
6-
* "Show Current time line" checkbox added to Layout section.
5+
### 2025-03-16 v4.13.0 Ongoing events color, Current time line and Time until tag
6+
* "Ongoing events" section was added to Colors settings.
7+
This means that ongoing events can have their own color settings, different from "Today's events".
8+
[#166](https://github.com/andstatus/todoagenda/issues/166)
9+
* "Show Current time line" checkbox added to Layout settings.
710
It shows horizontal line representing the current time.
8-
"Current time line color" setting added to Colors section.
11+
"Current time line color" setting added to Colors settings.
912
[#143](https://github.com/andstatus/todoagenda/issues/143)
10-
* "Show time until" checkbox added to Layout section.
13+
* "Show time until" checkbox added to Layout settings.
1114
It shows "Time until tag" for the next upcoming event.
12-
"Time until tag background" setting added to Colors section.
15+
"Time until tag background" setting added to Colors settings.
1316
[#143](https://github.com/andstatus/todoagenda/issues/143)
14-
* "The End of list entry after a list of events" setting added to Layout section
17+
* "The End of list entry after a list of events" setting added to Layout settings
1518
with the following options: "An entry with a descriptive message is shown",
1619
"An empty entry (empty area) is shown" (default) and "The entry is hidden".
1720
[#163](https://github.com/andstatus/todoagenda/issues/163)

app/src/main/kotlin/org/andstatus/todoagenda/prefs/colors/TextColorPref.kt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ enum class TextColorPref(
2020
val timeSection: TimeSection,
2121
) {
2222
WIDGET_HEADER(
23-
"headerTheme",
24-
Shading.LIGHT,
25-
R.string.appearance_header_theme_title,
26-
"widgetHeaderTextColor",
27-
-0x65000001,
28-
R.string.widget_header_text_color,
29-
R.attr.header,
30-
BackgroundColorPref.WIDGET_HEADER,
31-
false,
32-
TimeSection.ALL,
23+
shadingPreferenceName = "headerTheme",
24+
defaultShading = Shading.LIGHT,
25+
shadingTitleResId = R.string.appearance_header_theme_title,
26+
colorPreferenceName = "widgetHeaderTextColor",
27+
defaultColor = -0x65000001,
28+
colorTitleResId = R.string.widget_header_text_color,
29+
colorAttrId = R.attr.header,
30+
backgroundColorPref = BackgroundColorPref.WIDGET_HEADER,
31+
dependsOnDayHeader = false,
32+
timeSection = TimeSection.ALL,
3333
),
3434
DAY_HEADER_PAST(
3535
"dayHeaderThemePast",
-520 KB
Loading
416 KB
Loading
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v4.12.2. "(Day x/y)" option added to "Event details" showing current day number / total number of days for multi-day events.
1+
v4.13.0. Ongoing events color, Current time line and Time until tag.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v4.12.2. Добавлена опция "(День x/y)", чтобы показать номер текущего дня / общее количество дней многодневных событий.
1+
v4.13.0. Цвет текущих событий. Линия текущего времени. Время до следующего события.

app/src/main/res/values-ar/strings.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
<string name="appearance_text_size_large">كبير</string>
5656
<string name="appearance_text_size_very_large">كبير جدا</string>
5757
<string name="appearance_date_format_desc">اظهار الوقت بصيغة صباحا/مساءا او بصيغة 24 ساعة</string>
58-
<string name="appearance_date_format_title">صيغة التاريخ</string>
5958
<string name="appearance_date_format_auto">تلقائي</string>
6059
<string name="appearance_date_format_24">17:00</string>
6160
<string name="appearance_date_format_12">05:00 م</string>
@@ -64,7 +63,6 @@
6463
<string name="widget_header_layout">مخطط عنوان عنصر واجهة المستخدم</string>
6564
<string name="pref_event_entry_layout_title">مخطط شكل الحدث</string>
6665
<string name="default_multiline_layout">الوقت تحت عنوان</string>
67-
<string name="show_date_on_widget_header">إظهار التاريخ في عنوان عنصر واجهة المستخدم</string>
6866
<string name="default_value">الإفتراضي</string>
6967
<string name="single_line_layout">جميعا في صف واحد</string>
7068
<string name="two_rows_layout">تخطيط ذو سطرين</string>

app/src/main/res/values-bs/strings.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
<string name="appearance_text_size_large">Velika</string>
3232
<string name="appearance_text_size_very_large">Vrlo velika</string>
3333
<string name="appearance_date_format_desc">Prikaži vrijeme u formatu am/pm ili 24 sata</string>
34-
<string name="appearance_date_format_title">Oblik datuma</string>
3534
<string name="appearance_date_format_auto">Automatski</string>
3635
<string name="appearance_date_format_24">17:00</string>
3736
<string name="appearance_date_format_12">5:00 pm</string>

app/src/main/res/values-da/strings.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
<string name="appearance_text_size_large">Stor</string>
2525
<string name="appearance_text_size_very_large">Meget stor</string>
2626
<string name="appearance_date_format_desc">Vis tid i 12 eller 24 timers format</string>
27-
<string name="appearance_date_format_title">Dato format</string>
2827
<string name="appearance_date_format_auto">Automatisk</string>
2928
<string name="appearance_date_format_24">17:00</string>
3029
<string name="appearance_date_format_12">5:00 pm</string>

app/src/main/res/values-el/strings.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
<string name="appearance_text_size_large">Μεγάλο</string>
3232
<string name="appearance_text_size_very_large">Πολύ μεγάλο</string>
3333
<string name="appearance_date_format_desc">Εμφάνιση ώρας σε μορφή π.μ./μ.μ. ή 24ωρη</string>
34-
<string name="appearance_date_format_title">Μορφή ημερομηνίας</string>
3534
<string name="appearance_date_format_auto">Αυτόματο</string>
3635
<string name="appearance_date_format_24">17:00</string>
3736
<string name="appearance_date_format_12">5:00 μ.μ</string>

0 commit comments

Comments
 (0)