Update icons

This commit is contained in:
Victor Shcherb 2013-04-21 23:53:01 +02:00
parent c3b93cb251
commit 334b376096
17 changed files with 5 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 493 B

After

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 515 B

After

Width:  |  Height:  |  Size: 355 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 303 B

After

Width:  |  Height:  |  Size: 310 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 567 B

After

Width:  |  Height:  |  Size: 393 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 588 B

After

Width:  |  Height:  |  Size: 407 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 454 B

After

Width:  |  Height:  |  Size: 459 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 363 B

After

Width:  |  Height:  |  Size: 370 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 588 B

After

Width:  |  Height:  |  Size: 408 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 465 B

After

Width:  |  Height:  |  Size: 468 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 344 B

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 633 B

After

Width:  |  Height:  |  Size: 439 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 515 B

After

Width:  |  Height:  |  Size: 517 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 334 B

After

Width:  |  Height:  |  Size: 340 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 341 B

After

Width:  |  Height:  |  Size: 351 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 340 B

After

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 443 B

After

Width:  |  Height:  |  Size: 340 B

View file

@ -198,7 +198,8 @@ public class StackWidgetView extends ViewGroup {
setMeasuredDimension(w, h);
}
private final static int MAGIC_CONSTANT_STACK = 3;
// magic constant (should be removed when image will be recropped)
private final static int MAGIC_CONSTANT_STACK = 8;
private int shadowColor;
@Override
protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
@ -208,10 +209,8 @@ public class StackWidgetView extends ViewGroup {
if (c.getVisibility() != View.GONE) {
if (y == 0) {
y += c.getPaddingTop();
} else {
// magic constant (should be removed when image will be recropped)
y -= MAGIC_CONSTANT_STACK;
}
y -= MAGIC_CONSTANT_STACK;
c.layout(0, y, cw, y + c.getMeasuredHeight());
y += c.getMeasuredHeight();
y -= c.getPaddingBottom();
@ -223,10 +222,8 @@ public class StackWidgetView extends ViewGroup {
if (c.getVisibility() != View.GONE) {
if (y == 0) {
y += c.getPaddingTop();
} else {
// magic constant (should be removed when image will be recropped)
y -= MAGIC_CONSTANT_STACK;
}
y -= MAGIC_CONSTANT_STACK;
c.layout(0, y, cw, y + c.getMeasuredHeight());
y += c.getMeasuredHeight();
y -= c.getPaddingBottom();
@ -240,6 +237,7 @@ public class StackWidgetView extends ViewGroup {
}
if (isCollapsible) {
y -= MAGIC_CONSTANT_STACK;
expandView.setVisibility(VISIBLE);
int w = expandView.getDrawable().getMinimumWidth();
int h = expandView.getDrawable().getMinimumHeight();