我正在尝试加入类似于问题(Variable hline in ggplot with facet)的标题,但遇到另一个问题,我找不到有效的解决方案。
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
submitButton = (Button) findViewById(R.id.submit_button);
submitButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
EditText nameField = (EditText) findViewById(R.id.presentationName);
EditText recDay = (EditText) findViewById(R.id.date);
TextView comCat = (TextView) findViewById(R.id.speaker);
TextView menDar = (TextView) findViewById(R.id.recommend);
RadioGroup radioGroup = (RadioGroup) findViewById(R.id.rg);
EditText sugGest = (EditText) findViewById(R.id.suggestions);
Intent intent = new Intent(Intent.ACTION_SENDTO);
intent.setData(Uri.parse("mailto: example@gmail.com")); // only email apps should handle this
intent.putExtra(Intent.EXTRA_SUBJECT, "Presentation Review for: " + nameField.getText().toString());
if (intent.resolveActivity(getPackageManager()) != null) {
startActivity(intent);
}
String priceMessage = reviewOrderSummary(
"Logo", /* Logo is an image, and you printing string. Is that what you meant? */
nameField.getText().toString(),
recDay.getText().toString(),
comCat.getText().toString(),
true, /* rating_bar1_result is a TextView, and you printing boolean. Is that what you meant? */
"GRA", /* Indefinite */
true, /* rating_bar2_result is a TextView, and you printing boolean. Is that what you meant? */
"ADV", /* Indefinite */
true, /* rating_bar3_result is a TextView, and you printing boolean. Is that what you meant? */
menDar.getText().toString(),
radioGroup.getCheckedRadioButtonId() == 0,
sugGest.getText().toString()
);
displayMessage(priceMessage);
}
});
}
那是我的代码,我尝试过有一个单独的数据框,我将来自原始单独数据框的数据left_join加入了excoretum列中。我已经将数据从整数传输到数值等,但是无论如何,无论何时我现在尝试绘制它。
它返回:
// ImageView.getDisplay();
coolLogo.getDisplay();
// EditText.setText(name);
nameField.setText(name);
// TextView.setText(adv);
advAnt.setText(adv);
我可以将奇异的hline设置为一个值,但不会在该hline中搜索构面。