android leanback search fragment - android-tv

I am using Android Search Fragment in Android TV app.There is a specific requirement where on focus on voice search icon I want the color to become blue not just scale .Sharing the snapshot of present behavior.
Thanks in advance.

This is an unsupported hack, but it'll get the job done. You can override the color lb_speech_orb_recording as a color in your colors.xml file in your project. Then it looks like the below image:

Related

Xamarin - control that allows you to select from icons by swiping like iOS photo edit tools

I'm trying to find a control for Xamarin that allows you to pick a tool from a list of icons, but in a swipe format like in the iOS photo edit tools (image below).
I tried using CarouselView, but that only displays one item per swipe, and each item before and after - however I'd like around 5+ icons on screen, with the middle one selected.
If there isn't a control, I'll have to build one myself, but would prefer to use something that's already available if possible.
Thanks for any direction!
Oliver.
For me, the best practise for your case is to use the swipe gesture
https://learn.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/gestures/swipe
and write an expandable animation like this sample
https://github.com/devcrux/Xamarin.Forms-Expander

how to install material icons in google app maker

I don't quite understand exactly what i need to do to install material icons in google app maker and then how to use them. I would really appreciate anyone able to give me a step-by-step explanation. Thanks!
You don't need to install material icons you just need to use https://material.io/tools/icons/?style=baseline icon name. Just make sure that if is a button it has the "Fab" style variant for App Maker to make the change and replace the button text for the mdl icon name.
Style Variant
Text field for the widget (button)
Final result for a button.
You can also use different icons like in my case fontawesome.com. You need to get the CSS URL from the website then access to the App Maker "App Settings" and look for External Resources and add the link
After that search for an icon and will display some properties like these
Take the HTML properties to add them to the button Display > Styles as shown here.
Make sure there is nothing on "text" of the button and you will have something like this.
I had a hard time figuring this out when I was start using App Maker so I hope this helps you all.

set picture in apple watchface programmatically

WatchOS 2 does not allow custom watch faces, but users may create a somewhat custom face by selecting a background picture. Is there a way to set that picture programmatically?
No, it's not possible, there is no API with access to Watch Faces.

WatchKit - Get a touch location on a the screen

I am building an iPhone game with a watch extension. On the watch I would like the user to click on an image and I would like to know where on the image the user clicked. Is this possible with watchkit?
Update: In watchOS 3.0 this is no longer an issue. See answer for details.
With watchOS 3.0, you can now use WKTapGestureRecognizer combined with locationInObject() to get a touch location.
(still no UITouchEvent unfortunately).
This is not possible with the current version of WatchKit. The closest you could come to this is to detect that the user tapped an image/button. I suppose you could break the original image into smaller images/buttons and lay them out as a larger image, but I'm not sure how the performance would be.

Customize/show/hide navigation bar in BB10 for Android app

I have ported an Android app to BB10 and it works smoothly except for 1 0r 2 issues.
One being an issue with bottom navigation bar that holds "Back", "Hide", "Info" and "Overflow" buttons. It shows up by default when the app is launched and can be hidden using the "Hide" button. To retrieve it back on screen we use a BB10 gesture(Swipe from top bezel downwards) and pin it back.
The above behavior works fine in BB10 Simulator, but not in actual device(Z10), which may be due to OS issues as mentioned in some of the posts.
To overcome the issue I wanted to know is there anyway to Customize/Show(always)/Hide the navigation bar either through Android source code or any settings in Config. Please suggest a way to resolve the issue. Thanks in advance.
I have a similar issue. But based on official answers from the Blackberry forums it appears that they would give users some control only in a 'future' release. Please take a look at this link.
http://supportforums.blackberry.com/t5/Android-Runtime-Development/Detecting-navigation-bar-presence/m-p/2466821/highlight/true#M5243
This is the exact quote,
We are looking at an option to allow users to hide the navigation bar.
Hopefully this will be available in a future release.

Resources