Skip to content

Commit

Permalink
Merge pull request #19 from emreesen27/bar-icon-fix
Browse files Browse the repository at this point in the history
[DEV][action bar icon improvement]
  • Loading branch information
emreesen27 committed Feb 10, 2024
2 parents 6f6c481 + 5512213 commit 27a48b2
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 191 deletions.
10 changes: 6 additions & 4 deletions app/src/main/res/drawable/ic_copy.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="20"
android:viewportHeight="20">
android:tint="@color/first_text_color"
android:viewportWidth="24"
android:viewportHeight="24">

<path
android:fillColor="@color/first_text_color"
android:fillType="evenOdd"
android:pathData="M4,2a2,2 0,0 0,-2 2v9a2,2 0,0 0,2 2h2v2a2,2 0,0 0,2 2h9a2,2 0,0 0,2 -2L19,8a2,2 0,0 0,-2 -2h-2L15,4a2,2 0,0 0,-2 -2L4,2zM13,6L13,4L4,4v9h2L6,8a2,2 0,0 1,2 -2h5zM8,8h9v9L8,17L8,8z" />
android:pathData="M16 1H4c-1.1 0-2 0.9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 0.9-2 2v14c0 1.1 0.9 2 2 2h11c1.1 0 2-0.9 2-2V7c0-1.1-0.9-2-2-2zm0 16H8V7h11v14z" />
</vector>
4 changes: 3 additions & 1 deletion app/src/main/res/drawable/ic_delete.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:tint="@color/first_text_color"
android:viewportWidth="24"
android:viewportHeight="24">

<path
android:fillColor="@color/first_text_color"
android:pathData="M16,9v10H8V9h8m-1.5,-6h-5l-1,1H5v2h14V4h-3.5l-1,-1zM18,7H6v12c0,1.1 0.9,2 2,2h8c1.1,0 2,-0.9 2,-2V7z" />
android:pathData="M 17,8 V 20 H 7 V 8 H 17 M 14.5,1 h -5 l -1,1 H 4 V 4 H 20 V 2 H 15.5 Z M 19,6 H 5 v 14 c 0,1.1 0.9,2 2,2 h 10 c 1.1,0 2,-0.9 2,-2 z" />
</vector>
170 changes: 0 additions & 170 deletions app/src/main/res/drawable/ic_launcher_background.xml

This file was deleted.

13 changes: 0 additions & 13 deletions app/src/main/res/drawable/round.xml

This file was deleted.

2 changes: 1 addition & 1 deletion app/src/main/res/layout/layout_action_close.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
android:contentDescription="?attr/actionModeCloseContentDescription"
android:focusable="true"
android:paddingStart="12dp"
app:srcCompat="@drawable/ic_arrow_back"
app:srcCompat="@drawable/ic_cancel"
tools:ignore="RtlSymmetry" />

</LinearLayout>
3 changes: 1 addition & 2 deletions app/src/main/res/menu/menu_action.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@

<item
android:id="@+id/action_move"
android:icon="@drawable/ic_move"
android:title="@string/move"
app:showAsAction="ifRoom" />
app:showAsAction="never" />

<item
android:id="@+id/action_share"
Expand Down

0 comments on commit 27a48b2

Please sign in to comment.