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

  • Home
  • SEARCH
  • 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 8808277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T02:34:58+00:00 2026-06-14T02:34:58+00:00

I just found the AutoResizeTextView by Chase Auto Scale TextView Text to Fit within

  • 0

I just found the AutoResizeTextView by Chase

Auto Scale TextView Text to Fit within Bounds

But I couldn’t make it run yet.

AutoResizeTextView monologTextView;
monologTextView = (AutoResizeTextView) findViewById(R.id.dialogText);

xml:

 <AutoResizeTextView
                android:id="@+id/dialogText"
                style="@style/monologText"
                android:layout_width="fill_parent"
                android:layout_height="100dp"
                android:layout_alignParentBottom="true"
                android:layout_alignParentLeft="true"
                android:ellipsize="none"
                android:singleLine="true"
                 />

Results in a android.view.InflateException.

Binary XML file line #44: Error inflating class AutoResizeTextView

When I change the XML to TextView

<TextView
                android:id="@+id/dialogText"
                style="@style/monologText"
                android:layout_width="fill_parent"
                android:layout_height="100dp"
                android:layout_alignParentBottom="true"
                android:layout_alignParentLeft="true"
                android:ellipsize="none"
                android:singleLine="true"
                 />

I receive the following runtime exception:

android.widget.TextView cannot be cast to com.gootsproject.AutoResizeTextView

How can I implenent the extended textView?

  • 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-14T02:34:59+00:00Added an answer on June 14, 2026 at 2:34 am
    <AutoResizeTextView
                    android:id="@+id/dialogText"
                    style="@style/monologText"
                    android:layout_width="fill_parent"
                    android:layout_height="100dp"
                    android:layout_alignParentBottom="true"
                    android:layout_alignParentLeft="true"
                    android:ellipsize="none"
                    android:singleLine="true"
                     />
    

    you should indicate the complete path:

    <com.gootsproject.AutoResizeTextView
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just found about the autocomplete feature in Sublime Text 2. Example auto complete file:
I just found out how to loop an array based on another array, but
I just found out about ie7-js ; IE7 is a JavaScript library to make
I just found squish it, it looks very promising but I need to upload
I just found out how to validate my database input before saving it, but
I just found out that the jQueryUI now has it's own built-in auto-complete combo
Just found that unfinished manual, but it's really unfineshed. Right on the climax. I
I just found out about html agility pack and I tried it, but stumbled
I just found in a project: try { myLabel.Text = school.SchoolName; } catch {
I just found some... I don't know what I'd call it but here goes:

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.