|
@@ -1,17 +1,122 @@
|
|
|
-<?xml version="1.0" encoding="utf-8"?>
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- android:orientation="vertical"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
android:gravity="center_horizontal">
|
|
|
|
|
|
- <android.support.v7.widget.RecyclerView
|
|
|
- android:id="@+id/list"
|
|
|
- android:scrollbars="vertical"
|
|
|
- android:layout_width="256dp"
|
|
|
+ <GridLayout
|
|
|
+ android:id="@+id/grid"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:paddingTop="8dp"
|
|
|
- android:paddingBottom="8dp"
|
|
|
- android:clipToPadding="false" />
|
|
|
+ android:columnCount="4"
|
|
|
+ android:rowCount="5"
|
|
|
+ android:orientation="vertical"
|
|
|
+ tools:ignore="UselessParent"
|
|
|
+ android:paddingTop="4dp"
|
|
|
+ android:paddingBottom="16dp"
|
|
|
+ android:clipToPadding="false">
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:layout_margin="4dp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:layout_margin="4dp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:layout_margin="4dp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:layout_margin="4dp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:layout_margin="4dp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:layout_margin="4dp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:layout_margin="4dp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:layout_margin="4dp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:layout_margin="4dp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:layout_margin="4dp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:layout_margin="4dp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:layout_margin="4dp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:layout_margin="4dp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:layout_margin="4dp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:layout_margin="4dp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:layout_margin="4dp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:layout_margin="4dp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:layout_margin="4dp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:layout_margin="4dp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="56dp"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:layout_margin="4dp" />
|
|
|
+
|
|
|
+ </GridLayout>
|
|
|
|
|
|
</LinearLayout>
|