add some icons and colors

This commit is contained in:
tibbi 2016-06-01 22:15:38 +02:00
parent 89e08c282c
commit d0a7cb2b03
29 changed files with 22 additions and 21 deletions

View file

@ -332,7 +332,7 @@ public class MainActivity extends AppCompatActivity
case R.id.cab_edit: case R.id.cab_edit:
editDirectory(); editDirectory();
return true; return true;
case R.id.cab_remove: case R.id.cab_delete:
prepareForDeleting(); prepareForDeleting();
mode.finish(); mode.finish();
return true; return true;

View file

@ -264,7 +264,7 @@ public class PhotosActivity extends AppCompatActivity
@Override @Override
public boolean onActionItemClicked(ActionMode mode, MenuItem item) { public boolean onActionItemClicked(ActionMode mode, MenuItem item) {
switch (item.getItemId()) { switch (item.getItemId()) {
case R.id.cab_remove: case R.id.cab_delete:
prepareForDeleting(); prepareForDeleting();
mode.finish(); mode.finish();
return true; return true;

View file

@ -102,7 +102,7 @@ public class ViewPagerActivity extends AppCompatActivity
case R.id.menu_share: case R.id.menu_share:
shareImage(); shareImage();
return true; return true;
case R.id.menu_remove: case R.id.menu_delete:
notifyDeletion(); notifyDeletion();
return true; return true;
case R.id.menu_edit: case R.id.menu_edit:

View file

@ -18,7 +18,7 @@
android:layout_alignParentBottom="true" android:layout_alignParentBottom="true"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:padding="@dimen/undo_padding" android:padding="@dimen/undo_padding"
android:src="@mipmap/ic_launcher" android:src="@mipmap/undo"
android:visibility="gone"/> android:visibility="gone"/>
</RelativeLayout> </RelativeLayout>

View file

@ -3,12 +3,12 @@
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<item <item
android:id="@+id/cab_edit" android:id="@+id/cab_edit"
android:icon="@android:drawable/ic_menu_edit" android:icon="@mipmap/edit"
android:title="@string/edit" android:title="@string/edit"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom"/>
<item <item
android:id="@+id/cab_remove" android:id="@+id/cab_delete"
android:icon="@android:drawable/ic_menu_delete" android:icon="@mipmap/delete"
android:title="@string/remove" android:title="@string/delete"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom"/>
</menu> </menu>

View file

@ -2,8 +2,8 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android" <menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<item <item
android:id="@+id/cab_remove" android:id="@+id/cab_delete"
android:icon="@android:drawable/ic_menu_delete" android:icon="@mipmap/delete"
android:title="@string/remove" android:title="@string/delete"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom"/>
</menu> </menu>

View file

@ -3,17 +3,17 @@
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<item <item
android:id="@+id/menu_edit" android:id="@+id/menu_edit"
android:icon="@android:drawable/ic_menu_edit" android:icon="@mipmap/edit"
android:title="@string/edit" android:title="@string/edit"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom"/>
<item <item
android:id="@+id/menu_remove" android:id="@+id/menu_delete"
android:icon="@android:drawable/ic_menu_delete" android:icon="@mipmap/delete"
android:title="@string/remove" android:title="@string/delete"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom"/>
<item <item
android:id="@+id/menu_share" android:id="@+id/menu_share"
android:icon="@android:drawable/ic_menu_share" android:icon="@mipmap/share"
android:title="Share" android:title="@string/share"
app:showAsAction="ifRoom"/> app:showAsAction="ifRoom"/>
</menu> </menu>

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 397 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 496 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 698 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 477 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 355 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 938 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

View file

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<color name="colorPrimary">#3F51B5</color> <color name="colorPrimary">#ffff6f00</color>
<color name="colorPrimaryDark">#303F9F</color> <color name="colorPrimaryDark">#ffe46300</color>
<color name="colorAccent">#FF4081</color> <color name="colorAccent">@color/colorPrimary</color>
<color name="tmb_background">#ff222222</color> <color name="tmb_background">#ff222222</color>
<color name="actionbar_grey">#66000000</color> <color name="actionbar_grey">#66000000</color>
<color name="pressed_item_foreground">#33000000</color> <color name="pressed_item_foreground">#33000000</color>

View file

@ -2,10 +2,11 @@
<string name="app_name">Simple Gallery</string> <string name="app_name">Simple Gallery</string>
<string name="share_via">Share via</string> <string name="share_via">Share via</string>
<string name="no_permissions">Not much to do in a gallery without accessing your photos</string> <string name="no_permissions">Not much to do in a gallery without accessing your photos</string>
<string name="remove">Remove</string> <string name="delete">Delete</string>
<string name="deleting">Deleting</string> <string name="deleting">Deleting</string>
<string name="edit">Edit</string> <string name="edit">Edit</string>
<string name="undo">Undo</string> <string name="undo">Undo</string>
<string name="share">Share</string>
<string name="rename_file">Rename file</string> <string name="rename_file">Rename file</string>
<string name="rename_folder">Rename folder</string> <string name="rename_folder">Rename folder</string>
<string name="rename_file_error">Could not rename the file</string> <string name="rename_file_error">Could not rename the file</string>