Hide seekbar in exoplayer leanback - leanback

mMediaPlayerGlue.setSeekEnabled(false);
is not hiding the seekbar like the documentation says. Is this bugged or is there another way to do it?

The only solution is, and once again due to the lack of ability to work with these classes was reflection of PlaybackSupportFragment and editing the views visibility there.

Related

Context Menu on right click

We have been using vSphere, and through that we discovered Clarity, which we are migrating our Angular projects over to.
Something I've noticed in vSphere is - when you right click something in the tree view (to the right), a context menu comes out. Is there any support or tips for creating a context menu? I couldn't see anything in the documentation
Clarity itself does not support this, and it is generally against our recommendations due to changing the default browser behaviors. If you decide to use a feature like this you'll have to include or create a different Angular module for it.
I think I found the solution myself - looks like it's a telerik context menu

Making the gwt toolbar nicer

I am working on a project that already has begun being developed. ON some page, there is some textarea and a text-editor using gwt, from which I know nothing. The fact is that the style of the toolbar is very austere. Does anybody knows some way to make this toolbatr nicer, is there any doc somewhere ?
Best,
Newben
Here's a comprehensive guide on styling GWT.

Flex 3 - Using error tooltips as normal ones

I'd like to use tooltips with the same design as the error/validation tooltips (rounded box with a tip pointing to the mouse's position).
Given the name "error/validation tooltips", it bothers me to use them as normal tooltips.I haven't found people having the same "principles" issue as myself..
So, is it that bad to use the error/validation tooltips as normal tooltips? And, if yes, what would be the easiest way to re-use its design without rewriting much code?
Hope it's clear enough :) And that you will be able to enlighten me somehow in this matter :)
Regards.
BS_C3
Good or Bad is subjective based on what you're trying to do and the design of your app. There is never a right a wrong answer to stuff like that.
To reuse that design, you have two options that I see.
The first is to set the styleName of your toolTip component to errorTip.
The second is open up the default.css in the Flex Framework directory and copy and paste the CSS for the errorTip into your own CSS file that you then use in your application.
These docs will be good reading on this issue.

Where is a reference for the customizable stylesheet properties for Qt widgets?

I've been struggling with learning how to use stylesheets to customize the look of my widgets in Qt.
For example, after much effort, I just figured out that the name of the property that determines what color the text on a QComboBox drop-down menu is when it is mouse-over'd is selection-color, and the background color is selection-background-color. But most of that I discovered by random guess-and-check.
Where can I find documentation that will actually tell me these things so I don't have to guess? Does Qt follow some sort of standard naming convention?
http://doc.qt.nokia.com/latest/stylesheet-reference.html
http://doc.qt.io/qt-5/stylesheet-examples.html
The above link gives examples for pretty much every control. For the combobox it mentions the QAbstractItemView, and mentions that you need selection-background-color etc... to style it - with an example.
It doesn't always explain what each property does however, which is where the doc that baysmith linked to comes in.
So with these two documents together you should be in good shape.

Change icon of Alert buttons

How do I change the icons to Alert buttons like OK, CANCEL etc?
If you look at the source code for Alert there really isn't a lot there once you get past the comments and properties. What I've done in the past is to just copy the Alert class and modify my custom version however I see fit. That way you don't have to deal with the mx_internal stuff. If you are using Flex 4, there is no spark version of Alert, so another thing you can do is create your own spark version, which will give you even more control over skinning your alerts using skins etc. Sounds like a big deal, but it's actually much easier than you'd think (speaking from experience here.)
Just specify the iconClass paremeter of the Alert class. A detailed example can be found here.
You can find a complete source code and application example here

Resources