android - How to create xml's id?

前端 未结 3 1858
悲哀的现实
悲哀的现实 2021-01-01 12:12

I\'m developing a dynamic keyboard application using soft keyboard sample. My application changes layout. For example I have a keyboard(has one key) then I set up the app an

3条回答
  •  孤城傲影
    2021-01-01 12:33

    XML files are compiled (binary XML) and thus you don't create them at runtime.

    If you want to change your keyboard layout dynamically, you'll do that programmatically rather than in XML.

提交回复
热议问题