• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

xml

  1. M

    "Content is not allowed in prolog error" despite valid XML

    I recently changed my project to a Compose app. I safely deleted my now redundant fragments and their XML files, and removed all references to them. Now when I try and build my file, it crashes with the error: Execution failed for task ':app:extractDeepLinksDebug'. >...
  2. Q

    Transferring colors from c++ to xml

    How do I transfer color hex values from native c++ to xml? I want to have changeable colors in panels that are being changed by c++ code. Since the app gui is xml, I need to change colors in the xml from c++. If there is a way to change colors using rgb values, that would be useful too.
  3. F

    Apps Custom keyboard - write full text and not character

    Hi, Trying to learn to create a keyboard. Wanted to see if there is a way to associate a full word to a keyboard key. In my example, I'm trying to get the following item: ·e· I tried the following, but it only inserts the first middle-dot. Any help is appreciated.
  4. F

    Apps Add "subkeyboard" associated to key?

    I'm trying to create a custom Android Keyboard, just trying to learn the process. I've been relatively successful, as I'm just learning the basics for now: My question is, how can I achieve this effect from the usual keyboard in which I keep a key pressed and a list of more options will pop...
  5. Thomas Thorton

    Autoscaling Linearlayout and TextView

    Is there a way to auto-scale Linearlayout when TextView is too big? Like Facebook posts. When text or image is to large the layout is getting higher. I tried to do it via xml file but I didn't make it. Any suggestions?
  6. Gleis

    Apps Android Studio - App closes when you press the main button even thought the code is working fine !

    Tried many methods by changing the code, but it closes every time I press the "Try" button. You can find the Design, XML & Java code below. Also Android Studio is up to date. The "//" is the old code I tried. public class MainActivity extends AppCompatActivity { //int randomNumber...
Back
Top Bottom