Merge "Fix first item not a11y focusable in SimListDialog" into tm-dev am: 122d28ea09
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/18090785 Change-Id: I18cca83d0d7836df97668a14426588dfd9ce06a4 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -38,6 +38,8 @@
|
||||
android:background="@drawable/sim_confirm_dialog_rounded_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/sims_select_margin_top"
|
||||
android:layout_marginBottom="@dimen/sims_select_margin_bottom"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<LinearLayout
|
||||
|
@@ -216,16 +216,6 @@ public class SimListDialogFragment extends SimDialogFragment {
|
||||
final TextView title = convertView.findViewById(R.id.title);
|
||||
final TextView summary = convertView.findViewById(R.id.summary);
|
||||
|
||||
ViewGroup.MarginLayoutParams lp =
|
||||
(ViewGroup.MarginLayoutParams) parent.getLayoutParams();
|
||||
if (lp != null) {
|
||||
lp.setMargins(0, mContext.getResources().getDimensionPixelSize(
|
||||
R.dimen.sims_select_margin_top), 0,
|
||||
mContext.getResources().getDimensionPixelSize(
|
||||
R.dimen.sims_select_margin_bottom));
|
||||
convertView.setLayoutParams(lp);
|
||||
}
|
||||
|
||||
if (sub == null) {
|
||||
if (position == 0) {
|
||||
title.setText(R.string.sim_calls_ask_first_prefs_title);
|
||||
|
Reference in New Issue
Block a user