diff options
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/qs/QSPanelTopView.java')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/qs/QSPanelTopView.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSPanelTopView.java b/packages/SystemUI/src/com/android/systemui/qs/QSPanelTopView.java index 5f57be1..b00483c 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/QSPanelTopView.java +++ b/packages/SystemUI/src/com/android/systemui/qs/QSPanelTopView.java @@ -53,6 +53,7 @@ public class QSPanelTopView extends FrameLayout { protected View mBrightnessView; protected TextView mToastView; protected View mAddTarget; + protected TextView mEditInstructionText; private boolean mEditing = false; private boolean mDisplayingInstructions = false; @@ -112,6 +113,14 @@ public class QSPanelTopView extends FrameLayout { mBrightnessView = findViewById(R.id.brightness_container); mToastView = (TextView) findViewById(R.id.qs_toast); mAddTarget = findViewById(R.id.add_target); + mEditInstructionText = (TextView) findViewById(R.id.edit_text_instruction); + updateResources(); + } + + public void updateResources() { + if (mEditInstructionText != null) { + mEditInstructionText.setText(R.string.qs_tile_edit_header_instruction); + } } @Override |