show a toast if the user tries toggling Favorite at the View screen

This commit is contained in:
tibbi 2018-04-27 09:46:54 +02:00
parent a3f3cc5fbe
commit 0031be51fb
13 changed files with 15 additions and 0 deletions

View File

@ -157,6 +157,9 @@ class ViewContactActivity : ContactActivity() {
setImageDrawable(getStarDrawable(contact!!.starred == 1))
tag = contact!!.starred
applyColorFilter(config.textColor)
setOnClickListener {
toast(R.string.must_be_at_edit)
}
}
}

View File

@ -73,6 +73,7 @@
<string name="add_favorites">Favoriten hinzufügen</string>
<string name="add_to_favorites">Zu Favoriten hinzufügen</string>
<string name="remove_from_favorites">Aus Favoriten entfernen</string>
<string name="must_be_at_edit">You must be at the Edit screen to modify a contact</string>
<!-- Search -->
<string name="search_contacts">Kontakte durchsuchen</string>

View File

@ -73,6 +73,7 @@
<string name="add_favorites">Προσθήκη αγαπημένων</string>
<string name="add_to_favorites">Προσθήκη στα αγαπημένα</string>
<string name="remove_from_favorites">Αφαίρεση από τα αγαπημένα</string>
<string name="must_be_at_edit">You must be at the Edit screen to modify a contact</string>
<!-- Search -->
<string name="search_contacts">Αναζήτηση επαφών</string>

View File

@ -73,6 +73,7 @@
<string name="add_favorites">Ajouter des favoris</string>
<string name="add_to_favorites">Ajouter aux favoris</string>
<string name="remove_from_favorites">Retirer des favoris</string>
<string name="must_be_at_edit">You must be at the Edit screen to modify a contact</string>
<!-- Search -->
<string name="search_contacts">Rechercher des contacts</string>

View File

@ -73,6 +73,7 @@
<string name="add_favorites">Dodaj favorite</string>
<string name="add_to_favorites">Dodaj u favorite</string>
<string name="remove_from_favorites">Ukloni iz favorita</string>
<string name="must_be_at_edit">You must be at the Edit screen to modify a contact</string>
<!-- Search -->
<string name="search_contacts">Pretraži kontakte</string>

View File

@ -73,6 +73,7 @@
<string name="add_favorites">자주쓰는 연락처 등록</string>
<string name="add_to_favorites">자주쓰는 연락처에 추가</string>
<string name="remove_from_favorites">자주쓰는 연락처에서 제거</string>
<string name="must_be_at_edit">You must be at the Edit screen to modify a contact</string>
<!-- Search -->
<string name="search_contacts">연락처 검색</string>

View File

@ -73,6 +73,7 @@
<string name="add_favorites">Pridėti mėgiamiausiuosius</string>
<string name="add_to_favorites">Pridėti į mėgiamiausiuosius</string>
<string name="remove_from_favorites">Pašalinti iš mėgiamiausiųjų</string>
<string name="must_be_at_edit">You must be at the Edit screen to modify a contact</string>
<!-- Search -->
<string name="search_contacts">Ieškoti kontaktų</string>

View File

@ -73,6 +73,7 @@
<string name="add_favorites">Adicionar favoritos</string>
<string name="add_to_favorites">Adicionar aos favoritos</string>
<string name="remove_from_favorites">Remover dos favoritos</string>
<string name="must_be_at_edit">You must be at the Edit screen to modify a contact</string>
<!-- Search -->
<string name="search_contacts">Pesquisar contactos</string>

View File

@ -73,6 +73,7 @@
<string name="add_favorites">Добавить избранные</string>
<string name="add_to_favorites">Добавить в избранные</string>
<string name="remove_from_favorites">Удалить из избранных</string>
<string name="must_be_at_edit">You must be at the Edit screen to modify a contact</string>
<!-- Search -->
<string name="search_contacts">Поиск контактов</string>

View File

@ -73,6 +73,7 @@
<string name="add_favorites">Pridať obľúbené</string>
<string name="add_to_favorites">Pridať medzi obľúbené</string>
<string name="remove_from_favorites">Odstrániť z obľúbených</string>
<string name="must_be_at_edit">Pre úpravu kontaktu musíte byť v Editore kontaktu</string>
<!-- Search -->
<string name="search_contacts">Hľadať v kontaktoch</string>

View File

@ -73,6 +73,7 @@
<string name="add_favorites">Lägg till favoriter</string>
<string name="add_to_favorites">Lägg till i favoriter</string>
<string name="remove_from_favorites">Ta bort från favoriter</string>
<string name="must_be_at_edit">You must be at the Edit screen to modify a contact</string>
<!-- Search -->
<string name="search_contacts">Sök efter kontakter</string>

View File

@ -73,6 +73,7 @@
<string name="add_favorites">添加我的最愛</string>
<string name="add_to_favorites">加入我的最愛</string>
<string name="remove_from_favorites">從我的最愛移除</string>
<string name="must_be_at_edit">You must be at the Edit screen to modify a contact</string>
<!-- Search -->
<string name="search_contacts">搜尋聯絡人</string>

View File

@ -73,6 +73,7 @@
<string name="add_favorites">Add favorites</string>
<string name="add_to_favorites">Add to favorites</string>
<string name="remove_from_favorites">Remove from favorites</string>
<string name="must_be_at_edit">You must be at the Edit screen to modify a contact</string>
<!-- Search -->
<string name="search_contacts">Search contacts</string>