$ rails g model User
belongs_to
has_one
http://guides.rubyonrails.org/migrations.html
| mContent = (EditText) v.findViewById(R.id.dialog_item_content_EditText); | |
| mContent.setText(mContentInit); | |
| mContent.setRawInputType(InputType.TYPE_CLASS_TEXT); | |
| mContent.setImeActionLabel(getResources().getString(R.string.done), EditorInfo.IME_ACTION_DONE); | |
| mContent.setImeOptions(EditorInfo.IME_ACTION_DONE); | |
| mContent.setOnEditorActionListener(new TextView.OnEditorActionListener() { | |
| @Override | |
| public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { | |
| if (event == null) { |