Update CustomKeyboard.java

pull/536/head
okjack 2 years ago
parent 22b64cc2dd
commit 0be290a9fe
  1. 3
      app/src/leanback/java/com/fongmi/android/tv/ui/custom/CustomKeyboard.java

@ -22,7 +22,8 @@ public class CustomKeyboard implements KeyboardAdapter.OnClickListener {
}
private void initView() {
binding.keyboard.setHasFixedSize(true);
binding.keyboard.setItemAnimator(null);
binding.keyboard.setHasFixedSize(false);
binding.keyboard.addItemDecoration(new SpaceItemDecoration(6, 8));
binding.keyboard.setAdapter(adapter = new KeyboardAdapter(this));
}

Loading…
Cancel
Save