Uses recycler view to add a line at the top in the intro

Also, adjusts the divider insets as appropriate for settings and setup
wizard.

bug:27591940
Change-Id: I7aeefd6d1bfe94c97f686e81bc045d31e878655f
This commit is contained in:
Udam Saini
2016-03-10 14:19:27 -08:00
parent dccc582d26
commit fd17eb4315
4 changed files with 20 additions and 13 deletions

View File

@@ -95,8 +95,7 @@ public abstract class FingerprintEnrollBase extends InstrumentedActivity
}
protected void setHeaderText(int resId, boolean force) {
TextView layoutTitle = (TextView) getSetupWizardLayout().findViewById(
R.id.suw_layout_title);
TextView layoutTitle = getSetupWizardLayout().getHeaderTextView();
CharSequence previousTitle = layoutTitle.getText();
CharSequence title = getText(resId);
if (previousTitle != title || force) {