diff --git a/app/src/main/java/io/github/wulkanowy/activity/dashboard/marks/ImageAdapter.java b/app/src/main/java/io/github/wulkanowy/activity/dashboard/marks/ImageAdapter.java index 1e88b11d..b291c100 100644 --- a/app/src/main/java/io/github/wulkanowy/activity/dashboard/marks/ImageAdapter.java +++ b/app/src/main/java/io/github/wulkanowy/activity/dashboard/marks/ImageAdapter.java @@ -36,6 +36,7 @@ public class ImageAdapter extends RecyclerView.Adapter viewHolder.tv_android.setText(lista.get(i)); Picasso.with(context) .load(R.drawable.sample_0) + .resize(240,120) .noFade() .into(viewHolder.img_android); diff --git a/app/src/main/java/io/github/wulkanowy/activity/dashboard/marks/MarksFragment.java b/app/src/main/java/io/github/wulkanowy/activity/dashboard/marks/MarksFragment.java index 84d43e40..532dd4e9 100644 --- a/app/src/main/java/io/github/wulkanowy/activity/dashboard/marks/MarksFragment.java +++ b/app/src/main/java/io/github/wulkanowy/activity/dashboard/marks/MarksFragment.java @@ -2,7 +2,6 @@ package io.github.wulkanowy.activity.dashboard.marks; import android.app.Activity; -import android.content.Context; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.widget.GridLayoutManager; @@ -18,7 +17,6 @@ import io.github.wulkanowy.R; public class MarksFragment extends Fragment { - Activity mActivity; final String lista[] = { "Donut", @@ -32,12 +30,6 @@ public class MarksFragment extends Fragment { "Lollipop", "Marshmallow" }; - @Override - public void onAttach(Context context) { - super.onAttach(context); - mActivity = (Activity) context; - } - public MarksFragment() { } diff --git a/app/src/main/res/drawable/sample_1.jpg b/app/src/main/res/drawable/sample_1.jpg deleted file mode 100644 index 46d06e02..00000000 Binary files a/app/src/main/res/drawable/sample_1.jpg and /dev/null differ diff --git a/app/src/main/res/drawable/sample_2.jpg b/app/src/main/res/drawable/sample_2.jpg deleted file mode 100644 index c23dd637..00000000 Binary files a/app/src/main/res/drawable/sample_2.jpg and /dev/null differ diff --git a/app/src/main/res/drawable/sample_3.jpg b/app/src/main/res/drawable/sample_3.jpg deleted file mode 100644 index 0f0d5b53..00000000 Binary files a/app/src/main/res/drawable/sample_3.jpg and /dev/null differ diff --git a/app/src/main/res/drawable/sample_4.jpg b/app/src/main/res/drawable/sample_4.jpg deleted file mode 100644 index d28ce6f3..00000000 Binary files a/app/src/main/res/drawable/sample_4.jpg and /dev/null differ diff --git a/app/src/main/res/drawable/sample_5.jpg b/app/src/main/res/drawable/sample_5.jpg deleted file mode 100644 index 2348c7d3..00000000 Binary files a/app/src/main/res/drawable/sample_5.jpg and /dev/null differ diff --git a/app/src/main/res/drawable/sample_6.jpg b/app/src/main/res/drawable/sample_6.jpg deleted file mode 100644 index a35fc0ce..00000000 Binary files a/app/src/main/res/drawable/sample_6.jpg and /dev/null differ diff --git a/app/src/main/res/drawable/sample_7.jpg b/app/src/main/res/drawable/sample_7.jpg deleted file mode 100644 index 96a4879e..00000000 Binary files a/app/src/main/res/drawable/sample_7.jpg and /dev/null differ diff --git a/app/src/main/res/layout/row_layout.xml b/app/src/main/res/layout/row_layout.xml index ad1e24bd..4d65b795 100644 --- a/app/src/main/res/layout/row_layout.xml +++ b/app/src/main/res/layout/row_layout.xml @@ -2,25 +2,24 @@ + android:layout_height="wrap_content" + android:layout_marginRight="1dp" + android:layout_marginLeft="1dp" + android:layout_marginBottom="2dp" + > + android:layout_height="wrap_content" /> \ No newline at end of file