[Settings] Limit height of TextView when text too long
Adjust the layout through having ConstraintLayout for limiting the height of TextView. Bug: 205460459 Test: local Change-Id: Ic15af4c9be393a6855d78a5d9af086b099c9b689
This commit is contained in:
@@ -44,7 +44,12 @@ public abstract class ManageablePreference extends GearPreference {
|
||||
int mUserId;
|
||||
|
||||
public ManageablePreference(Context context, AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
this(context, attrs, 0, 0);
|
||||
}
|
||||
|
||||
public ManageablePreference(Context context, AttributeSet attrs,
|
||||
int defStyleAttr, int defStyleRes) {
|
||||
super(context, attrs, defStyleAttr, defStyleRes);
|
||||
setPersistent(false);
|
||||
setOrder(0);
|
||||
setUserId(UserHandle.myUserId());
|
||||
|
Reference in New Issue
Block a user