mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Move from folders icon
This commit is contained in:
parent
47b8f8296d
commit
a1437a01d5
2 changed files with 28 additions and 1 deletions
|
@ -8423,8 +8423,11 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||||
source.setBounds(0, 0, source.getIntrinsicWidth(), source.getIntrinsicHeight());
|
source.setBounds(0, 0, source.getIntrinsicWidth(), source.getIntrinsicHeight());
|
||||||
if (sourceColor == null)
|
if (sourceColor == null)
|
||||||
sourceColor = EntityFolder.getDefaultColor(sources.get(0), context);
|
sourceColor = EntityFolder.getDefaultColor(sources.get(0), context);
|
||||||
} else
|
} else {
|
||||||
|
source = context.getDrawable(R.drawable.twotone_folders_24);
|
||||||
|
source.setBounds(0, 0, source.getIntrinsicWidth(), source.getIntrinsicHeight());
|
||||||
sourceColor = null;
|
sourceColor = null;
|
||||||
|
}
|
||||||
|
|
||||||
Drawable target = null;
|
Drawable target = null;
|
||||||
if (targets.size() == 1) {
|
if (targets.size() == 1) {
|
||||||
|
|
24
app/src/main/res/drawable/twotone_folders_24.xml
Normal file
24
app/src/main/res/drawable/twotone_folders_24.xml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:tint="?attr/colorControlNormal"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
<group
|
||||||
|
android:translateX="2.0"
|
||||||
|
android:translateY="-2.0">
|
||||||
|
<path
|
||||||
|
android:fillAlpha="0.3"
|
||||||
|
android:fillColor="@android:color/white"
|
||||||
|
android:pathData="M11.17,8l-0.58,-0.59L9.17,6H4v12h16V8h-8z"
|
||||||
|
android:strokeAlpha="0.3" />
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/white"
|
||||||
|
android:pathData="M20,6h-8l-2,-2L4,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,8c0,-1.1 -0.9,-2 -2,-2zM20,18L4,18L4,6h5.17l1.41,1.41 0.59,0.59L20,8v10z" />
|
||||||
|
</group>
|
||||||
|
<group>
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/white"
|
||||||
|
android:pathData="M2,6L0,6v5h0.01L0,20c0,1.1 0.9,2 2,2h18v-2L2,20L2,6z" />
|
||||||
|
</group>
|
||||||
|
</vector>
|
Loading…
Reference in a new issue