Check your drawable/background_main
i.e. the background image of your root layout – the VM runs out of memory when decoding the bitmap. Make the image dimensions smaller.
More Related Contents:
- Using custom font in android TextView using xml
- Android View Clipping
- Android: How to push button above soft keyboard
- How is using OnClickListener interface different via XML and Java code? [duplicate]
- Hiding ‘Bottom Navigation Bar’ whilst keyboard is present – Android
- How to construct a button on runtime (Android) [closed]
- View’s getWidth() and getHeight() returns 0
- android.content.res.Resources$NotFoundException: String resource ID #0x0
- Changing EditText bottom line color with appcompat v7
- execute shell command from android
- How to programmatically set drawableLeft on Android button?
- Android getting value from selected radiobutton
- How to group a 3×3 grid of radio buttons?
- Android: how to change the color of the datepicker divider?
- How to add image in a TextView text?
- How to get the selected index of a RadioGroup in Android
- Navigation drawer item icon not showing original colour
- Android: Specify two different images for togglebutton using XML
- how to update xml file from another xml file dynamically?
- How to programmatically add views and constraints to a ConstraintLayout?
- Android: why setVisibility(View.GONE); or setVisibility(View.INVISIBLE); do not work
- Portrait for phone, landscape for Tablet (Android-Layout)
- How to create Button Dynamically in android?
- Bold words in a string of strings.xml in Android
- Inflate layout programmatically within another layout
- How to add Three Level ListView in ExpandableListView in android
- How to set layout dynamically in android
- android.database.sqlite.SQLiteException: no such column
- Error inflating class android.support.design.widget.TabLayout
- Different design for landscape and portrait orientation android