Android Question [SOLVED] Exoplayer subtitles shadow

Sasuke Sama

Active Member
Licensed User
how can i change it to
EDGE_TYPE_OUTLINE ? i tried to change the number but dosent do anything
also can i change the shadow size or color?
 

DonManfred

Expert
Licensed User

Sasuke Sama

Active Member
Licensed User
Pass 2 to the one before last parameter:
B4X:
CaptionStyleCompat.InitializeNewInstance("com.google.android.exoplayer2.text.CaptionStyleCompat", Array ( _
   ForegroundColor, BackgroundColor, WindowColor, 0, 2, Typeface.MONOSPACE)) 'EDGE_TYPE_DROP_SHADOW
The code dosent work
it dosent add any shadow
at first i thought it worked but then i tested it more and it dosent seems to add any kind of shadow
i tried to look into don link but no matter what i change still no shadow.
 
Top