Xamarin.Android SetContentView throws error -
i'm working on android app supposed run on android 2.1 till latest (4.4 right now). worked fine until now, since app decided stop running on android 2.2 device. in attached image think you're supposed know able me. don't know causing this, since app runs fine on android 4.3.1 device. error this: "binary xml file line #25: error inflating class android.support.v7.internal.widget.actionbarview"
it gives error @ setcontentview(resources.layout.main);, worked fine until now. i've removed main.axml file , readded it, nothing changed, should change? main.axml file code:
<?xml version="1.0" encoding="utf-8"?> <linearlayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:padding="12dp"> <framelayout android:id="@android:id/content" android:layout_width="fill_parent" android:layout_height="fill_parent"> <linearlayout android:id="@+id/content_frame" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" /> </framelayout> </linearlayout>
Comments
Post a Comment