Changing text in empty-downloads message.
Change-Id: I5bba53e97cd1a6c9370c6f2d2b52a7d488aac5a7
diff --git a/res/layout-xlarge/all_apps_no_items_placeholder.xml b/res/layout-xlarge/all_apps_no_items_placeholder.xml
index f5ecdec..247870c 100644
--- a/res/layout-xlarge/all_apps_no_items_placeholder.xml
+++ b/res/layout-xlarge/all_apps_no_items_placeholder.xml
@@ -20,7 +20,7 @@
android:id="@+id/no_items_icon"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:gravity="center_vertical"
+ android:gravity="center"
android:paddingTop="2dip"
android:textColor="#FFFFFFFF"
@@ -29,7 +29,6 @@
android:shadowDx="0.0"
android:shadowDy="1.0"
android:shadowRadius="1.0"
- android:drawableLeft="@drawable/ic_no_applications"
android:drawablePadding="0dip"
android:maxLines="2"
diff --git a/res/values/strings.xml b/res/values/strings.xml
index addea4b..f473880 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -70,8 +70,8 @@
<!-- All Apps pane -->
<!-- Message to show when there are no games [CHAR_LIMIT=25] -->
<string name="all_apps_no_games">No games found.</string>
- <!-- Message to show when there are no downloaded apps [CHAR_LIMIT=25] -->
- <string name="all_apps_no_downloads">No downloaded apps found.</string>
+ <!-- Message to show when there are no downloaded apps [CHAR_LIMIT=50] -->
+ <string name="all_apps_no_downloads">You have no downloaded applications.</string>
<!-- Customization Drawer -->
<!-- The format string for the dimensions of a widget in the drawer -->
diff --git a/src/com/android/launcher2/AllAppsPagedView.java b/src/com/android/launcher2/AllAppsPagedView.java
index ef9e3fa..64da1b4 100644
--- a/src/com/android/launcher2/AllAppsPagedView.java
+++ b/src/com/android/launcher2/AllAppsPagedView.java
@@ -511,7 +511,7 @@
layout.enableCenteredContent(true);
layout.removeAllViews();
layout.addViewToCellLayout(icon, -1, 0,
- new PagedViewCellLayout.LayoutParams(0, 0, 2, 1));
+ new PagedViewCellLayout.LayoutParams(0, 0, 4, 1));
}
}