При накачке Appbarlayout в более низкой версии android устройство I Получено исключение FileNotFoundException от одного конкретного устройства на том же экране. Следующий файл "ic_download_active.png" не является частью моего приложения, но почему он пытается получить?
Caused by: android.content.res.Resources$NotFoundException: File res/drawable-hdpi-v4/ic_download_active.png from xml type anim resource ID #0x7f020000
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2817)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2772)
at android.content.res.Resources.getAnimation(Resources.java:1113)
at android.animation.AnimatorInflater.loadStateListAnimator(AnimatorInflater.java:165)
at android.support.design.widget.ViewUtilsLollipop.setStateListAnimatorFromAttrs(ViewUtilsLollipop.java:50)
at android.support.design.widget.AppBarLayout.<init>(AppBarLayout.java:183)
at java.lang.reflect.Constructor.newInstance(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
at android.view.LayoutInflater.createView(LayoutInflater.java:611)
Мой AppBarLayout: -
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:id="@+id/userdata_item_tabs"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.design.widget.AppBarLayout
android:id="@+id/app_bar"
android:background="?attr/colorPrimary"
android:theme="@style/Theme.AppCompat"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<android.support.design.widget.TabLayout
android:id="@+id/tabs"
android:layout_width="match_parent"
app:popupTheme="@style/Theme.AppCompat"
android:layout_height="@dimen/f_tabbar_tab_prefered_height"
android:background="?attr/colorPrimary"
app:tabGravity="center"
app:tabMode="scrollable" />
</android.support.design.widget.AppBarLayout>
<android.support.v4.view.ViewPager
android:id="@+id/viewPager"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/items_delete_btn"
android:layout_below="@id/app_bar" />
<Button
android:id="@+id/user_items_delete_btn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_gravity="center"
android:gravity="center"
android:text="Delete"
android:visibility="visible" />
</RelativeLayout>
</android.support.design.widget.CoordinatorLayout>
Код активности android Манифест: -
android:name=".activity.MapsAppActivity"
android:configChanges="orientation|screenSize"
android:theme="@style/AppTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Стили: -
<style name="AppTheme" parent="Theme.AppCompat"></style>