title: Navigation drawer: text is hidden below actionbar?
body: <p>I added navigation drawer to my application. Everything works fine, but now I am trying to add a simple <code>textView</code> to menu, and am not succeeding. The problem is the fact that text is hidden underneath <code>actionBar</code> itself. Even <code>50dp</code> margin from top isn't enough.</p>
  
  <p>Do you have any tips on how to fix this issue?</p>
  
  <p>My main activity:</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;!-- The main content view --&gt;
      &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
          android:orientation="vertical"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:id="@+id/container"
          android:fitsSystemWindows="true"
          android:clipToPadding="false"/&gt;
      &lt;!-- The navigation drawer --&gt;
      &lt;FrameLayout
          android:id="@+id/left_drawer"
          android:layout_width="200dp"
          android:layout_height="match_parent"
          android:layout_gravity="left"
          android:choiceMode="singleChoice"
          android:divider="@android:color/transparent"
          android:dividerHeight="0dp"
          android:background="@color/dark_brown"&gt;
  
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="New Text"
              android:textSize="40dp"
              android:textColor="#ffffff"
              android:id="@+id/textView"
              android:layout_marginTop="50dp"
              android:layout_marginLeft="20dp"
              android:gravity="center_vertical"/&gt;
      &lt;/FrameLayout&gt;
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  
  <p>And my main activities class:</p>
  
  <pre><code>public class MainActivity extends ActionBarActivity {
  
      private DrawerLayout mDrawerLayout;
      private ActionBarDrawerToggle mDrawerToggle;
      private DatabaseHandler database;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
  
          // Handle application side menu
          sideMenu();
  
          // Set tint for android bar (only for KitKat version)
          if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.KITKAT) {
              SystemBarTintManager tintManager = new SystemBarTintManager(this);
              tintManager.setStatusBarTintEnabled(true);
              tintManager.setStatusBarTintResource(R.color.action_bar_bg);
          }
  
          // Create system objects
          database = new DatabaseHandler(this);
          final Statistics statistic = new Statistics(database);
  
          // Create main fragment and point app to it
          if (savedInstanceState == null) {
              getSupportFragmentManager().beginTransaction()
                      .replace(R.id.container, new MainFragment(database, statistic))
                      .commit();
          }
      }
  
      private void sideMenu() {
          mDrawerLayout = (DrawerLayout) findViewById(R.id.drawer_layout);
          mDrawerToggle = new ActionBarDrawerToggle(
                  this,                  // host Activity
                  mDrawerLayout,         // DrawerLayout object
                  R.drawable.ic_drawer,  // nav drawer icon to replace 'Up' caret
                  R.string.drawer_open,                // "open drawer" description
                  R.string.drawer_close           // "close drawer" description
          ) {
              // Called when a drawer has settled in a completely closed state.
              public void onDrawerClosed(View view) {
                  super.onDrawerClosed(view);
                  getSupportActionBar().setTitle(R.string.drawer_close);
              }
  
              // Called when a drawer has settled in a completely open state.
              public void onDrawerOpened(View drawerView) {
                  super.onDrawerOpened(drawerView);
                  getSupportActionBar().setTitle(R.string.drawer_open);
              }
          };
  
          // Set the drawer toggle as the DrawerListener
          mDrawerLayout.setDrawerListener(mDrawerToggle);
  
          getSupportActionBar().setDisplayHomeAsUpEnabled(true);
          getSupportActionBar().setHomeButtonEnabled(true);
      }
  
      @Override
      protected void onPostCreate(Bundle savedInstanceState) {
          super.onPostCreate(savedInstanceState);
          // Sync the toggle state after onRestoreInstanceState has occurred.
          mDrawerToggle.syncState();
      }
  
      @Override
      public void onConfigurationChanged(Configuration newConfig) {
          super.onConfigurationChanged(newConfig);
          mDrawerToggle.onConfigurationChanged(newConfig);
      }
  
      @Override
      public boolean onOptionsItemSelected(MenuItem item) {
          // Pass the event to ActionBarDrawerToggle, if it returns
          // true, then it has handled the app icon touch event
          return mDrawerToggle.onOptionsItemSelected(item) || super.onOptionsItemSelected(item);
      }
  
      @Override
      protected void onDestroy() {
          super.onDestroy();
          database.closeDatabase();
      }
  }
  </code></pre>