summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-01-18 12:18:00 -0800
committerWinson Chung <winsonc@google.com>2011-01-18 12:18:18 -0800
commit532a52ae0ffa49119779a94e2994d53e0f5d4b20 (patch)
tree91b9898872acd83fc977b52b545e7782fcdc0e0d
parentf4ffdc63d3d5b400174624f5bb8c41c7ed17265b (diff)
downloadandroid_packages_apps_Trebuchet-532a52ae0ffa49119779a94e2994d53e0f5d4b20.tar.gz
android_packages_apps_Trebuchet-532a52ae0ffa49119779a94e2994d53e0f5d4b20.tar.bz2
android_packages_apps_Trebuchet-532a52ae0ffa49119779a94e2994d53e0f5d4b20.zip
Changing text in empty-downloads message.
Change-Id: I5bba53e97cd1a6c9370c6f2d2b52a7d488aac5a7
-rw-r--r--res/layout-xlarge/all_apps_no_items_placeholder.xml3
-rw-r--r--res/values/strings.xml4
-rw-r--r--src/com/android/launcher2/AllAppsPagedView.java2
3 files changed, 4 insertions, 5 deletions
diff --git a/res/layout-xlarge/all_apps_no_items_placeholder.xml b/res/layout-xlarge/all_apps_no_items_placeholder.xml
index f5ecdec77..247870cd3 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 addea4b56..f473880c4 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 ef9e3fad6..64da1b4ef 100644
--- a/src/com/android/launcher2/AllAppsPagedView.java
+++ b/src/com/android/launcher2/AllAppsPagedView.java
@@ -511,7 +511,7 @@ public class AllAppsPagedView extends PagedViewWithDraggableItems implements All
layout.enableCenteredContent(true);
layout.removeAllViews();
layout.addViewToCellLayout(icon, -1, 0,
- new PagedViewCellLayout.LayoutParams(0, 0, 2, 1));
+ new PagedViewCellLayout.LayoutParams(0, 0, 4, 1));
}
}