title: ListView in Navigation Drawer DrawerLayout not populating
body: <p>DrawerLayout activity_register.xml</p>
  
  <pre><code>&lt;android.support.v4.widget.DrawerLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/drawer_layout"
  android:layout_width="match_parent"
  android:layout_height="match_parent"&gt;
  &lt;LinearLayout
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:gravity="center_vertical|center_horizontal|center"
  android:orientation="vertical" &gt;    
  &lt;TextView 
    android:id="@+id/msgView"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_weight="1" /&gt;
    &lt;LinearLayout
    android:id="@+id/sitrep_buttons_layout"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:gravity="center_vertical|center_horizontal|center"
    android:orientation="vertical"&gt;
    &lt;ImageView
        android:id="@+id/sitrep_image"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center_horizontal"
        android:visibility="gone"
        android:contentDescription="@string/desc"/&gt;
    &lt;/LinearLayout&gt;
  &lt;/LinearLayout&gt;
  &lt;ListView android:id="@+id/left_drawer"
      android:layout_width="240dp"
      android:layout_height="match_parent"
      android:layout_gravity="start"
      android:choiceMode="singleChoice"
      android:divider="@android:color/transparent"
      android:dividerHeight="0dp"
      android:background="#999"/&gt;
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p>In my oncreate(Bundle savedInstanceState)</p>
  
  <pre><code>     private ListView mDrawerList;
    private String[] mActivities;
  
    private String username = "";
  
    @Override
    public void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.activity_register);
  
  // mDrawerList = new ListView(RegisterActivity.this);
  
  mActivities = getResources().getStringArray(R.array.menu_item_array);
  mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
  mDrawerList = (ListView) findViewById(R.id.left_drawer);
  mDrawerList.setBackgroundColor(0xFF00FF00);
  Log.d(DTAG, "mDrawerList.getContentDescription: "+mDrawerList.getContentDescription());
  Log.d(DTAG, "mDrawerList "+mDrawerList.equals(null));
  Log.d(DTAG, "mActivities.length: "+mActivities.length);
  for(int i = 0; i &lt; mActivities.length; i++){
      Log.d(DTAG, "mActivities: "+mActivities[i]);
  }
  ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(this, android.R.layout.simple_list_item_1, android.R.id.text1, mActivities);
  Log.d(DTAG, "adapter.getCount: "+adapter.getCount());
  mDrawerList.setAdapter(adapter);
  </code></pre>
  
  <p>The Log shows that my array is populated properly.
  The Navigation Drawer left_drawer (ListView) shows but is not populated.  width changes if I change layout_width, and background color is matches setting as well.  I've been looking at multiple posts to compare my code, but I can't see a problem with the code.</p>
  
  <p>Any Ideas would be great!</p>
  
  <p>Ok, here's something.  I can't change any attributes of the ListView programmatically.</p>
  
  <pre><code>mDrawerList.setBackgroundColor(0xFF00FF00);
  </code></pre>
  
  <p>Has no effect.  Background remains set to that set in the layout file.</p>