How can you make a custom keyboard in Android?

System keyboard This answer tells how to make a custom system keyboard that can be used in any app that a user has installed on their phone. If you want to make a keyboard that will only be used within your own app, then see my other answer. The example below will look like this. You … Read more

org.xml.sax.SAXParseException: Content is not allowed in prolog

This is often caused by a white space before the XML declaration, but it could be any text, like a dash or any character. I say often caused by white space because people assume white space is always ignorable, but that’s not the case here. Another thing that often happens is a UTF-8 BOM (byte order mark), which is allowed … Read more

What does an asterisk (*) do in a CSS selector?

It is a wildcard, this means it will select all elements within that portion of the DOM. For example, if I want apply margin to every element on my entire page you can use: You can also use this within sub-selections, for example the following would add a margin to all elements within a paragraph … Read more