Edit: I'm an idiot, move on...
The code and xml is below. I'm not getting any errors, but the text doesn't display. Anyone know why this doesn't work?
Code:
public boolean onPrepareMenuOptions ( Menu menu ) {
EditText currency = (EditText) menu.findItem ( R.id.currency );
currency.setText ( "test" );
return true;
}
@Override
public boolean onCreateOptionsMenu ( Menu menu ) {
getMenuInflater ().inflate ( R.menu.new_project, menu );
return true;
}
XML:
<EditText
android:id="@+id/currency"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/currency_summary" />