Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashing in samsung galaxy note 3 v4.3 #17

Open
gjnidea opened this issue Jan 22, 2016 · 2 comments
Open

Crashing in samsung galaxy note 3 v4.3 #17

gjnidea opened this issue Jan 22, 2016 · 2 comments
Labels

Comments

@gjnidea
Copy link

gjnidea commented Jan 22, 2016

Part of error report:

FATAL EXCEPTION: main
android.view.InflateException: Binary XML file line #11: Error inflating class android.widget.TextView
    at android.view.LayoutInflater.createView(LayoutInflater.java:613)
                                                                                        at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
                                                                                        at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
                                                                                        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
                                                                                        at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
                                                                                        at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
                                                                                        at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
                                                                                        at com.github.pedrovgs.effectiveandroidui.ui.renderer.tvshow.TvShowRenderer.inflate(TvShowRenderer.java:66)

Inflation error occurs in TvShowRenderer line 66 when inflating R.layout.row_tv_show

@ghost
Copy link

ghost commented Apr 11, 2016

I meet this problem,too
And you can see issue #16 . forever4313 gave a solution. It works for me.

I changed row_tv_show.xml like this:

  <ImageView
      android:id="@+id/iv_thumbnail"
      android:layout_width="match_parent"
      android:layout_height="@dimen/poster_height"
      android:layout_alignParentTop="true"/>

  <TextView
      android:id="@+id/tv_title"
      android:layout_below="@+id/iv_thumbnail"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:ellipsize="end"
      android:singleLine="true"
      android:layout_marginLeft="@dimen/secondary_margin"/>

  <TextView
      android:id="@+id/tv_seasons_counter"
      android:layout_below="@+id/tv_title"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:ellipsize="end"
      android:singleLine="true"
      android:layout_marginLeft="@dimen/secondary_margin"
      android:paddingBottom="@dimen/main_margin"/>

Then l meet another XML file error later.
I also changed the style to related attributes,it works well,too.

@pedrovgs pedrovgs added the bug label May 10, 2016
@pedrovgs
Copy link
Owner

Sorry for the delay, I've been out for some time. Can you send a PR with the fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants