[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:
cosmohsieh
2019-04-11 11:53:46 +08:00
parent c7ae0a3d11
commit 151d5a3c83

View File

@@ -377,7 +377,9 @@ public class NetworkRequestDialogFragment extends InstrumentedDialogFragment imp
final TextView titleView = view.findViewById(android.R.id.title);
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);