create a new Contact at pressing FAB
This commit is contained in:
parent
2f815dfe38
commit
5b514d5b92
|
@ -133,6 +133,7 @@ class ContactActivity : SimpleActivity() {
|
||||||
private fun setupNewContact() {
|
private fun setupNewContact() {
|
||||||
window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE)
|
window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE)
|
||||||
supportActionBar?.title = resources.getString(R.string.new_contact)
|
supportActionBar?.title = resources.getString(R.string.new_contact)
|
||||||
|
contact = Contact(0, "", "", "", "")
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun applyPhotoPlaceholder() {
|
private fun applyPhotoPlaceholder() {
|
||||||
|
|
Loading…
Reference in New Issue