diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable-hdpi/ic_allapps.png | bin | 0 -> 5861 bytes | |||
-rw-r--r-- | res/drawable-mdpi/ic_allapps.png | bin | 0 -> 3846 bytes | |||
-rw-r--r-- | res/drawable-xhdpi/ic_allapps.png | bin | 0 -> 6809 bytes | |||
-rw-r--r-- | res/drawable-xxhdpi/ic_allapps.png | bin | 0 -> 11608 bytes | |||
-rw-r--r-- | res/layout/activity_main.xml | 44 | ||||
-rw-r--r-- | res/layout/grid_item.xml | 42 | ||||
-rw-r--r-- | res/values/strings.xml | 21 |
7 files changed, 107 insertions, 0 deletions
diff --git a/res/drawable-hdpi/ic_allapps.png b/res/drawable-hdpi/ic_allapps.png Binary files differnew file mode 100644 index 0000000..b98e65f --- /dev/null +++ b/res/drawable-hdpi/ic_allapps.png diff --git a/res/drawable-mdpi/ic_allapps.png b/res/drawable-mdpi/ic_allapps.png Binary files differnew file mode 100644 index 0000000..f410673 --- /dev/null +++ b/res/drawable-mdpi/ic_allapps.png diff --git a/res/drawable-xhdpi/ic_allapps.png b/res/drawable-xhdpi/ic_allapps.png Binary files differnew file mode 100644 index 0000000..ff3d823 --- /dev/null +++ b/res/drawable-xhdpi/ic_allapps.png diff --git a/res/drawable-xxhdpi/ic_allapps.png b/res/drawable-xxhdpi/ic_allapps.png Binary files differnew file mode 100644 index 0000000..5dbfe4c --- /dev/null +++ b/res/drawable-xxhdpi/ic_allapps.png diff --git a/res/layout/activity_main.xml b/res/layout/activity_main.xml new file mode 100644 index 0000000..08113ac --- /dev/null +++ b/res/layout/activity_main.xml @@ -0,0 +1,44 @@ +<!-- Copyright (C) 2015 The CyanogenMod Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + --> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" + android:paddingLeft="10dp" > + + <TextView + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="@string/app_name" + android:textStyle="bold" + android:textSize="18dp" + android:paddingTop="18dp" + android:paddingBottom="6dp" + android:gravity="center"/> + + <GridView + android:id="@+id/grid" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:numColumns="auto_fit" + android:columnWidth="96dip" + android:gravity="center" + android:stretchMode="columnWidth" + android:padding="10dip" + android:verticalSpacing="10dip" + android:horizontalSpacing="10dip" /> + +</LinearLayout> diff --git a/res/layout/grid_item.xml b/res/layout/grid_item.xml new file mode 100644 index 0000000..54fba42 --- /dev/null +++ b/res/layout/grid_item.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2015 The CyanogenMod Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + --> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="wrap_content" > + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:gravity="center" + android:orientation="vertical" > + + <ImageView + android:id="@+id/app_icon" + android:layout_width="96dp" + android:layout_height="96dp" + android:padding="3dp" + android:scaleType="centerCrop" /> + + <TextView + android:id="@+id/app_name" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:gravity="center" + android:singleLine="true" /> + </LinearLayout> + +</LinearLayout> diff --git a/res/values/strings.xml b/res/values/strings.xml new file mode 100644 index 0000000..0009081 --- /dev/null +++ b/res/values/strings.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2015 The CyanogenMod Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + --> + +<resources> + + <string name="app_name">App Drawer</string> + +</resources> |