|
73 | 73 |
|
74 | 74 |
|
75 | 75 |
|
76 | | -<GridView xmlns:android="http://schemas.android.com/apk/res/android" |
77 | | - xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" |
78 | | - xmlns:app="http://schemas.android.com/apk/res-auto" |
79 | | - android:id="@+id/listview" |
80 | | - android:numColumns="5" |
81 | | - android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin" |
82 | | - android:paddingRight="@dimen/activity_horizontal_margin" |
83 | | - android:paddingTop="@dimen/activity_vertical_margin" |
84 | | - android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity"/> |
| 76 | +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 77 | + android:layout_width="match_parent" |
| 78 | + android:layout_height="match_parent"> |
| 79 | + |
| 80 | + <net.steamcrafted.materialiconlib.MaterialIconView |
| 81 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
| 82 | + android:layout_width="match_parent" |
| 83 | + android:layout_height="96dp" |
| 84 | + app:materialIcon="file" |
| 85 | + app:materialIconColor="#3300FF00" |
| 86 | + |
| 87 | + android:id="@+id/file_icon" |
| 88 | + android:background="#A0C" |
| 89 | + /> |
| 90 | + |
| 91 | + <GridView |
| 92 | + android:layout_below="@+id/file_icon" |
| 93 | + xmlns:android="http://schemas.android.com/apk/res/android" |
| 94 | + xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" |
| 95 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
| 96 | + android:id="@+id/listview" |
| 97 | + android:numColumns="5" |
| 98 | + android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin" |
| 99 | + android:paddingRight="@dimen/activity_horizontal_margin" |
| 100 | + android:paddingTop="@dimen/activity_vertical_margin" |
| 101 | + android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity"/> |
| 102 | +</RelativeLayout> |
85 | 103 |
|
0 commit comments