Your Digital Media Has Never Looked So Good

 
jaxim
Topic Author
Posts: 79
Joined: Mon Sep 26, 2016 6:25 am

Problem w/ Changing the focusBitmapUri of MiniKeyboard

Fri Jun 29, 2018 11:19 am

I am trying to change the background (focusBitmapUri) of the focused text box of a minikeyboard using a 9-patch image. I ran into 2 problems:
  1. The background is no longer enlarged like the default focused background. (The focused key no longer appears scaled by a factor greater than 100%.) I tried to alter where I place the 9 grid lines. I tried to include an empty border around the 9-patched image. I get varying results but none of those results have the focused key as large as the default focused key (with no passed focusBitmapUri). 
  2. I also tried to alter the keyboard's focusedKeyColor and it seems that when I also assign a value to focusBitmapUri, then the text color has an opacity to it. (it's see thru.) My background is completely black and when I assign the focused text color to white "0xFFFFFFFF", the text looks dark gray rather than white and it is very hard to read. If I do not pass an image to the focusBitmapUri, then the font has no opacity.
Here are my questions:
  1. How do I get the focused background to be appear as large as the default focused background?
  2. How do I ensure the text color of the focused key does not have any opacity?
Last edited by jaxim on Fri Apr 12, 2019 6:41 am, edited 1 time in total.
 
jaxim
Topic Author
Posts: 79
Joined: Mon Sep 26, 2016 6:25 am

Re: Problem w/ Changing the focusBitmapUri of MiniKeyboard

Fri Apr 12, 2019 6:30 am

this is still a problem. Does anyone know of a solution?
 
norcaljohnny
Posts: 96
Joined: Thu Apr 13, 2017 11:00 pm

Re: Problem w/ Changing the focusBitmapUri of MiniKeyboard

Fri Apr 12, 2019 8:14 am

2 things...
1. What do you have your "ui_resolutions=" set to in your manifest file?
2. You can use color="#ffffff" if you intend not to have transparency. Which I get better results from and when transparency is needed I simply use opacity=".7" for instance.
 
jaxim
Topic Author
Posts: 79
Joined: Mon Sep 26, 2016 6:25 am

Re: Problem w/ Changing the focusBitmapUri of MiniKeyboard

Fri Apr 12, 2019 10:55 am

ui_resolutions is set to "fhd"
 
norcaljohnny
Posts: 96
Joined: Thu Apr 13, 2017 11:00 pm

Re: Problem w/ Changing the focusBitmapUri of MiniKeyboard

Fri Apr 12, 2019 2:51 pm

As in like this with no spaces or quotes?


ui_resolutions=fhd
 
jaxim
Topic Author
Posts: 79
Joined: Mon Sep 26, 2016 6:25 am

Re: Problem w/ Changing the focusBitmapUri of MiniKeyboard

Mon Apr 15, 2019 7:16 am

that is correct. Suggestions?
 
jaxim
Topic Author
Posts: 79
Joined: Mon Sep 26, 2016 6:25 am

Re: Problem w/ Changing the focusBitmapUri of MiniKeyboard

Wed Apr 17, 2019 11:44 am

Why would the ui_resolutions affect things? Do I need to create an fhd version of the focusBitmapUri image? If so, how is it different?

Who is online

Users browsing this forum: No registered users and 3 guests