Larger touch targets, snap to persisted value.

Extend ListView content to screen edges, and use InsetBoundsDrawable
to draw separator and divider with expected padding.  Sweep touch
targets are now much larger.

Snap sweep to persisted value, and fix NFE when parsing label value.

Bug: 5274249
Bug: 5262865
Bug: 5242857
Change-Id: Ifa0f3e622767d5b4dc85a73d6340207e6038a429
This commit is contained in:
Jeff Sharkey
2011-09-08 18:57:17 -07:00
parent 9b9db3f966
commit 5d70679c02
12 changed files with 305 additions and 35 deletions

View File

@@ -646,7 +646,7 @@ public class ManageApplications extends Fragment implements
tabHost.setOnTabChangedListener(this);
// adjust padding around tabwidget as needed
prepareCustomPreferencesList(container, mTabHost, mListView);
prepareCustomPreferencesList(container, mTabHost, mListView, false);
return mTabHost;
}