Replaced hourglass icon

This commit is contained in:
M66B 2020-09-28 13:28:49 +02:00
parent 35e6b360d8
commit 5b306f662d
6 changed files with 25 additions and 15 deletions

View File

@ -224,7 +224,7 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
ivState.setImageResource(R.drawable.twotone_dns_24);
ivState.setContentDescription(context.getString(R.string.title_legend_executing));
} else if ("waiting".equals(folder.state)) {
ivState.setImageResource(R.drawable.twotone_hourglass_empty_24);
ivState.setImageResource(R.drawable.twotone_hourglass_top_24);
ivState.setContentDescription(context.getString(R.string.title_legend_waiting));
} else if ("connected".equals(folder.state)) {
ivState.setImageResource(R.drawable.baseline_cloud_24);

View File

@ -87,7 +87,7 @@ public class AdapterImage extends RecyclerView.Adapter<AdapterImage.ViewHolder>
ivImage.setImageBitmap(bm);
} else
ivImage.setImageResource(attachment.progress == null
? R.drawable.twotone_image_24 : R.drawable.twotone_hourglass_empty_24);
? R.drawable.twotone_image_24 : R.drawable.twotone_hourglass_top_24);
tvCaption.setVisibility(TextUtils.isEmpty(attachment.name) ? View.GONE : View.VISIBLE);

View File

@ -380,7 +380,7 @@ class ImageHelper {
if (cached != null || view == null) {
if (view == null)
if (cached == null) {
Drawable d = res.getDrawable(R.drawable.twotone_hourglass_empty_24, theme);
Drawable d = res.getDrawable(R.drawable.twotone_hourglass_top_24, theme);
d.setBounds(0, 0, px, px);
return d;
} else
@ -391,7 +391,7 @@ class ImageHelper {
}
final LevelListDrawable lld = new LevelListDrawable();
Drawable wait = res.getDrawable(R.drawable.twotone_hourglass_empty_24, theme);
Drawable wait = res.getDrawable(R.drawable.twotone_hourglass_top_24, theme);
lld.addLevel(1, 1, wait);
lld.setBounds(0, 0, px, px);
lld.setLevel(1);

View File

@ -1,10 +0,0 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M18,2L6,2v6h0.01L6,8.01 10,12l-4,4 0.01,0.01L6,16.01L6,22h12v-5.99h-0.01L18,16l-4,-4 4,-3.99 -0.01,-0.01L18,8L18,2zM16,16.5L16,20L8,20v-3.5l4,-4 4,4zM16,7.5l-4,4 -4,-4L8,4h8v3.5z"/>
</vector>

View File

@ -0,0 +1,20 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M8,7.5l4,4l4,-4l0,-3.5l-8,0z"
android:strokeAlpha="0.3"
android:fillAlpha="0.3"/>
<path
android:fillColor="@android:color/white"
android:pathData="M8,7.5l4,4l4,-4l0,-3.5l-8,0z"
android:strokeAlpha="0.3"
android:fillAlpha="0.3"/>
<path
android:fillColor="@android:color/white"
android:pathData="M18,2H6v6l4,4l-3.99,4.01L6,22h12l-0.01,-5.99L14,12l4,-3.99V2zM16,16.5V20H8v-3.5l4,-4L16,16.5zM16,7.5l-4,4l-4,-4V4h8V7.5z"/>
</vector>

View File

@ -328,7 +328,7 @@
android:padding="12dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivClosing"
app:srcCompat="@drawable/twotone_hourglass_empty_24" />
app:srcCompat="@drawable/twotone_hourglass_top_24" />
<eu.faircode.email.FixedTextView
android:id="@+id/tvWaiting"