wonjsohn / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
0 stars 0 forks source link

Make voice command availability indicator less disturbing #611

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create full-screen application layout, using bright text on transparent 
(black) background, with 20dp padding.
2. Add contextual voice command to your application, as described here: 
https://developers.google.com/glass/develop/gdk/voice#contextual_voice_commands
3. Launch the application.

What is the expected output? What do you see instead?
Problems:
1. After enabling voice command half of the screen is covered by gradient (dark 
on bottom).
2. "ok glass" covers some of the original texts.
Expected output:
1. Do not cover half of the screen with dark gradient, or at least make it 
optional.
2. Add option to hide "ok glass", or allow to use less disturbing indicator 
(like microphone or OK-glass logo, maybe allow developer to pick position for 
such as indicator).

Partial workaround is to have about 40dp padding on bottom - this solves 
problem with "ok glass" rendered on my own text, but gradient making half of 
the screen dark is still a there.

If that gradient would be exposed via style that developer could easilly 
override, problem would be probably solved - I couldn't find XML with Glass 
system styles, though.

What version of the product are you using? On what operating system?
Google Glass XE21.3.

Original issue reported on code.google.com by Michal.S...@gmail.com on 10 Oct 2014 at 10:52

GoogleCodeExporter commented 8 years ago
Tried to find workaround for that damn black gradient, but closest solution 
would be dropping GDK and using lower level voice recognition APIs, like in 
this project here:
https://github.com/RIVeR-Lab/google_glass_driver/tree/master/android/RobotManage
r/src/com/riverlab/robotmanager

But what I really need is properly working GDK voice recognition APIs - it's 
nicely hiding details I don't need, but why it has to darken half of the 
screen, for sake...

Original comment by Michal.S...@gmail.com on 10 Oct 2014 at 12:35

GoogleCodeExporter commented 8 years ago

Original comment by ala...@google.com on 13 Oct 2014 at 3:35