adding a time zone divider

This commit is contained in:
tibbi
2022-07-26 12:18:01 +02:00
parent 1fc696e960
commit e95be5cb0b
2 changed files with 12 additions and 1 deletions

View File

@@ -225,6 +225,7 @@ class EventActivity : SimpleActivity() {
updateTextColors(event_scrollview) updateTextColors(event_scrollview)
updateIconColors() updateIconColors()
event_time_zone_divider.beVisibleIf(config.allowChangingTimeZones)
event_time_zone_image.beVisibleIf(config.allowChangingTimeZones) event_time_zone_image.beVisibleIf(config.allowChangingTimeZones)
event_time_zone.beVisibleIf(config.allowChangingTimeZones) event_time_zone.beVisibleIf(config.allowChangingTimeZones)
} }

View File

@@ -187,6 +187,16 @@
android:textSize="@dimen/day_text_size" android:textSize="@dimen/day_text_size"
tools:text="00:00" /> tools:text="00:00" />
<ImageView
android:id="@+id/event_time_zone_divider"
android:layout_width="match_parent"
android:layout_height="1px"
android:layout_below="@+id/event_end_time"
android:layout_marginTop="@dimen/medium_margin"
android:layout_marginBottom="@dimen/medium_margin"
android:background="@color/divider_grey"
android:importantForAccessibility="no" />
<ImageView <ImageView
android:id="@+id/event_time_zone_image" android:id="@+id/event_time_zone_image"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@@ -202,7 +212,7 @@
android:id="@+id/event_time_zone" android:id="@+id/event_time_zone"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@+id/event_end_date" android:layout_below="@+id/event_time_zone_divider"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:layout_marginStart="@dimen/small_margin" android:layout_marginStart="@dimen/small_margin"
android:layout_toEndOf="@+id/event_time_zone_image" android:layout_toEndOf="@+id/event_time_zone_image"