Extracting format string properly into xml strings.

Change-Id: I4766ee48bef6a08c6a9809f8df29d4d2343014c4
This commit is contained in:
Winson Chung
2010-09-15 15:21:55 -07:00
parent e3193b93ad
commit 3a47678698
2 changed files with 5 additions and 1 deletions

View File

@@ -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);
}