SVG folder icon

Also tweak the padding on left MediaView bitmaps
This commit is contained in:
Christopher Eby 2012-02-21 01:28:35 -06:00
parent d7358b4a4c
commit dba5d4f1b9
12 changed files with 3 additions and 3 deletions

BIN
orig/folder.svgz Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 548 B

After

Width:  |  Height:  |  Size: 522 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 503 B

After

Width:  |  Height:  |  Size: 481 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 680 B

After

Width:  |  Height:  |  Size: 668 B

View File

@ -117,7 +117,7 @@ public class FileSystemAdapter extends BaseAdapter implements LibraryAdapter {
{
mActivity = activity;
mLimiter = limiter;
mFolderIcon = BitmapFactory.decodeResource(activity.getResources(), R.drawable.ic_launcher_folder);
mFolderIcon = BitmapFactory.decodeResource(activity.getResources(), R.drawable.folder);
if (limiter == null) {
limiter = buildLimiter(Environment.getExternalStorageDirectory());
}

View File

@ -182,8 +182,8 @@ public final class MediaView extends View {
if (mShowBitmaps && mLeftBitmap != null) {
Bitmap expander = mLeftBitmap;
canvas.drawBitmap(expander, 0, (height - expander.getHeight()) / 2, paint);
xOffset = expander.getWidth();
canvas.drawBitmap(expander, padding, (height - expander.getHeight()) / 2, paint);
xOffset = expander.getWidth() + padding;
}
canvas.save();