diff options
author | Alan Viverette <alanv@google.com> | 2011-07-26 12:06:51 -0700 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2011-07-26 12:06:51 -0700 |
commit | 84c26a6b3d5da5c0f10995bcfb8635c24ff4083e (patch) | |
tree | 367ac5948724f122d31069c1f1414bdb42aac838 /src/com/android | |
parent | a7c32ad74996c9fcb0d1d1481f191f0720197e49 (diff) | |
download | packages_apps_settings-84c26a6b3d5da5c0f10995bcfb8635c24ff4083e.zip packages_apps_settings-84c26a6b3d5da5c0f10995bcfb8635c24ff4083e.tar.gz packages_apps_settings-84c26a6b3d5da5c0f10995bcfb8635c24ff4083e.tar.bz2 |
Fixed title bar bug for AccessibilityTutorial
Bug: 5080516
Change-Id: I2ef6dd4c96bef51e60a2ae9b081545219c821166
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/settings/AccessibilityTutorialActivity.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/settings/AccessibilityTutorialActivity.java b/src/com/android/settings/AccessibilityTutorialActivity.java index 5e65dcd..21d0028 100644 --- a/src/com/android/settings/AccessibilityTutorialActivity.java +++ b/src/com/android/settings/AccessibilityTutorialActivity.java @@ -481,6 +481,7 @@ public class AccessibilityTutorialActivity extends Activity { private final Button mBack; private final Button mNext; private final Button mFinish; + private final int mTitleResId; /** Which bit flags have been set. */ private long mFlags; @@ -501,6 +502,7 @@ public class AccessibilityTutorialActivity extends Activity { super(context); mController = controller; + mTitleResId = titleResId; final View container = LayoutInflater.from(context).inflate( R.layout.accessibility_tutorial_container, this, true); @@ -521,8 +523,6 @@ public class AccessibilityTutorialActivity extends Activity { title.setText(titleResId); } - controller.setTitle(titleResId); - final ViewGroup contentHolder = (ViewGroup) container.findViewById(R.id.content); LayoutInflater.from(context).inflate(layoutResId, contentHolder, true); } @@ -535,6 +535,7 @@ public class AccessibilityTutorialActivity extends Activity { mFlags = 0; mInstructions.setVisibility(View.GONE); + mController.setTitle(mTitleResId); onShown(); } |