java - Android View InflateException: Binary XML File line #63 Error inflating class <unknow> -
i dont have errors project clean doesnt work on test wherever looked error couldnt find anyting dont have errors project clean doesnt work on test wherever looked error couldnt find anyting
errrors https://www.dropbox.com/sh/qdlwpluf3m5w20n/fjjxzxbjee
package com.martlost.esrarengizolaylar; import com.searchboxsdk.android.startappsearch; import com.startapp.android.publish.startappad; import android.net.uri; import android.os.bundle; import android.app.activity; import android.content.intent; import android.view.menu; import android.view.view; import android.widget.imagebutton; public class esrarengiz extends activity { private startappad startappad = new startappad(this); @override public void onresume(){ super.onresume(); startappad.onresume(); } @override protected void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.activity_esrarengiz); startappsearch.showsearchbox(this); imagebutton imagebutton1=(imagebutton)findviewbyid(r.id.imagebutton1); imagebutton1.getbackground().setalpha(10); imagebutton cikisbutton=(imagebutton)findviewbyid(r.id.btncikis); cikisbutton.getbackground().setalpha(10); imagebutton btnhakkinda=(imagebutton)findviewbyid(r.id.btnhakkinda); btnhakkinda.getbackground().setalpha(10); imagebutton btntarikatlar=(imagebutton)findviewbyid(r.id.btntarikat); btntarikatlar.getbackground().setalpha(10); imagebutton btnbasin=(imagebutton)findviewbyid(r.id.btnbasin); btnbasin.getbackground().setalpha(10); imagebutton btndoga=(imagebutton)findviewbyid(r.id.btndoga); btndoga.getbackground().setalpha(10); imagebutton btndestek=(imagebutton)findviewbyid(r.id.btndestek); btndestek.getbackground().setalpha(10); imagebutton btnarsiv1=(imagebutton)findviewbyid(r.id.btnarsiv1); btnarsiv1.getbackground().setalpha(10); btndestek.setonclicklistener(new view.onclicklistener() { @override public void onclick(view v) { uri link = uri.parse("https://play.google.com/store/apps/ details?id=com.martlost.esrarengizolaylar&feature=search_result"); intent tara = new intent(intent.action_default, link); startactivity(tara); } }); btndoga.setonclicklistener(new view.onclicklistener() { @override public void onclick(view v) { startactivity(new intent("com.martlost.esrarengizolaylar.doga1")); } }); btnbasin.setonclicklistener(new view.onclicklistener() { @override public void onclick(view v) { startactivity(new intent("com.martlost.esrarengizolaylar.basin1")); } }); btntarikatlar.setonclicklistener(new view.onclicklistener() { @override public void onclick(view v) { startactivity(new intent("com.martlost.esrarengizolaylar.tarikat1")); } }); btnhakkinda.setonclicklistener(new view.onclicklistener() { @override public void onclick(view v) { startactivity(new intent("com.martlost.esrarengizolaylar.h")); } }); cikisbutton.setonclicklistener(new view.onclicklistener() { @override public void onclick(view v) { intent intent = new intent(intent.action_main); intent.addcategory(intent.category_home); intent.setflags(intent.flag_activity_new_task); startactivity(intent); } }); imagebutton1.setonclicklistener(new view.onclicklistener() { @override public void onclick(view v) { startactivity(new intent ("com.martlost.esrarengizolaylar.ekransifir")); } }); } public void btnopenactivity (view view){ startappad.showad(); startappad.loadad(); intent nextactivity = new intent(this, basin1.class); startactivity(nextactivity); } @override public void onbackpressed() { startappad.onbackpressed(); super.onbackpressed(); } @override public boolean oncreateoptionsmenu(menu menu) { // inflate menu; adds items action bar if present. getmenuinflater().inflate(r.menu.activity_esrarengiz, menu); return true; } }
and
android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/scroll" > <imageview android:id="@+id/imageview1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignparentleft="true" android:layout_alignparentright="true" android:layout_alignparenttop="true" android:padding="10dp" android:src="@drawable/hosgeldiniz" /> <textview android:id="@+id/textview1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignparentleft="true" android:layout_below="@+id/imageview1" android:padding="5dp" android:text="dünya tarihine adını yazdırmış fakat sırrı hala çözülememiş bir çok hikaye ve gizemini koruyan bir çok olayı bu uygulamada görebilirsiniz." android:textappearance="?android:attr/textappearancemedium" /> <imagebutton android:id="@+id/btndoga" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_aligntop="@+id/btntarikat" android:layout_centerhorizontal="true" android:src="@drawable/arsivuc" /> <imagebutton android:id="@+id/btntarikat" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_above="@+id/btnbasin" android:layout_alignparentright="true" android:layout_below="@+id/textview1" android:src="@drawable/arsiviki" /> <imagebutton android:id="@+id/btnhakkinda" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_aligntop="@+id/btndestek" android:layout_toleftof="@+id/btndestek" android:src="@drawable/hakkinda" /> <imagebutton android:id="@+id/btnarsiv1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_above="@+id/btndestek" android:layout_alignparentright="true" android:layout_below="@+id/btntarikat" android:src="@drawable/arsivdort" /> <imagebutton android:id="@+id/imagebutton1" android:layout_width="50dp" android:layout_height="50dp" android:layout_below="@+id/textview1" android:layout_marginright="21dp" android:layout_margintop="21dp" android:layout_toleftof="@+id/btndoga" android:background="@id/btnarsiv1" android:src="@drawable/arsivbir" /> <imagebutton android:id="@+id/btnbasin" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_above="@+id/btnhakkinda" android:layout_alignparentleft="true" android:src="@drawable/arsivdort" /> <imagebutton android:id="@+id/btndestek" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_above="@+id/linearlayout1" android:layout_alignparentright="true" android:src="@drawable/destek" /> <imagebutton android:id="@+id/btncikis" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_above="@+id/linearlayout1" android:layout_alignparentleft="true" android:src="@drawable/cikis" /> <com.startapp.android.publish.banner.banner android:id="@+id/startappbanner" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignparenttop="true" android:layout_centerhorizontal="true" > </com.startapp.android.publish.banner.banner> </relativelayout>
Comments
Post a Comment