mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-27 07:24:13 +01:00
outlined icons
This commit is contained in:
parent
ab8dc6a4d2
commit
9f4ace633f
14 changed files with 31 additions and 45 deletions
|
@ -861,7 +861,7 @@ public class NotificationService {
|
|||
);
|
||||
if (media.contains(Media.VIDEO)) {
|
||||
style.setIsVideo(true);
|
||||
builder.setSmallIcon(R.drawable.ic_videocam_white_24dp);
|
||||
builder.setSmallIcon(R.drawable.outline_videocam_white_24);
|
||||
builder.setContentTitle(mXmppConnectionService.getString(R.string.rtp_state_incoming_video_call));
|
||||
} else {
|
||||
style.setIsVideo(false);
|
||||
|
@ -910,7 +910,7 @@ public class NotificationService {
|
|||
);
|
||||
if (ongoingCall.media.contains(Media.VIDEO)) {
|
||||
style.setIsVideo(true);
|
||||
builder.setSmallIcon(R.drawable.ic_videocam_white_24dp);
|
||||
builder.setSmallIcon(R.drawable.outline_videocam_white_24);
|
||||
if (ongoingCall.reconnecting) {
|
||||
builder.setContentTitle(mXmppConnectionService.getString(R.string.reconnecting_video_call));
|
||||
} else {
|
||||
|
|
|
@ -1076,7 +1076,7 @@ public class ContactDetailsActivity extends OmemoActivity implements OnAccountUp
|
|||
binding.command.setCompoundDrawablePadding(20);
|
||||
} else if (uri.getScheme().equals("tel")) {
|
||||
binding.command.setText(uri.getSchemeSpecificPart());
|
||||
binding.command.setCompoundDrawablesRelativeWithIntrinsicBounds(getDrawable(R.attr.ic_make_audio_call), null, null, null);
|
||||
binding.command.setCompoundDrawablesRelativeWithIntrinsicBounds(getDrawable(R.attr.icon_call), null, null, null);
|
||||
binding.command.setCompoundDrawablePadding(20);
|
||||
} else if (uri.getScheme().equals("mailto")) {
|
||||
binding.command.setText(uri.getSchemeSpecificPart());
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<vector android:alpha="0.75" android:height="24dp"
|
||||
android:tint="#000000" android:viewportHeight="24"
|
||||
android:viewportWidth="24" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="@android:color/white" android:pathData="M13,16h-2c-0.55,0 -1,-0.45 -1,-1L3.01,15v4c0,1.1 0.9,2 2,2L19,21c1.1,0 2,-0.9 2,-2v-4h-7c0,0.55 -0.45,1 -1,1zM20,7h-4c0,-2.21 -1.79,-4 -4,-4S8,4.79 8,7L4,7c-1.1,0 -2,0.9 -2,2v3c0,1.11 0.89,2 2,2h6v-1c0,-0.55 0.45,-1 1,-1h2c0.55,0 1,0.45 1,1v1h6c1.1,0 2,-0.9 2,-2L22,9c0,-1.1 -0.9,-2 -2,-2zM10,7c0,-1.1 0.9,-2 2,-2s2,0.9 2,2L9.99,7 10,7z"/>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#000000" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
|
||||
|
||||
<path android:fillColor="@android:color/white" android:pathData="M20,7h-4L16,5l-2,-2h-4L8,5v2L4,7c-1.1,0 -2,0.9 -2,2v5c0,0.75 0.4,1.38 1,1.73L3,19c0,1.11 0.89,2 2,2h14c1.11,0 2,-0.89 2,-2v-3.28c0.59,-0.35 1,-0.99 1,-1.72L22,9c0,-1.1 -0.9,-2 -2,-2zM10,5h4v2h-4L10,5zM4,9h16v5h-5v-3L9,11v3L4,14L4,9zM13,15h-2v-2h2v2zM19,19L5,19v-3h4v1h6v-1h4v3z"/>
|
||||
|
||||
</vector>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<vector android:alpha="0.75" android:height="24dp"
|
||||
android:tint="#FFFFFF" android:viewportHeight="24"
|
||||
android:viewportWidth="24" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="@android:color/white" android:pathData="M13,16h-2c-0.55,0 -1,-0.45 -1,-1L3.01,15v4c0,1.1 0.9,2 2,2L19,21c1.1,0 2,-0.9 2,-2v-4h-7c0,0.55 -0.45,1 -1,1zM20,7h-4c0,-2.21 -1.79,-4 -4,-4S8,4.79 8,7L4,7c-1.1,0 -2,0.9 -2,2v3c0,1.11 0.89,2 2,2h6v-1c0,-0.55 0.45,-1 1,-1h2c0.55,0 1,0.45 1,1v1h6c1.1,0 2,-0.9 2,-2L22,9c0,-1.1 -0.9,-2 -2,-2zM10,7c0,-1.1 0.9,-2 2,-2s2,0.9 2,2L9.99,7 10,7z"/>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#FFFFFF" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
|
||||
|
||||
<path android:fillColor="@android:color/white" android:pathData="M20,7h-4L16,5l-2,-2h-4L8,5v2L4,7c-1.1,0 -2,0.9 -2,2v5c0,0.75 0.4,1.38 1,1.73L3,19c0,1.11 0.89,2 2,2h14c1.11,0 2,-0.89 2,-2v-3.28c0.59,-0.35 1,-0.99 1,-1.72L22,9c0,-1.1 -0.9,-2 -2,-2zM10,5h4v2h-4L10,5zM4,9h16v5h-5v-3L9,11v3L4,14L4,9zM13,15h-2v-2h2v2zM19,19L5,19v-3h4v1h6v-1h4v3z"/>
|
||||
|
||||
</vector>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<vector android:alpha="0.75" android:height="24dp"
|
||||
android:tint="#000000" android:viewportHeight="24"
|
||||
android:viewportWidth="24" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="@android:color/white" android:pathData="M20,4L4,4c-1.1,0 -1.99,0.9 -1.99,2L2,18c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2L22,6c0,-1.1 -0.9,-2 -2,-2zM19.6,8.25l-7.07,4.42c-0.32,0.2 -0.74,0.2 -1.06,0L4.4,8.25c-0.25,-0.16 -0.4,-0.43 -0.4,-0.72 0,-0.67 0.73,-1.07 1.3,-0.72L12,11l6.7,-4.19c0.57,-0.35 1.3,0.05 1.3,0.72 0,0.29 -0.15,0.56 -0.4,0.72z"/>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#000000" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
|
||||
|
||||
<path android:fillColor="@android:color/white" android:pathData="M22,6c0,-1.1 -0.9,-2 -2,-2L4,4c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2L22,6zM20,6l-8,5 -8,-5h16zM20,18L4,18L4,8l8,5 8,-5v10z"/>
|
||||
|
||||
</vector>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<vector android:alpha="0.75" android:height="24dp"
|
||||
android:tint="#FFFFFF" android:viewportHeight="24"
|
||||
android:viewportWidth="24" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="@android:color/white" android:pathData="M20,4L4,4c-1.1,0 -1.99,0.9 -1.99,2L2,18c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2L22,6c0,-1.1 -0.9,-2 -2,-2zM19.6,8.25l-7.07,4.42c-0.32,0.2 -0.74,0.2 -1.06,0L4.4,8.25c-0.25,-0.16 -0.4,-0.43 -0.4,-0.72 0,-0.67 0.73,-1.07 1.3,-0.72L12,11l6.7,-4.19c0.57,-0.35 1.3,0.05 1.3,0.72 0,0.29 -0.15,0.56 -0.4,0.72z"/>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#FFFFFF" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
|
||||
|
||||
<path android:fillColor="@android:color/white" android:pathData="M22,6c0,-1.1 -0.9,-2 -2,-2L4,4c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2L22,6zM20,6l-8,5 -8,-5h16zM20,18L4,18L4,8l8,5 8,-5v10z"/>
|
||||
|
||||
</vector>
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:src="@drawable/ic_call_white_24dp"
|
||||
android:tint="@color/white70" />
|
|
@ -1,4 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:src="@drawable/ic_videocam_white_24dp"
|
||||
android:tint="@color/white70" />
|
|
@ -1,5 +1,5 @@
|
|||
<vector android:alpha="0.75" android:height="24dp"
|
||||
android:tint="#000000" android:viewportHeight="24"
|
||||
android:viewportWidth="24" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="@android:color/white" android:pathData="M20,2L8,2c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2L22,4c0,-1.1 -0.9,-2 -2,-2zM11.5,9.5c0,0.83 -0.67,1.5 -1.5,1.5L9,11v1.25c0,0.41 -0.34,0.75 -0.75,0.75s-0.75,-0.34 -0.75,-0.75L7.5,8c0,-0.55 0.45,-1 1,-1L10,7c0.83,0 1.5,0.67 1.5,1.5v1zM16.5,11.5c0,0.83 -0.67,1.5 -1.5,1.5h-2c-0.28,0 -0.5,-0.22 -0.5,-0.5v-5c0,-0.28 0.22,-0.5 0.5,-0.5h2c0.83,0 1.5,0.67 1.5,1.5v3zM20.5,7.75c0,0.41 -0.34,0.75 -0.75,0.75L19,8.5v1h0.75c0.41,0 0.75,0.34 0.75,0.75s-0.34,0.75 -0.75,0.75L19,11v1.25c0,0.41 -0.34,0.75 -0.75,0.75s-0.75,-0.34 -0.75,-0.75L17.5,8c0,-0.55 0.45,-1 1,-1h1.25c0.41,0 0.75,0.34 0.75,0.75zM9,9.5h1v-1L9,8.5v1zM3,6c-0.55,0 -1,0.45 -1,1v13c0,1.1 0.9,2 2,2h13c0.55,0 1,-0.45 1,-1s-0.45,-1 -1,-1L5,20c-0.55,0 -1,-0.45 -1,-1L4,7c0,-0.55 -0.45,-1 -1,-1zM14,11.5h1v-3h-1v3z"/>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#000000" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
|
||||
|
||||
<path android:fillColor="@android:color/white" android:pathData="M20,2L8,2c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2L22,4c0,-1.1 -0.9,-2 -2,-2zM20,16L8,16L8,4h12v12zM4,6L2,6v14c0,1.1 0.9,2 2,2h14v-2L4,20L4,6zM16,12L16,9c0,-0.55 -0.45,-1 -1,-1h-2v5h2c0.55,0 1,-0.45 1,-1zM14,9h1v3h-1L14,9zM18,11h1v-1h-1L18,9h1L19,8h-2v5h1zM10,11h1c0.55,0 1,-0.45 1,-1L12,9c0,-0.55 -0.45,-1 -1,-1L9,8v5h1v-2zM10,9h1v1h-1L10,9z"/>
|
||||
|
||||
</vector>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<vector android:alpha="0.75" android:height="24dp"
|
||||
android:tint="#FFFFFF" android:viewportHeight="24"
|
||||
android:viewportWidth="24" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="@android:color/white" android:pathData="M20,2L8,2c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2L22,4c0,-1.1 -0.9,-2 -2,-2zM11.5,9.5c0,0.83 -0.67,1.5 -1.5,1.5L9,11v1.25c0,0.41 -0.34,0.75 -0.75,0.75s-0.75,-0.34 -0.75,-0.75L7.5,8c0,-0.55 0.45,-1 1,-1L10,7c0.83,0 1.5,0.67 1.5,1.5v1zM16.5,11.5c0,0.83 -0.67,1.5 -1.5,1.5h-2c-0.28,0 -0.5,-0.22 -0.5,-0.5v-5c0,-0.28 0.22,-0.5 0.5,-0.5h2c0.83,0 1.5,0.67 1.5,1.5v3zM20.5,7.75c0,0.41 -0.34,0.75 -0.75,0.75L19,8.5v1h0.75c0.41,0 0.75,0.34 0.75,0.75s-0.34,0.75 -0.75,0.75L19,11v1.25c0,0.41 -0.34,0.75 -0.75,0.75s-0.75,-0.34 -0.75,-0.75L17.5,8c0,-0.55 0.45,-1 1,-1h1.25c0.41,0 0.75,0.34 0.75,0.75zM9,9.5h1v-1L9,8.5v1zM3,6c-0.55,0 -1,0.45 -1,1v13c0,1.1 0.9,2 2,2h13c0.55,0 1,-0.45 1,-1s-0.45,-1 -1,-1L5,20c-0.55,0 -1,-0.45 -1,-1L4,7c0,-0.55 -0.45,-1 -1,-1zM14,11.5h1v-3h-1v3z"/>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#FFFFFF" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp">
|
||||
|
||||
<path android:fillColor="@android:color/white" android:pathData="M20,2L8,2c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2L22,4c0,-1.1 -0.9,-2 -2,-2zM20,16L8,16L8,4h12v12zM4,6L2,6v14c0,1.1 0.9,2 2,2h14v-2L4,20L4,6zM16,12L16,9c0,-0.55 -0.45,-1 -1,-1h-2v5h2c0.55,0 1,-0.45 1,-1zM14,9h1v3h-1L14,9zM18,11h1v-1h-1L18,9h1L19,8h-2v5h1zM10,11h1c0.55,0 1,-0.45 1,-1L12,9c0,-0.55 -0.45,-1 -1,-1L9,8v5h1v-2zM10,9h1v1h-1L10,9z"/>
|
||||
|
||||
</vector>
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
<menu>
|
||||
<item
|
||||
android:id="@+id/action_audio_call"
|
||||
android:icon="?attr/ic_make_audio_call"
|
||||
android:icon="?attr/icon_call"
|
||||
android:title="@string/audio_call" />
|
||||
<item
|
||||
android:id="@+id/action_video_call"
|
||||
android:icon="?attr/ic_make_video_call"
|
||||
android:icon="?attr/take_video"
|
||||
android:title="@string/video_call" />
|
||||
</menu>
|
||||
</item>
|
||||
|
|
|
@ -15,11 +15,11 @@
|
|||
<menu>
|
||||
<item
|
||||
android:id="@+id/action_audio_call"
|
||||
android:icon="?attr/ic_make_audio_call"
|
||||
android:icon="?attr/icon_call"
|
||||
android:title="@string/audio_call" />
|
||||
<item
|
||||
android:id="@+id/action_video_call"
|
||||
android:icon="?attr/ic_make_video_call"
|
||||
android:icon="?attr/take_video"
|
||||
android:title="@string/video_call" />
|
||||
</menu>
|
||||
</item>
|
||||
|
|
|
@ -54,8 +54,6 @@
|
|||
<attr name="ic_keyboard_button" format="reference" />
|
||||
<attr name="icon_gps_fixed" format="reference" />
|
||||
<attr name="icon_gps_not_fixed" format="reference" />
|
||||
<attr name="ic_make_audio_call" format="reference"/>
|
||||
<attr name="ic_make_video_call" format="reference"/>
|
||||
<attr name="ic_dialpad_24dp" format="reference"/>
|
||||
|
||||
<attr name="conversations_overview_background" format="reference|color" />
|
||||
|
|
|
@ -152,8 +152,6 @@
|
|||
<item name="icon_quote" type="reference">@drawable/ic_reply_black</item>
|
||||
<item name="icon_new_attachment" type="reference">@drawable/ic_attach_file_black_24dp</item>
|
||||
<item name="icon_not_secure" type="reference">@drawable/ic_lock_open_black_24dp</item>
|
||||
<item name="ic_make_audio_call" type="reference">@drawable/ic_call_black54_24dp</item>
|
||||
<item name="ic_make_video_call" type="reference">@drawable/ic_videocam_black54_24dp</item>
|
||||
<item name="icon_call" type="reference">@drawable/ic_call_black_24dp</item>
|
||||
<item name="icon_ongoing_call" type="reference">@drawable/ic_phone_in_talk_black_24dp</item>
|
||||
<item name="ic_ongoing_call_hint" type="reference">@drawable/ic_phone_in_talk_black_18dp
|
||||
|
@ -394,8 +392,6 @@
|
|||
<item name="icon_refresh" type="reference">@drawable/ic_refresh_white_24dp</item>
|
||||
<item name="icon_new_attachment" type="reference">@drawable/ic_attach_file_white_24dp</item>
|
||||
<item name="icon_not_secure" type="reference">@drawable/ic_lock_open_white_24dp</item>
|
||||
<item name="ic_make_audio_call" type="reference">@drawable/ic_call_white70_24dp</item>
|
||||
<item name="ic_make_video_call" type="reference">@drawable/ic_videocam_white70_24dp</item>
|
||||
<item name="icon_call" type="reference">@drawable/ic_call_white_24dp</item>
|
||||
<item name="icon_ongoing_call" type="reference">@drawable/ic_phone_in_talk_white_24dp</item>
|
||||
<item name="ic_ongoing_call_hint" type="reference">@drawable/ic_phone_in_talk_white_18dp
|
||||
|
|
Loading…
Add table
Reference in a new issue