Forum Discussion
speechles
7 years agoRoku Guru
"norcaljohnny" wrote:"speechles" wrote:"norcaljohnny" wrote:"sharkieSBS" wrote:
@norcaljohnny This still won't allow each button to have an unfocused "state" image, will it?
Yes, it will allow for the unfocused state with your custom image, assuming it is located in your image folder.
Dude, what are you smoking? It must not be the same stuff I am... lol
You want IconUri/FocusedIconUri and FocusedBitmapUri(If you even want or care about a background focus). You do not want that footprint. I mean if you have a need for it use it but Roku set the default to "" for a reason. For a reason I say. Understand the reason because 99 times out of 100 it has an undesired effect of this lingering odd weird shadow thing hangs on a button til you navigate it to the new one as you navigate off. It is just a placeholder for where you will land when you move that button group back into focus. 99 times out of 100 intutively people know. They don't like clumsy reminders unless it is done for a reason. Roku sets it "" so you can hopefully never use it. When you do you see it and go.. oh.. I see what that does it makes it look horrible. LOL
But you need to help people without misleading them. The individual in this case wants to use IconUri and FocusedBitmapUri to change an entire button as the focus and not just tint/blendcolor it or throw a background behind it or change its background. There are multiple ways to handle this. Focus is a wonderful thing since it can be so many things. Focus is alot like Tigger from Winnie the Pooh. The wonderful thing about focus is the tops are made out of rubber the bottoms are made out of springs. My focus is anyways.
Have fun with this. Don't get angry you cannot figure it out. Not everyone shares advice who really knows what they are doing. They have limited time. Whatever the reason there are some people who share code that are wonderful. You go wow I can dig that. Learn from it. Thanks for sharing. Then other times where you go.. wow.. I wish people would help only when they really know themselves what they are doing to help. You help people but hurt them by limit their knowledge by the limit of your own. Read the docs on button group ( https://sdkdocs.roku.com/display/sdkdoc/ButtonGroup ) not just saying this to blow wind in your face either. Not saying it to put you in your place. Just saying it because that is an obvious and most crucial place to start when you want to know something. Once you see how it is supposed to work try it. Does it work that way? How does it work? Can you figure out how it works if it differs from the SDK says it should? If you can make a note and always remember that. Share with us when you notice this difference.
There are many places the docs are not correct with how things work today. They were written yesterday. Always remember this. The best advice is your own, even if you don't take it or want to second guess yourself. The second best advice is to read the docs. The third best advice is trust no one. Believe nothing. Try code people give before you put confidence in anything they provide (text or code or conversation). You need to learn from good examples. The best examples are those which need no explanation. The simplest answer is likely correct. In this case it is just misunderstanding the button group and the uri to use for the buttons.
To mislead someone may not have been intentional but it is noticed by myself and others. If you can limit the misinformation you spread you are part of the solution otherwise you are part of the problem. Thanks for reading. đ
Hey man dont come off like a prick. I didnt pay attention to the focus uri and such, only they way his code was in general for the way he had coded his button group.
You wrote alot of BS but didnt answer his question or even try to come off as a helpful user so save the crap.
Please behave. If all you have to say is you didn't pay attention then simply say that. Why did you type the rest? Why did you insult me with this prick statement? You were offended you were too quick to give advice? If you can't be bothered to read the poor fellows post to offer help when they are being contrite. Look it up. I am not being a prick. I am honestly being curt. There is no time for nonsense. There is no such thing as BS. That term BS is created when an opinion differs from that of others. The differing opinion is called BS. One mans BS is another mans wisdom. Learn. They write SDK docs on Roku.com website. Roku publishes them and makes them available for free. Point users there. If you don't know something it is okay to say so. Don't call me out as a prick when you are the guy madly answering posts with wrong/inaccurate/attention-lacking information. Seriously. No harm in calling a black kettle black is there. No offense taken either in the prick remark. A fine point can be mistaken for a prick.
We are all people. We want answers. We want solutions. We want honesty. We don't want lack of attention to detail. Sorry. It is just painful to see people get bad advice and poor instruction. Other times it is people asking what the docs already cover and they get no reply? Gee.. they wonder why they don't get a reply. Then you help them rather poorly. I have to help the guy out of that hole. I tried to. You kept burying him. So brother give me a break. Give the world a break.
Why did you post just to have me post again? Clearly you must have expected this post. You called me a prick and that pretty much basically demanded this reply. Well.. this doesn't mean I expect one. We can just say yep.. That went totally off-topic for absolutely no reason and go about our respective days. Yep.. I can do that.. Can you?
sharkieSBS Do you still have issues with this or is everything now smooth sailing? Can you spell awkward? Oh wait I just did. I gave an example of it in the post above. đ