Preference API to set ID for tests to find.

When a preference is bound, give it a nice strong View.setId() so
that UI automation has something to grab onto.

Bug: 26498834
Change-Id: Ie89d5d5935b376633b6b06e2210170c28fce46a9
2 files changed