jacobposner
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2017
11:29 AM
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
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
3 REPLIES 3
jacobposner
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2017
07:02 AM
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!
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!
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2017
12:18 PM
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/
https://www.digitalsquid.co.uk/patchworker/
jacobposner
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2017
07:32 AM
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! 😄