1
我在android中爲我的論文創建一個筆記應用程序,只想問如何將複選框放在EditText中,以及如何將它保存在保存格式的數據庫中。我在evernote 上看到這個,我真的不知道。感謝複製框內Edittext如何?
我在android中爲我的論文創建一個筆記應用程序,只想問如何將複選框放在EditText中,以及如何將它保存在保存格式的數據庫中。我在evernote 上看到這個,我真的不知道。感謝複製框內Edittext如何?
嘗試在RelativeLayout的重疊使用複選框您的EditText:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<EditText
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inputType="text"
/>
<CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="the checkbox" />
</RelativeLayout>
你想到底該怎麼保存到數據庫中保存的格式?如果它只是文本,則應將其保存在文本類型的列中。數據庫指南可以在這裏找到:http://www.vogella.com/articles/AndroidSQLite/article.html。
我沒有看到檢查編輯文本框裏面在Evernote的,你可以發佈的Evernote /設計的截圖你想 – rajpara 2012-08-09 17:07:20
http://blog.evernote.com/wp-content/uploads/2011/08/android_checklist。 jpg – iamkristher 2012-08-09 17:17:50
你必須爲此做出動態佈局,每次當你點擊回車鍵時,你必須動態地添加一個更多的自定義視圖與複選框和editText。 – rajpara 2012-08-09 17:23:50