Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Error retrieving parent for item: No resource found that matches the given 'Widget.Design.TabLayout

I face this issue after update now its version 24.2.1

<package id="Xamarin.Android.Support.Design" version="24.2.1" targetFramework="monoandroid70" />
  <package id="Xamarin.Android.Support.Compat" version="24.2.1" targetFramework="monoandroid70" />
  <package id="Xamarin.Android.Support.Core.UI" version="24.2.1" targetFramework="monoandroid70" />
  <package id="Xamarin.Android.Support.Core.Utils" version="24.2.1" targetFramework="monoandroid70" />
  <package id="Xamarin.Android.Support.CustomTabs" version="24.2.1" targetFramework="monoandroid70" />
 <package id="Xamarin.Android.Support.Fragment" version="24.2.1" targetFramework="monoandroid70" />
  <package id="Xamarin.Android.Support.Media.Compat" version="24.2.1" targetFramework="monoandroid70" />
  <package id="Xamarin.Android.Support.v4" version="24.2.1" targetFramework="monoandroid70" />
  <package id="Xamarin.Android.Support.v7.AppCompat" version="24.2.1" targetFramework="monoandroid70" />
  <package id="Xamarin.Android.Support.v7.CardView" version="23.4.0.1" targetFramework="monoandroid70" />
  <package id="Xamarin.Android.Support.v7.RecyclerView" version="24.2.1" targetFramework="monoandroid70" />
  <package id="Xamarin.Android.Support.Vector.Drawable" version="24.2.1" targetFramework="monoandroid70" />

my style file

 <!--App Tab Layout Style Starts Here-->
  <style name="AppTabLayout" parent="Widget.Design.TabLayout">
    <item name="tabMode">fixed</item>
    <item name="tabGravity">fill</item>
    <item name="tabIndicatorColor">@color/white</item>
    <item name="tabIndicatorHeight">2.7dp</item>
    <item name="tabPaddingStart">6dp</item>
    <item name="tabPaddingEnd">6dp</item>
    <item name="tabBackground">@color/colorPrimary</item>
    <item name="tabTextAppearance">@style/AppTabTextAppearance</item>
    <item name="tabSelectedTextColor">@color/white</item>
  </style>
  <style name="AppTabTextAppearance" parent="TextAppearance.Design.Tab">
    <item name="android:textSize">16sp</item>
    <item name="android:textColor">@color/white</item>
  </style>
  <!--App Tab Layout Style Ends Here-->

error stack

Severity    Code    Description Project File    Line    Suppression State
Error       No resource found that matches the given name: attr 'tabTextAppearance'.    DSP.Droid.Client    C:\Users\Minafaw\Source\Workspaces\DSP.Mobile\DSP.Mobile\DSP.Droid.Client\Resources\values\Styles.xml   3   
Error       No resource found that matches the given name: attr 'tabSelectedTextColor'. DSP.Droid.Client    C:\Users\Minafaw\Source\Workspaces\DSP.Mobile\DSP.Mobile\DSP.Droid.Client\Resources\values\Styles.xml   3   
Error       No resource found that matches the given name: attr 'tabPaddingStart'.  DSP.Droid.Client    C:\Users\Minafaw\Source\Workspaces\DSP.Mobile\DSP.Mobile\DSP.Droid.Client\Resources\values\Styles.xml   3   
Error       No resource found that matches the given name: attr 'tabPaddingEnd'.    DSP.Droid.Client    C:\Users\Minafaw\Source\Workspaces\DSP.Mobile\DSP.Mobile\DSP.Droid.Client\Resources\values\Styles.xml   3   
Error       No resource found that matches the given name: attr 'tabMode'.  DSP.Droid.Client    C:\Users\Minafaw\Source\Workspaces\DSP.Mobile\DSP.Mobile\DSP.Droid.Client\Resources\values\Styles.xml   3   
Error       No resource found that matches the given name: attr 'tabIndicatorHeight'.   DSP.Droid.Client    C:\Users\Minafaw\Source\Workspaces\DSP.Mobile\DSP.Mobile\DSP.Droid.Client\Resources\values\Styles.xml   3   
Error       No resource found that matches the given name: attr 'tabIndicatorColor'.    DSP.Droid.Client    C:\Users\Minafaw\Source\Workspaces\DSP.Mobile\DSP.Mobile\DSP.Droid.Client\Resources\values\Styles.xml   3   
Error       No resource found that matches the given name: attr 'tabGravity'.   DSP.Droid.Client    C:\Users\Minafaw\Source\Workspaces\DSP.Mobile\DSP.Mobile\DSP.Droid.Client\Resources\values\Styles.xml   3   
Error       No resource found that matches the given name: attr 'tabBackground'.    DSP.Droid.Client    C:\Users\Minafaw\Source\Workspaces\DSP.Mobile\DSP.Mobile\DSP.Droid.Client\Resources\values\Styles.xml   3   
Error       Error retrieving parent for item: No resource found that matches the given name 'Widget.Design.TabLayout'.  DSP.Droid.Client    C:\Users\Minafaw\Source\Workspaces\DSP.Mobile\DSP.Mobile\DSP.Droid.Client\Resources\values\Styles.xml   3   
Error       Error retrieving parent for item: No resource found that matches the given name 'TextAppearance.Design.Tab'.    DSP.Droid.Client    C:\Users\Minafaw\Source\Workspaces\DSP.Mobile\DSP.Mobile\DSP.Droid.Client\Resources\values\Styles.xml   3   

compile and target api 24
min api 16

any one could help me

Best Answer

Answers

Sign In or Register to comment.