-1
創建EditText
動態,但是當我點擊它們插入數據時,鍵盤不會打開。的Android的EditText動態
MaterialEditText ed = new MaterialEditText(getApplicationContext());
LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(
LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT);
layoutParams.setMargins(0, 20, 30, 0);
rlCampi.addView(ed, layoutParams);
MaterialEditText:你用的是什麼版本? –
這個:https://github.com/rengwuxian/MaterialEditText –
@DeboraCarnevali很樂意幫助你:)快樂編碼 –