-
Notifications
You must be signed in to change notification settings - Fork 967
Feat: Add optional clock to TV player #2941
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 19 commits
d4b4ebc
9827d15
eb5b591
3a52d90
b8fc780
ed0cdbc
1e84bc1
be2bc46
1233949
febf325
c6723ae
c9b7c06
693db01
33a63ed
488bf37
3db6887
0af8077
42d18fd
874d2c2
6d6b8c1
7f13235
30952fd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
| android:width="24dp" | ||
| android:height="24dp" | ||
| android:viewportWidth="960" | ||
| android:viewportHeight="960"> | ||
| <path | ||
| android:pathData="m612,668 l56,-56 -148,-148v-184h-80v216l172,172ZM480,880q-83,0 -156,-31.5T197,763q-54,-54 -85.5,-127T80,480q0,-83 31.5,-156T197,197q54,-54 127,-85.5T480,80q83,0 156,31.5T763,197q54,54 85.5,127T880,480q0,83 -31.5,156T763,763q-54,54 -127,85.5T480,880ZM480,480ZM480,800q133,0 226.5,-93.5T800,480q0,-133 -93.5,-226.5T480,160q-133,0 -226.5,93.5T160,480q0,133 93.5,226.5T480,800Z" | ||
| android:fillColor="#e3e3e3"/> | ||
| </vector> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -264,6 +264,15 @@ | |
| tools:visibility="visible" | ||
| android:layout_gravity="center"/> | ||
| </LinearLayout> | ||
|
|
||
| <TextClock | ||
| android:id="@+id/player_video_clock" | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remember to also place a dummy clock in
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I added the dummy clock to trailer_custom_layout.xml, but the tv layout seems to be using the player_custom_layout_tv.xml for the trailers. It doesn't show any title in the top right, only source information. This causes there to be a gap between the clock and the source infromation. How should i solve this?
|
||
| android:layout_width="wrap_content" | ||
| android:layout_height="wrap_content" | ||
| android:layout_gravity="end" | ||
| android:gravity="end" | ||
| android:visibility="gone" | ||
| android:textStyle="bold" /> | ||
| </LinearLayout> | ||
|
|
||
| <!-- Removed as it has no use anymore--> | ||
|
|
||

Uh oh!
There was an error while loading. Please reload this page.