mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Updating isTextClippedVerticallyTest
Updating the isTextClippedVertically test to accomodate a different aspect ratio for raven devices Bug: 279464742 Test: isTextClippedVerticallyTest Change-Id: I4a4b740513914f1e76db18a00b65e4f881535d4a
This commit is contained in:
@@ -115,6 +115,12 @@ public abstract class ButtonDropTarget extends TextView
|
||||
setContentDescription(mText);
|
||||
}
|
||||
|
||||
protected void updateText(CharSequence text) {
|
||||
setText(text);
|
||||
mText = getText();
|
||||
setContentDescription(mText);
|
||||
}
|
||||
|
||||
protected void setDrawable(int resId) {
|
||||
// We do not set the drawable in the xml as that inflates two drawables corresponding to
|
||||
// drawableLeft and drawableStart.
|
||||
|
||||
Reference in New Issue
Block a user