[Mi 3 Original Android Development] bigjailerman:
And here is crash report

android.view.InflateException: Binary XML file line #17: Binary XML file line #17: Error inflating class android.widget.TextView

at android.view.LayoutInflater.inflate(LayoutInflater.java:539)

at android.view.LayoutInflater.inflate(LayoutInflater.java:423)

at com.android.gallery3d.app.GalleryActionBar$ClusterAdapter.getView(GalleryActionBar.java:131)

at android.widget.AbsSpinner.onMeasure(AbsSpinner.java:194)

at android.widget.Spinner.onMeasure(Spinner.java:580)

at android.view.View.measure(View.java:18797)

at android.widget.Toolbar.measureChildCollapseMargins(Toolbar.java:1213)

at android.widget.Toolbar.onMeasure(Toolbar.java:1316)

at android.view.View.measure(View.java:18797)

at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)

at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)

at com.android.internal.widget.ActionBarContainer.onMeasure(ActionBarContainer.java:278)

at android.view.View.measure(View.java:18797)

at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)

at com.android.internal.widget.ActionBarOverlayLayout.onMeasure(ActionBarOverlayLayout.java:373)

at android.view.View.measure(View.java:18797)

at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)

at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)

at com.android.internal.policy.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2899)

at android.view.View.measure(View.java:18797)

at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2100)

at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1216)

at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1452)

at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107)

at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013)

at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)

at android.view.Choreographer.doCallbacks(Choreographer.java:670)

at android.view.Choreographer.doFrame(Choreographer.java:606)

at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)

at android.os.Handler.handleCallback(Handler.java:739)

at android.os.Handler.dispatchMessage(Handler.java:95)

at android.os.Looper.loop(Looper.java:148)

at android.app.ActivityThread.main(ActivityThread.java:5466)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

Caused by: android.view.InflateException: Binary XML file line #17: Error inflating class android.widget.TextView

at android.view.LayoutInflater.createView(LayoutInflater.java:645)

at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58)

at android.view.LayoutInflater.onCreateView(LayoutInflater.java:694)

at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:762)

at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)

at android.view.LayoutInflater.inflate(LayoutInflater.java:492)

... 35 more

Caused by: java.lang.reflect.InvocationTargetException

at java.lang.reflect.Constructor.newInstance(Native Method)

at android.view.LayoutInflater.createView(LayoutInflater.java:619)

... 40 more

Caused by: java.lang.ArrayIndexOutOfBoundsException: length=522; index=1332

at android.content.res.TypedArray.getValueAt(TypedArray.java:1132)

at android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:661)

at android.view.View.<init>(View.java:4207)

at android.widget.TextView.<init>(TextView.java:677)

at android.widget.TextView.<init>(TextView.java:671)

at android.widget.TextView.<init>(TextView.java:667)

... 42 more