Added pinning conversations (#197)
This commit is contained in:
parent
b52cafef09
commit
c14e1f5b95
36 changed files with 166 additions and 7 deletions
BIN
app/src/main/res/drawable-hdpi/ic_pin.png
Normal file
BIN
app/src/main/res/drawable-hdpi/ic_pin.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 882 B |
BIN
app/src/main/res/drawable-mdpi/ic_pin.png
Normal file
BIN
app/src/main/res/drawable-mdpi/ic_pin.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 532 B |
BIN
app/src/main/res/drawable-xhdpi/ic_pin.png
Normal file
BIN
app/src/main/res/drawable-xhdpi/ic_pin.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1 KiB |
BIN
app/src/main/res/drawable-xxhdpi/ic_pin.png
Normal file
BIN
app/src/main/res/drawable-xxhdpi/ic_pin.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/ic_pin.png
Normal file
BIN
app/src/main/res/drawable-xxxhdpi/ic_pin.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2 KiB |
|
|
@ -26,6 +26,24 @@
|
|||
android:layout_marginStart="@dimen/normal_margin"
|
||||
android:layout_marginEnd="@dimen/normal_margin" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/pin_indicator_l"
|
||||
android:layout_width="@dimen/normal_icon_size"
|
||||
android:layout_height="@dimen/normal_icon_size"
|
||||
android:layout_alignTop="@+id/conversation_address"
|
||||
android:layout_alignBottom="@+id/conversation_date"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginStart="@dimen/normal_margin"
|
||||
android:layout_marginEnd="@dimen/normal_margin">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/pin_indicator"
|
||||
android:layout_width="@dimen/pin_icon_size"
|
||||
android:layout_height="@dimen/pin_icon_size"
|
||||
android:layout_alignParentRight="true"
|
||||
android:src="@drawable/ic_pin" />
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/conversation_address"
|
||||
android:layout_width="match_parent"
|
||||
|
|
|
|||
|
|
@ -33,6 +33,14 @@
|
|||
android:id="@+id/cab_mark_as_unread"
|
||||
android:title="@string/mark_as_unread"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/cab_pin_conversation"
|
||||
android:title="@string/pin_conversation"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/cab_unpin_conversation"
|
||||
android:title="@string/unpin_conversation"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/cab_select_all"
|
||||
android:title="@string/select_all"
|
||||
|
|
|
|||
|
|
@ -19,4 +19,12 @@
|
|||
android:id="@+id/mark_as_unread"
|
||||
android:title="@string/mark_as_unread"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/pin_conversation"
|
||||
android:title="@string/pin_conversation"
|
||||
app:showAsAction="never" />
|
||||
<item
|
||||
android:id="@+id/unpin_conversation"
|
||||
android:title="@string/unpin_conversation"
|
||||
app:showAsAction="never" />
|
||||
</menu>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">Odesílá se…</string>
|
||||
<string name="export_messages">Export zpráv</string>
|
||||
<string name="import_messages">Import zpráv</string>
|
||||
<string name="pin_conversation">Pin to the top</string>
|
||||
<string name="unpin_conversation">Unpin</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">Nová konverzace</string>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">Sender…</string>
|
||||
<string name="export_messages">Eksporter beskeder</string>
|
||||
<string name="import_messages">Importer beskeder</string>
|
||||
<string name="pin_conversation">Pin to the top</string>
|
||||
<string name="unpin_conversation">Unpin</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">Ny Samtale</string>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">Sende…</string>
|
||||
<string name="export_messages">Export messages</string>
|
||||
<string name="import_messages">Import messages</string>
|
||||
<string name="pin_conversation">Pin to the top</string>
|
||||
<string name="unpin_conversation">Unpin</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">Neuer Chat</string>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">Γίνεται αποστολή…</string>
|
||||
<string name="export_messages">Εξαγωγή μηνυμάτων</string>
|
||||
<string name="import_messages">Εισαγωγή μηνυμάτων</string>
|
||||
<string name="pin_conversation">Pin to the top</string>
|
||||
<string name="unpin_conversation">Unpin</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">Νέα συνομιλία</string>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">Sending…</string>
|
||||
<string name="export_messages">Export messages</string>
|
||||
<string name="import_messages">Import messages</string>
|
||||
<string name="pin_conversation">Pin to the top</string>
|
||||
<string name="unpin_conversation">Unpin</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">Nueva conversación</string>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">Lähetetään…</string>
|
||||
<string name="export_messages">Export messages</string>
|
||||
<string name="import_messages">Import messages</string>
|
||||
<string name="pin_conversation">Pin to the top</string>
|
||||
<string name="unpin_conversation">Unpin</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">Uusi keskustelu</string>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">Envoi en cours…</string>
|
||||
<string name="export_messages">Export de messages</string>
|
||||
<string name="import_messages">Import de messages</string>
|
||||
<string name="pin_conversation">Pin to the top</string>
|
||||
<string name="unpin_conversation">Unpin</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">Nouvelle conversation</string>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">Sending…</string>
|
||||
<string name="export_messages">Export messages</string>
|
||||
<string name="import_messages">Import messages</string>
|
||||
<string name="pin_conversation">Pin to the top</string>
|
||||
<string name="unpin_conversation">Unpin</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">Nova conversa</string>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">Sending…</string>
|
||||
<string name="export_messages">Export messages</string>
|
||||
<string name="import_messages">Import messages</string>
|
||||
<string name="pin_conversation">Pin to the top</string>
|
||||
<string name="unpin_conversation">Unpin</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">Percakapan baru</string>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">Invio…</string>
|
||||
<string name="export_messages">Export messages</string>
|
||||
<string name="import_messages">Import messages</string>
|
||||
<string name="pin_conversation">Pin to the top</string>
|
||||
<string name="unpin_conversation">Unpin</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">Nuova conversazione</string>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">Sending…</string>
|
||||
<string name="export_messages">Export messages</string>
|
||||
<string name="import_messages">Import messages</string>
|
||||
<string name="pin_conversation">Pin to the top</string>
|
||||
<string name="unpin_conversation">Unpin</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">新しい会話</string>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">Sending…</string>
|
||||
<string name="export_messages">Export messages</string>
|
||||
<string name="import_messages">Import messages</string>
|
||||
<string name="pin_conversation">Pin to the top</string>
|
||||
<string name="unpin_conversation">Unpin</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">Naujas pokalbis</string>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">Sending…</string>
|
||||
<string name="export_messages">Export messages</string>
|
||||
<string name="import_messages">Import messages</string>
|
||||
<string name="pin_conversation">Pin to the top</string>
|
||||
<string name="unpin_conversation">Unpin</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">പുതിയ സംഭാഷണം</string>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">Versturen…</string>
|
||||
<string name="export_messages">Berichten exporteren</string>
|
||||
<string name="import_messages">Berichten importeren</string>
|
||||
<string name="pin_conversation">Pin to the top</string>
|
||||
<string name="unpin_conversation">Unpin</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">Nieuw gesprek</string>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">Wysyłanie…</string>
|
||||
<string name="export_messages">Eksportuj wiadomości</string>
|
||||
<string name="import_messages">Importuj wiadomości</string>
|
||||
<string name="pin_conversation">Przypnij na górze</string>
|
||||
<string name="unpin_conversation">Odepnij</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">Nowa rozmowa</string>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">A enviar…</string>
|
||||
<string name="export_messages">Exportar mensagens</string>
|
||||
<string name="import_messages">Importar mensagens</string>
|
||||
<string name="pin_conversation">Pin to the top</string>
|
||||
<string name="unpin_conversation">Unpin</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">Nova conversa</string>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">Отправка…</string>
|
||||
<string name="export_messages">Экспорт сообщений</string>
|
||||
<string name="import_messages">Импорт сообщений</string>
|
||||
<string name="pin_conversation">Pin to the top</string>
|
||||
<string name="unpin_conversation">Unpin</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">Новая переписка</string>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">Odosiela sa…</string>
|
||||
<string name="export_messages">Exportovať správy</string>
|
||||
<string name="import_messages">Importovať správy</string>
|
||||
<string name="pin_conversation">Pin to the top</string>
|
||||
<string name="unpin_conversation">Unpin</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">Nová konverzácia</string>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">Sending…</string>
|
||||
<string name="export_messages">Export messages</string>
|
||||
<string name="import_messages">Import messages</string>
|
||||
<string name="pin_conversation">Pin to the top</string>
|
||||
<string name="unpin_conversation">Unpin</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">Yeni görüşme</string>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">Sending…</string>
|
||||
<string name="export_messages">Export messages</string>
|
||||
<string name="import_messages">Import messages</string>
|
||||
<string name="pin_conversation">Pin to the top</string>
|
||||
<string name="unpin_conversation">Unpin</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">Нове листування</string>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">Sending…</string>
|
||||
<string name="export_messages">Export messages</string>
|
||||
<string name="import_messages">Import messages</string>
|
||||
<string name="pin_conversation">Pin to the top</string>
|
||||
<string name="unpin_conversation">Unpin</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">新的对话</string>
|
||||
|
|
|
|||
|
|
@ -5,4 +5,5 @@
|
|||
<dimen name="play_outline_size">36dp</dimen>
|
||||
<dimen name="attachment_preview_size">60dp</dimen>
|
||||
<dimen name="remove_attachment_size">24dp</dimen>
|
||||
<dimen name="pin_icon_size">15dp</dimen>
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
<string name="sending">Sending…</string>
|
||||
<string name="export_messages">Export messages</string>
|
||||
<string name="import_messages">Import messages</string>
|
||||
<string name="pin_conversation">Pin to the top</string>
|
||||
<string name="unpin_conversation">Unpin</string>
|
||||
|
||||
<!-- New conversation -->
|
||||
<string name="new_conversation">New conversation</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue