Fix truncated in USB preference
Make preference could be shown two line title. Screenshot: https://screenshot.googleplex.com/Akod4qejhzmDH8z.png Bug: 189189209 Test: manually test Change-Id: Id2c69ba07d81234dce0b31ffd2cc80fb0d1e6f7f
This commit is contained in:
@@ -87,6 +87,7 @@ public class UsbDetailsFunctionsController extends UsbDetailsController
|
||||
pref = new RadioButtonPreference(mProfilesContainer.getContext());
|
||||
pref.setKey(key);
|
||||
pref.setTitle(titleId);
|
||||
pref.setSingleLineTitle(false);
|
||||
pref.setOnClickListener(this);
|
||||
mProfilesContainer.addPreference(pref);
|
||||
}
|
||||
|
Reference in New Issue
Block a user