+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Modifications copyright © 2017 Soren Stoutner <soren@stoutner.com>.
+
+ `simple_spinner_dropdown_item_huawei_fix.xml` comes from the Android API 25 platform SDK, and is usually referenced as `android.R.layout.simple_spinner_dropdown_item`.
+
+ The licensing information for the original file is below:
+
+ //device/apps/common/assets/res/any/layout/simple_spinner_item.xml
+
+ Copyright 2008, The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License")
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an “AS IS” BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License. -->
+
+<!-- Huawei did something to their customizations to Android 7.0 (API 24) to break scrolling on `spinners`. Modifying this file to set `android:layout_height="wrap_content"` resolves the issue. -->
+<CheckedTextView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@android:id/text1"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"
+ style="?android:attr/spinnerDropDownItemStyle"
+ android:maxLines="1"
+ android:ellipsize="marquee" />