Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4a100d2 authored by Diego Perez's avatar Diego Perez Committed by Android (Google) Code Review
Browse files

Merge "ImageSwitcher -> ImageView in appcompat inflate"

parents 689a1093 55656fed
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -55,6 +55,7 @@ import static com.android.SdkConstants.CHECKED_TEXT_VIEW;
import static com.android.SdkConstants.CHECK_BOX;
import static com.android.SdkConstants.CHECK_BOX;
import static com.android.SdkConstants.EDIT_TEXT;
import static com.android.SdkConstants.EDIT_TEXT;
import static com.android.SdkConstants.IMAGE_BUTTON;
import static com.android.SdkConstants.IMAGE_BUTTON;
import static com.android.SdkConstants.IMAGE_VIEW;
import static com.android.SdkConstants.MULTI_AUTO_COMPLETE_TEXT_VIEW;
import static com.android.SdkConstants.MULTI_AUTO_COMPLETE_TEXT_VIEW;
import static com.android.SdkConstants.RADIO_BUTTON;
import static com.android.SdkConstants.RADIO_BUTTON;
import static com.android.SdkConstants.SEEK_BAR;
import static com.android.SdkConstants.SEEK_BAR;
@@ -94,7 +95,7 @@ public final class BridgeInflater extends LayoutInflater {
    /** List of platform widgets that have an AppCompat version */
    /** List of platform widgets that have an AppCompat version */
    private static final Set<String> APPCOMPAT_VIEWS = Collections.unmodifiableSet(
    private static final Set<String> APPCOMPAT_VIEWS = Collections.unmodifiableSet(
            new HashSet<>(
            new HashSet<>(
                    Arrays.asList(TEXT_VIEW, "ImageSwitcher", BUTTON, EDIT_TEXT, SPINNER,
                    Arrays.asList(TEXT_VIEW, IMAGE_VIEW, BUTTON, EDIT_TEXT, SPINNER,
                            IMAGE_BUTTON, CHECK_BOX, RADIO_BUTTON, CHECKED_TEXT_VIEW,
                            IMAGE_BUTTON, CHECK_BOX, RADIO_BUTTON, CHECKED_TEXT_VIEW,
                            AUTO_COMPLETE_TEXT_VIEW, MULTI_AUTO_COMPLETE_TEXT_VIEW, "RatingBar",
                            AUTO_COMPLETE_TEXT_VIEW, MULTI_AUTO_COMPLETE_TEXT_VIEW, "RatingBar",
                            SEEK_BAR)));
                            SEEK_BAR)));