[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:
Bonian Chen
2023-01-09 08:10:11 +00:00
parent 8d13ea9e64
commit 61c45064cd
8 changed files with 95 additions and 74 deletions

View File

@@ -33,6 +33,11 @@ public class GearPreference extends RestrictedPreference implements View.OnClick
protected boolean mGearState = true;
private OnGearClickListener mOnGearClickListener;
public GearPreference(Context context, AttributeSet attrs,
int defStyleAttr, int defStyleRes) {
super(context, attrs, defStyleAttr, defStyleRes);
}
public GearPreference(Context context, AttributeSet attrs) {
super(context, attrs);
}