forutaan

کاربر انجمن
  • تعداد ارسال ها

    2
  • تاریخ عضویت

  • آخرین بازدید

اعتبار در سایت

0 Neutral

درباره forutaan

  • درجه
    کاربر جدید
  • تاریخ تولد تعیین نشده
  1. مشکل بالا برطرف شد برنامه استپ میشه و بسته میشه ، این اررور چی میگه؟ android.content.res.Resources$NotFoundException: Resource ID #0x0 at android.content.res.Resources.getValue(Resources.java:1499) at android.content.res.Resources.loadXmlResourceParser(Resources.java:3065) at android.content.res.Resources.getLayout(Resources.java:1315) at android.view.LayoutInflater.inflate(LayoutInflater.java:412) at zhitex.wrap.viewpager.Hitex_HorizontalCycleViewPager$MainAdapter.instantiateItem(Hitex_HorizontalCycleViewPager.java:181) at com.gigamole.infinitecycleviewpager.InfiniteCyclePagerAdapter.instantiateItem(InfiniteCyclePagerAdapter.java:68) at android.support.v4.view.ViewPager.addNewItem(ViewPager.java:1034) at android.support.v4.view.ViewPager.populate(ViewPager.java:1182) at android.support.v4.view.ViewPager.populate(ViewPager.java:1116) at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1642) at android.view.View.measure(View.java:17826) at android.view.ViewGroup.measureChild(ViewGroup.java:5624) at android.view.ViewGroup.measureChildren(ViewGroup.java:5601) at anywheresoftware.b4a.BALayout.onMeasure(BALayout.java:64) at android.view.View.measure(View.java:17826) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5653) at android.widget.FrameLayout.onMeasure(FrameLayout.java:430) at android.view.View.measure(View.java:17826) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5653) at com.android.internal.widget.ActionBarOverlayLayout.onMeasure(ActionBarOverlayLayout.java:447) at android.view.View.measure(View.java:17826) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5653) at android.widget.FrameLayout.onMeasure(FrameLayout.java:430) at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2748) at android.view.View.measure(View.java:17826) at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2030) at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1174) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1395) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1062) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5873) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767) at android.view.Choreographer.doCallbacks(Choreographer.java:580) at android.view.Choreographer.doFrame(Choreographer.java:550) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5536) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1397) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1192) کد استفاده شده: Sub Globals Dim HCycle As Hitex_HorizontalCycleViewPager Dim Pan(5) As Panel End Sub Sub Activity_Create(FirstTime As Boolean) HCycle.Initialize("HCycle") For i = 0 To Pan.Length -1 Pan(i).Initialize("Pan") Dim Image As ImageView Image.Initialize("") Image.Gravity = Gravity.FILL Pan(i).AddView(Image,0,0,100%x,100%y) Image.Bitmap = LoadBitmap(File.DirAssets,i & ".jpg") Next Activity.AddView(HCycle,0,0,100%x,100%y) HCycle.SetAdapter(Pan,True,False) End Sub
  2. سلام میخوام از کتابخانه Hitex_CycleViewPager استفاده کنم که این خطارو میده لطفا راهنمایی کنید B4A Version: 7.30 Parsing code. (0.00s) Compiling code. (0.02s) Compiling layouts code. (0.00s) Organizing libraries. (0.84s) Generating R file. Error Failed to generate resource table for split '' E:\Basic4android\CycleViewPager\Objects\bin\extra\res1\res\values-v23\values-v23.xml:4: error: Error: No resource found that matches the given name (at 'cardBackgroundColor' with value '?android:attr/colorBackgroundFloating').