Update UI for support tab.

Bug: 29397123
Bug: 29832054

- Increase spinner dropdown width to contain country names.
- Reduce suggestion counter's right padding.
- Tweak paddings in travel abroad phone dialog.
- Update icon and text for help&feedback / tips&tricks.

Change-Id: Ide52c6f8198d1a13a0fdeb000d7cb9e8c03688ca
This commit is contained in:
Fan Zhang
2016-06-29 08:53:30 -07:00
parent 734c550c59
commit d89d60d9ca
8 changed files with 44 additions and 27 deletions

View File

@@ -51,12 +51,13 @@ public final class SupportPhoneDialogFragment extends DialogFragment implements
.setTitle(R.string.support_international_phone_title);
final View content = LayoutInflater.from(builder.getContext())
.inflate(R.layout.support_phone_dialog_content, null);
final View phoneNumberContainer = content.findViewById(R.id.phone_number_container);
final TextView phoneView = (TextView) content.findViewById(R.id.phone_number);
final String formattedPhoneNumber = getContext().getString(
R.string.support_phone_international_format,
new Locale(phone.language).getDisplayLanguage(), phone.number);
phoneView.setText(formattedPhoneNumber);
phoneView.setOnClickListener(this);
phoneNumberContainer.setOnClickListener(this);
return builder
.setView(content)
.create();