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 8197671
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T05:47:22+00:00 2026-06-07T05:47:22+00:00

I have the basic xml setup… <LinearLayout xmlns:android=http://schemas.android.com/apk/res/android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent> <android.support.v4.view.ViewPager android:id=@+id/viewpager android:layout_width=wrap_content

  • 0

I have the basic xml setup…

    <LinearLayout
     xmlns:android="http://schemas.android.com/apk/res/android"
     android:orientation="vertical"
     android:layout_width="fill_parent"
     android:layout_height="fill_parent">

    <android.support.v4.view.ViewPager
     android:id="@+id/viewpager"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
     android:layout_gravity="center" >

    <android.support.v4.view.PagerTitleStrip
     android:id="@+id/pagertitlestrip"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
     android:layout_gravity="top" />
    </android.support.v4.view.ViewPager>

    </LinearLayout>

I am overriding getPageTitle in the adapter.
I get an inflate pagertitlestrip error.
Am I missing something here?

If I remove the pagertitlestrip xml the pageviewer works fine with multiple fragments.

Logcat:

    07-03 09:46:13.050: W/dalvikvm(23349): threadid=1: thread exiting with uncaught            exception (group=0x40018560)
    07-03 09:46:13.060: E/AndroidRuntime(23349): FATAL EXCEPTION: main
    07-03 09:46:13.060: E/AndroidRuntime(23349): java.lang.RuntimeException: Unable to  start activity ComponentInfo{org.example.walk/org.example.walk.AchieveViewPager}:  android.view.InflateException: Binary XML file line #12: Error inflating class  android.support.v4.view.PagerTitleStrip
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1696)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1716)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at android.app.ActivityThread.access$1500(ActivityThread.java:124)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:968)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at android.os.Handler.dispatchMessage(Handler.java:99)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at android.os.Looper.loop(Looper.java:130)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at android.app.ActivityThread.main(ActivityThread.java:3806)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at java.lang.reflect.Method.invokeNative(Native Method)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at java.lang.reflect.Method.invoke(Method.java:507)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at dalvik.system.NativeStart.main(Native Method)
    07-03 09:46:13.060: E/AndroidRuntime(23349): Caused by: android.view.InflateException: Binary XML file line #12: Error inflating class android.support.v4.view.PagerTitleStrip
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:581)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at android.view.LayoutInflater.rInflate(LayoutInflater.java:623)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at android.view.LayoutInflater.rInflate(LayoutInflater.java:626)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at android.view.LayoutInflater.inflate(LayoutInflater.java:408)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:260)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at android.app.Activity.setContentView(Activity.java:1716)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at org.example.walk.AchieveViewPager.onCreate(AchieveViewPager.java:22)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1660)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    ... 11 more
    07-03 09:46:13.060: E/AndroidRuntime(23349): Caused by: java.lang.ClassNotFoundException: android.support.v4.view.PagerTitleStrip in loader dalvik.system.PathClassLoader[/system/framework/com.google.android.maps.jar:/data/app/org.example.walk-1.apk]
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at android.view.LayoutInflater.createView(LayoutInflater.java:471)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:570)
    07-03 09:46:13.060: E/AndroidRuntime(23349):    ... 21 more
  • 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-07T05:47:23+00:00Added an answer on June 7, 2026 at 5:47 am

    sounds like you are including an old version of the compat library. Try with v9.

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

Sidebar

Related Questions

I have a basic XML document setup like this: <rss> <channel> </channel> </rss> I
I have a basic XML object that I'm working with. I can't figure out
Greetings, I'm new to TCL scripting, and I have a very very basic xml
My knowledge of xml and php is somewhat basic but have been able to
I have basic Spring MVC 3 setup for i18n where I can show labels
I have a basic nServicebus 3.2.0 setup with a web application endpoint and a
I have a CI application that uses .htaccess for URL routing. My basic setup
For development purposes we have a site setup with BASIC authentication in IIS7. One
The basic problem I have here is that I have one xml file that
In it's very basic form I have a WebClient request for some xml in

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.