[Network Connection] Show full SSID on list item
Long SSID will be cut off, because ellipsized. Show full SSID to gain better UX. Bug: 130198869 Test: manual Change-Id: I14376ff7fb922439a2d664433a94740cc06cd99a
This commit is contained in:
@@ -377,7 +377,9 @@ public class NetworkRequestDialogFragment extends InstrumentedDialogFragment imp
|
|||||||
|
|
||||||
final TextView titleView = view.findViewById(android.R.id.title);
|
final TextView titleView = view.findViewById(android.R.id.title);
|
||||||
if (titleView != null) {
|
if (titleView != null) {
|
||||||
titleView.setText(accessPoint.getSsidStr());
|
// Shows whole SSID for better UX.
|
||||||
|
titleView.setSingleLine(false);
|
||||||
|
titleView.setText(accessPoint.getTitle());
|
||||||
}
|
}
|
||||||
|
|
||||||
final TextView summary = view.findViewById(android.R.id.summary);
|
final TextView summary = view.findViewById(android.R.id.summary);
|
||||||
|
Reference in New Issue
Block a user