Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8973613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:29:11+00:00 2026-06-15T18:29:11+00:00

I am developing an app that uses fragments with the support library. The app

  • 0

I am developing an app that uses fragments with the support library. The app is working and is published, but i get this error report(Only with 3.2 OS versions):

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.naviter.seeyou/com.naviter.seeyou.MenuDisplayActivity}: android.view.InflateException: Binary XML file line #19: Error inflating class
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1815)
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1831)
android.app.ActivityThread.access$500(ActivityThread.java:122)
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1024)
android.os.Handler.dispatchMessage(Handler.java:99)
android.os.Looper.loop(Looper.java:132)
android.app.ActivityThread.main(ActivityThread.java:4123)
java.lang.reflect.Method.invokeNative(Native Method)
java.lang.reflect.Method.invoke(Method.java:491)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #19: Error inflating class
android.view.LayoutInflater.createView(LayoutInflater.java:596)
com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
android.view.LayoutInflater.onCreateView(LayoutInflater.java:644)
android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:669)
android.view.LayoutInflater.rInflate(LayoutInflater.java:724)
android.view.LayoutInflater.rInflate(LayoutInflater.java:727)
android.view.LayoutInflater.inflate(LayoutInflater.java:479)
android.view.LayoutInflater.inflate(LayoutInflater.java:391)
com.naviter.seeyou.DisplayFragment.onCreateView(DisplayFragment.java:57)

The Exception is thrown at the last line in the onCreateView method:

@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,Bundle savedInstanceState){
    if (container == null)
        return null;
    getActivity().setTitle(R.string.Display);
    return inflater.inflate(R.layout.settings_display, container, false); //here
}

and this is the xml file:

<ListView
    android:id="@+id/listViewDisplay"
    android:layout_width="match_parent"
    android:layout_height="0dip"
    android:layout_weight="1" >

</ListView>

<LinearLayout
    android:id="@+id/rlAsDialog"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" >

    <Button
        android:id="@+id/buttonDisplayOk"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_weight="1" 
        android:text="@string/Ok" />

    <Button
        android:id="@+id/buttonDisplayCancel"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:text="@string/Cancel" />

</LinearLayout>
</LinearLayout>

I repeat, that the app is runnig well, i got this exception only on few devices with Android 3.2 OS. And i’m importing fragment from:

android.support.v4.app.Fragment;

Any suggestions?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T18:29:12+00:00Added an answer on June 15, 2026 at 6:29 pm

    I thing i solved the issue.
    I was accidentally extending the class with:

    DialogFragment

    instead of:

    Fragment

    And then using a custom layout for DialogFragment. Obviously this causes problems only on Android 3.2

    I also find another problem later. In the Manifest i was using the theme Theme.DeviceDefault wich was added in android api level 14 and android 3.2 obviously can’t live with this. Then i implemented a theme selector wich chooses the theme depending on the device API level.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The scenario is, i'm developing an android app that uses the internet. This is
I'm developing an app that uses iOS4 features (like MFMessageComposeViewController), but I want to
I am developing an app that uses the ActionBarSherlock and SherlockFragments in only some
i am currently developing an ios app that uses PayPal's Mobile Payment Library to
I'm developing an app that uses In-App Purchases, but when I tap on buy
I have an app that I'm developing that uses AccountManager to get credentials for
I am developing an App Engine App that uses memcache. Since there is only
I'm on developing iphone app that uses backend web service(django). To login the web
I'm learning MVVM with the hope of developing an app that uses the phone's
I'm developing an iPhone app that uses the network. The iPhone communicate with my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.