mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 02:17:43 +03:00
use chat bubble as fallback
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
0efdf2bbac
commit
c40a912815
5 changed files with 16 additions and 3 deletions
4
drawable_resources/chat_bubble.svg
Normal file
4
drawable_resources/chat_bubble.svg
Normal file
|
@ -0,0 +1,4 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
<path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z"/>
|
||||
<path d="M0 0h24v24H0z" fill="none"/>
|
||||
</svg>
|
After Width: | Height: | Size: 216 B |
|
@ -239,7 +239,7 @@ public class UsersAndGroupsSearchProvider extends ContentProvider {
|
|||
break;
|
||||
|
||||
case ROOM:
|
||||
icon = R.drawable.ic_group;
|
||||
icon = R.drawable.ic_chat_bubble;
|
||||
displayName = getContext().getString(R.string.share_room_clarification, userName);
|
||||
dataUri = Uri.withAppendedPath(groupBaseUri, shareWith);
|
||||
break;
|
||||
|
|
|
@ -102,7 +102,7 @@ public class ShareUserListAdapter extends ArrayAdapter {
|
|||
break;
|
||||
case ROOM:
|
||||
name = getContext().getString(R.string.share_room_clarification, name);
|
||||
setImage(icon, name, R.drawable.ic_group);
|
||||
setImage(icon, name, R.drawable.ic_chat_bubble);
|
||||
break;
|
||||
default:
|
||||
setImage(icon, name, R.drawable.ic_user);
|
||||
|
|
|
@ -112,7 +112,7 @@ public class UserListAdapter extends RecyclerView.Adapter<UserListAdapter.UserVi
|
|||
break;
|
||||
case ROOM:
|
||||
name = context.getString(R.string.share_room_clarification, name);
|
||||
setImage(holder, name, R.drawable.ic_group);
|
||||
setImage(holder, name, R.drawable.ic_chat_bubble);
|
||||
break;
|
||||
default:
|
||||
setImage(holder, name, R.drawable.ic_user);
|
||||
|
|
9
src/main/res/drawable/ic_chat_bubble.xml
Normal file
9
src/main/res/drawable/ic_chat_bubble.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M20,2H4c-1.1,0 -2,0.9 -2,2v18l4,-4h14c1.1,0 2,-0.9 2,-2V4c0,-1.1 -0.9,-2 -2,-2z"/>
|
||||
</vector>
|
Loading…
Reference in a new issue