mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
create a new Contact at pressing FAB
This commit is contained in:
@ -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() {
|
||||||
|
Reference in New Issue
Block a user