use chat bubble as fallback

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2018-09-19 14:18:37 +02:00
parent 0efdf2bbac
commit c40a912815
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7
5 changed files with 16 additions and 3 deletions

View 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

View file

@ -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;

View file

@ -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);

View file

@ -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);

View 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>