Skip to content

Commit

Permalink
removed extra padding to adjut icons size properly & added version to…
Browse files Browse the repository at this point in the history
… whats new. releasing v10.0.2
  • Loading branch information
Kosh committed Nov 8, 2016
1 parent 0d5071e commit 45257e2
Show file tree
Hide file tree
Showing 2 changed files with 223 additions and 235 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import android.util.AttributeSet;
import android.view.View;

import com.fastaccess.R;
import com.fastaccess.ui.widgets.recyclerview.layout_manager.GridManager;

import static android.R.attr.columnWidth;
Expand Down Expand Up @@ -57,7 +56,7 @@ public DynamicRecyclerView(Context context, AttributeSet attrs, int defStyle) {
iconSize = array.getDimensionPixelSize(0, -1);
if (iconSize > 0) {
setHasFixedSize(true);
iconSize += getResources().getDimensionPixelSize(R.dimen.spacing_micro);
// iconSize += getResources().getDimensionPixelSize(R.dimen.spacing_micro);
if (getLayoutManager() instanceof GridManager) {
((GridManager) getLayoutManager()).setIconSize(iconSize);
}
Expand Down
Loading

0 comments on commit 45257e2

Please sign in to comment.