TextView textView = new TextView(context);
textView.setId(context.getResources().getIdentifier("3_name","id",context.getPackageName()));
textView.setText("6哈");
mLLContent.addView(textView);
int id = getResources().getIdentifier("3_name", "id", context.getPackageName());
TextView viewById = findViewById(id);
ToastUtil.showShortToast(viewById.getText().toString());