Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jacobposner
Visitor

FocusBitmap Issues FloatingFocus vs FixedFocusWrap

Hello all, 

I am currently developing an app on a Roku 4 Premium+ running v7.6 and am attempting to use a 9-patch image for the focus bitmap. There are no problems in my Row List when the row fills the entire section with items and FixedFocusWrap is being used for the RowFocusAnimationStyle. The issue begins when FloatingFocus is initiated for a row that does not have enough items to fill the screen/row. When this problem occurs, the focus bitmap shifts to the left about 10 units from where it is on the other rows.

Does anyone know why this happens with FloatingFocus? And how to prevent it so that the alignment of the focus bitmap is the same regardless of the RowFocusAnimationStyle?

Thank you!
Jake
0 Kudos
3 REPLIES 3
jacobposner
Visitor

Re: FocusBitmap Issues FloatingFocus vs FixedFocusWrap

So it seems that it was my image that was causing the problem. I still don't know what about the image I was using was wrong or how the focus bitmap could shift outside of the width of the list itself. If anyone has any insight into that I am all ears.

I made my original image here:
https://romannurik.github.io/AndroidAss ... 0&name=9_0

Now I am using this instead:
http://inloop.github.io/shadow4android/

If anyone has another 9-patch generator that is better than the shadow generator I am using please let me know!
0 Kudos
destruk
Streaming Star

Re: FocusBitmap Issues FloatingFocus vs FixedFocusWrap

I don't know if it is 'better' - but I used this one before and it worked for what I needed it to do. (FREE) 

https://www.digitalsquid.co.uk/patchworker/
0 Kudos
jacobposner
Visitor

Re: FocusBitmap Issues FloatingFocus vs FixedFocusWrap

"destruk" wrote:
I don't know if it is 'better' - but I used this one before and it worked for what I needed it to do. (FREE) 

https://www.digitalsquid.co.uk/patchworker/

Thank you I will check it out!  😄
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.