[KetaiList] API 7.0 error?

  • Library used: Ketai UI> KetaiList
  • Is there a way to work with API 7.0?
    Fonts are not visible in 7.0 environment. I click on it but I can not see it.

Please help me. I need your help.

@GWAK ===

  • Not sure to understand your picture : the list seems visible with 24, invisible with 23

  • Is this issue happening on phones with the same density? Which one?

  • what happens if you write some text (not a list) with the same font && fontSize?

  1. The picture file has been modified.

  2. Same source code on the same phone.

  3. I did not use fonts separately, and I used the text size function.
    textFont - X
    textSize - O

@GWAK ===

  • ok, now i understand your picture…

  • if it is the same phone what OS is it using?

  • I repeat my last question : what happens with a “normal” text (same font, same fontSize) changing the target SDK as with KetaiList?

My smartphone version is 8.0 The Galaxy A8.

I have not changed the source code. However, I changed only the SDK version. But I can not see what is written in Ketialist.

What’s the reason?

Would you like to try it out?

KetaiList selectionlist;
KetaiVibrate vibe;
ArrayList<String> colorlist = new ArrayList<String>();
color backgroundcolor = color(0, 0, 0);

void setup()
  vibe = new KetaiVibrate(this);
  for (int i = 0; i < 20; i++)
    colorlist.add("Stub Entry " + i);
  //register for key events(keyPressed currently Broken)
  //registerMethod("keyEvent", this);  

void draw()

  text("click screen to change background color", width/2, height/2);

void mousePressed()
  if (mouseY < 100)
    if (mouseX < width/3)
    else if (mouseX > width/3 && mouseX < width-(width/3))
      KetaiAlertDialog.popup(this, "Pop Up!", "this is a popup message box");
    selectionlist = new KetaiList(this, colorlist);

void onKetaiListSelection(KetaiList klist)
  String selection = klist.getSelection();
  if (selection == "Black")
    backgroundcolor = color(0, 0, 0);
  else if (selection == "Red")
    backgroundcolor = color(255, 0, 0);
  else if (selection == "Green")
    backgroundcolor = color(0, 255, 0);
  else if (selection == "Blue")
    backgroundcolor = color(0, 0, 255);
  else if (selection == "Gray")
    backgroundcolor = color(128, 128, 128);

void drawUI()
  rect(0, 0, width/3, 100);
  rect(width/3, 0, width/3, 100);

  rect((width/3)*2, 0, width/3, 100);

  text("Keyboard", 5, 60); 
  text("PopUp", width/3 + 5, 60); 
  text("Vibrate", width/3*2 + 5, 60); 

//use event framework temporarily
public void keyPressed() {

    if (key == ' ')
      KetaiAlertDialog.popup(this, "SPACE pressed", "You pressed the <SPACE> key!");

@GWAK ===

  • this code has to work and the problem is not here
  • Target Sdk normally changes nothing: it only means that you have tested your app with this API
  • ketai list is a simple wrapper for a listView + an adapter from an ArrayList
  • answer to my third question putting some text in your draw and comment the list


Dear akenaton.

Please refer to the video(youtube).
I tested it as the example source for the Ketai library.

Why? Do you see this result?
Are you all right?
What’s the problem?

please check.

@GWAKemphasized text ===
No need from your video
i already told you:
if you try to write some text (not the list, comment it!) what happens???
another question could be : what is your build tools version in the SDK?
and another one: when you take another code example, not from ketai, and do the same (change the target build SDK from 6 to 7) what happens?


Dear akenaton,

I have solved it, but I do not know if this is the right way.

uses-sdk android: minSdkVersion = “15” android: targetSdkVersion = “23”

If you add this(code), it works fine.

1 Like


Dear akenaton,

Thanks to you, I was able to finish.

It is the video that the controller and the application that I created are linked with each other.
I hope you have fun.
Thank you.