Skip to content

Commit

Permalink
corner time format
Browse files Browse the repository at this point in the history
  • Loading branch information
yuliskov committed Feb 22, 2022
1 parent 3417e7c commit 80963b6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void onTickle() {
if (endingTime != null) {
// https://stackoverflow.com/questions/5437674/what-unicode-characters-represent-time/9454080
//setText(String.format("⌛ %s", endingTime));
setText(endingTime);
setText(String.format("(%s)", endingTime));
}
}
}
Expand Down
12 changes: 6 additions & 6 deletions smarttubetv/src/main/res/layout/lb_playback_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
android:layout_gravity="top|right"
android:gravity="right"
android:padding="10sp">
<!-- Global ending time -->
<com.liskovsoft.smartyoutubetv2.tv.ui.widgets.time.EndingTimeView
android:id="@+id/global_ending_time"
<!-- Global clock -->
<com.liskovsoft.smartyoutubetv2.tv.ui.widgets.time.DateTimeView
android:id="@+id/global_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="20sp"
Expand All @@ -57,9 +57,9 @@
android:shadowRadius="1.6"
android:textStyle="bold"
style="?attr/playbackControlsTimeStyle"/>
<!-- Global clock -->
<com.liskovsoft.smartyoutubetv2.tv.ui.widgets.time.DateTimeView
android:id="@+id/global_time"
<!-- Global ending time -->
<com.liskovsoft.smartyoutubetv2.tv.ui.widgets.time.EndingTimeView
android:id="@+id/global_ending_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="20sp"
Expand Down

0 comments on commit 80963b6

Please sign in to comment.