Android custom keyboard with material design

I recently updated an application to implement Material Design. To make the application backward compatible, I changed my appBaseTheme from "Theme.Holo.Light.DarkActionBar" to "Theme.AppCompat.Light.DarkActionBar". However, I have a custom keyboard that constantly appears in an old bare theme.

I think I need to use a style called "Widget.Material.Light.KeyboardView", but I get a message:

Error: The resource is not public.

when I try to use it in the theme attribute of my keyboard. All I want is for my keyboard to look just like the new Lollipop keyboard. Can anybody help me?

+6
source share
1 answer

I somehow missed this answer, but this should cover what you are trying to do. Setting a flat color on the keys or background will give it a very material look, depending on the selected color palette.

How to change background color for keyboard for android keyboard?

0
source

Source: https://habr.com/ru/post/979203/


All Articles