summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2010-09-15 15:21:55 -0700
committerWinson Chung <winsonc@google.com>2010-09-15 15:21:55 -0700
commit3a476786986278ee81de41c0b548bf0c1af6f8b6 (patch)
tree02f5b1e4e758942a360e8a7934faf0cad2cd0972 /src
parente3193b93ad7bf33e2e45319084a99b9fc986622b (diff)
downloadandroid_packages_apps_Trebuchet-3a476786986278ee81de41c0b548bf0c1af6f8b6.tar.gz
android_packages_apps_Trebuchet-3a476786986278ee81de41c0b548bf0c1af6f8b6.tar.bz2
android_packages_apps_Trebuchet-3a476786986278ee81de41c0b548bf0c1af6f8b6.zip
Extracting format string properly into xml strings.
Change-Id: I4766ee48bef6a08c6a9809f8df29d4d2343014c4
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher2/CustomizePagedView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher2/CustomizePagedView.java b/src/com/android/launcher2/CustomizePagedView.java
index d3d11db93..43073912f 100644
--- a/src/com/android/launcher2/CustomizePagedView.java
+++ b/src/com/android/launcher2/CustomizePagedView.java
@@ -444,7 +444,7 @@ public class CustomizePagedView extends PagedView
TextView name = (TextView) l.findViewById(R.id.name);
name.setText(info.label);
TextView dims = (TextView) l.findViewById(R.id.dims);
- dims.setText("" + hSpan + " x " + vSpan);
+ dims.setText(mContext.getString(R.string.widget_dims_format, hSpan, vSpan));
layout.addView(l);
}