mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-02-17 03:51:03 +01:00
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…
x
Reference in New Issue
Block a user