title: Imageview not showing on Lollipop and Marshmallow
body: <p>I have this very simple activity and xml that just shows a .png file that fills the whole activity. I have tested in KitKat and Ice Cream. It is working. It is not working however on Lollipop and Marshmallow. I've check the other answers but it is not the one I am looking for. The activity is very simple for this one. </p>
  
  <p>Help Activity</p>
  
  <pre><code>package com.pointwest.timetrackermobilelog.Activities;
  
  import android.content.Intent;
  import android.os.Bundle;
  import android.support.v7.app.AppCompatActivity;
  
  import com.pointwest.timetrackermobilelog.R;
  
  
  public class HelpActivity extends AppCompatActivity {
  
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_help_material);
  
          getSupportActionBar().setDisplayHomeAsUpEnabled(true);
          getSupportActionBar().setHomeButtonEnabled(true);
  
      }
  
      @Override
      public void onBackPressed() {
          super.onBackPressed();
          Intent mainIntent = new Intent(this, MainActivity.class);
          startActivity(mainIntent);
      }
  
  }
  </code></pre>
  
  <p>activity_help_material.xml</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical"
      android:gravity="fill"
      android:background="@color/blue_main"
      tools:context="com.pointwest.timetrackermobilelog.Activities.LoginActivity"&gt;
  
      &lt;ImageView
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:scaleType="fitXY"
          android:src="@drawable/help"/&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Those are the only two files. </p>
  
  <p>AndroidManifest.xml is this</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.pointwest.timetrackermobilelog" &gt;
  
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  
      &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
  
      &lt;uses-permission android:name="android.permission.GET_ACCOUNTS" /&gt;
  
      &lt;uses-permission android:name="android.permission.USE_CREDENTIALS" /&gt;
  
      &lt;!-- permission required to use Alarm Manager --&gt;
      &lt;uses-permission android:name="com.android.alarm.permission.SET_ALARM"/&gt;
  
      &lt;application
          android:name=".WebServices.ApplicationClass"
          android:allowBackup="true"
          android:icon="@mipmap/tt_app_icon"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;meta-data
              android:name="com.google.android.gms.version"
              android:value="@integer/google_play_services_version" /&gt;
          &lt;meta-data
              android:name="com.google.android.gms.analytics.globalConfigResource"
              android:value="@xml/pointwest_tracker" /&gt;
  
          &lt;activity
              android:name=".Activities.LoginActivity"
              android:screenOrientation="portrait"
              android:label="@string/app_name" &gt;
              &lt;meta-data
                  android:name="android.support.PARENT_ACTIVITY"
                  android:value=".Activities.OpeningActivity" /&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=".Activities.MainActivity"
              android:label="@string/available_title"
              android:configChanges="orientation|keyboardHidden"
              android:screenOrientation="portrait"
              android:parentActivityName=".Activities.LoginActivity" &gt;
              &lt;meta-data
                  android:name="android.support.PARENT_ACTIVITY"
                  android:value=".Activities.LoginActivity" /&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=".Activities.OpeningActivity"
              android:screenOrientation="portrait"
              android:configChanges="orientation|keyboardHidden"
              android:label="@string/app_name" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=".Activities.DemoActivity"
              android:screenOrientation="portrait"
              android:configChanges="orientation|keyboardHidden"
              android:label="@string/title_activity_demo" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name=".Activities.ChooseActivity"
              android:label="@string/title_activity_choose"
              &gt;
          &lt;/activity&gt;
  
          &lt;activity
              android:name=".Activities.ReminderActivity"
              android:screenOrientation="portrait"
              android:label="@string/title_reminder_activity"&gt;
          &lt;meta-data
              android:name="android.support.PARENT_ACTIVITY"
              android:value=".Activities.MainActivity" /&gt;
  
      &lt;/activity&gt;
  
      &lt;activity
          android:name=".Activities.HelpActivity"
          android:screenOrientation="portrait"
          android:label="@string/title_help"&gt;
  
          &lt;meta-data
              android:name="android.support.PARENT_ACTIVITY"
              android:value=".Activities.MainActivity" /&gt;
  
      &lt;/activity&gt;
  
      &lt;service
          android:name="com.pointwest.timetrackermobilelog.BusinessServices.ConnectivityOutsideAppService"
          android:exported="false"/&gt;
  
       &lt;!--Register the Alarm Receiver --&gt;
      &lt;receiver android:name="com.pointwest.timetrackermobilelog.Utilities.NotificationReceiver"
          android:enabled="true" /&gt;
  
      &lt;receiver android:name="com.pointwest.timetrackermobilelog.Utilities.ConnectivityOutsideAppReceiver"
          android:enabled="true"
          android:process=":remote"&gt;
  
          &lt;intent-filter android:priority="1000" &gt;
              &lt;action android:name="android.net.conn.CONNECTIVITY_CHANGE"/&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
  
  
  
  &lt;/application&gt;
  </code></pre>
  
  <p></p>
  
  <p>Finally, the build.gradle</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 23
      buildToolsVersion "23.0.1"
  
      defaultConfig {
          applicationId "com.pointwest.timetrackermobilelog"
          vectorDrawables.useSupportLibrary = true
          minSdkVersion 15
          targetSdkVersion 23
          versionCode 32
          versionName "1.0"
          multiDexEnabled true
      }
  
      repositories {
          maven { url "https://jitpack.io" }
          jcenter()
      }
  
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  
      ext {
          supportLibVersion = '23.2'  // variable that can be referenced to keep support libs consistent
      }
  
  //    dexOptions {
  //        preDexLibraries = false
  //        javaMaxHeapSize "4g" // Use gig increments depending on needs
  //        incremental true
  //    }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:appcompat-v7:23.2.+'
      compile 'com.android.support:design:23.2.+'
      compile 'com.android.support:cardview-v7:23.2.+'
      compile 'com.android.support:recyclerview-v7:23.2.+'
      compile "com.android.support:support-v4:23.2.+"
      compile 'com.squareup.retrofit:retrofit:1.9.0'
      compile 'com.jpardogo.materialtabstrip:library:1.1.0'
      compile 'com.google.android.gms:play-services:8.4.0'
      compile 'io.realm:realm-android:0.82.0'
      compile 'com.squareup.okhttp:okhttp-urlconnection:2.0.0'
      compile 'com.squareup.okhttp:okhttp:2.0.0'
      compile 'com.android.support:multidex:1.0.0'
  //    compile 'com.github.navasmdc:MaterialDesign:1.5@aar'
      compile 'com.h6ah4i.android.materialshadowninepatch:materialshadowninepatch:0.6.3'
      compile 'me.zhanghai.android.materialprogressbar:library:1.1.5'
      compile 'com.code-troopers.betterpickers:library:2.5.3'
  
  
  }
  </code></pre>
  
  <p>Here's my project structure</p>
  
  <p><a href="https://i.stack.imgur.com/VwaUX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VwaUX.png" alt="project structure"></a></p>