diff options
Diffstat (limited to 'library/main/src/com/android/setupwizardlib/SetupWizardLayout.java')
-rw-r--r-- | library/main/src/com/android/setupwizardlib/SetupWizardLayout.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/library/main/src/com/android/setupwizardlib/SetupWizardLayout.java b/library/main/src/com/android/setupwizardlib/SetupWizardLayout.java index 9ec844e..a628d9e 100644 --- a/library/main/src/com/android/setupwizardlib/SetupWizardLayout.java +++ b/library/main/src/com/android/setupwizardlib/SetupWizardLayout.java @@ -236,6 +236,11 @@ public class SetupWizardLayout extends FrameLayout { } } + public CharSequence getHeaderText() { + final TextView titleView = (TextView) findViewById(R.id.suw_layout_title); + return titleView != null ? titleView.getText() : null; + } + /** * Set the illustration of the layout. The drawable will be applied as is, and the bounds will * be set as implemented in {@link com.android.setupwizardlib.view.Illustration}. To create |