diff --git a/samples/Support4Demos/res/values/strings.xml b/samples/Support4Demos/res/values/strings.xml index 91b5c42ec..1c2835a2c 100644 --- a/samples/Support4Demos/res/values/strings.xml +++ b/samples/Support4Demos/res/values/strings.xml @@ -160,13 +160,7 @@ This activity illustrates the use of sliding drawers. The drawer may be pulled out from the starting edge, which is left on left-to-right locales, with an edge swipe. If this demo is running on Ice Cream Sandwich or newer you may tap the icon at the starting side of the action bar to open the drawer as well. - - Navigation - - Open navigation drawer - - Close navigation drawer Widget/Sliding pane layout diff --git a/samples/Support4Demos/src/com/example/android/supportv4/widget/DrawerLayoutActivity.java b/samples/Support4Demos/src/com/example/android/supportv4/widget/DrawerLayoutActivity.java index b8735b4bf..7b88faa2e 100644 --- a/samples/Support4Demos/src/com/example/android/supportv4/widget/DrawerLayoutActivity.java +++ b/samples/Support4Demos/src/com/example/android/supportv4/widget/DrawerLayoutActivity.java @@ -89,11 +89,6 @@ public class DrawerLayoutActivity extends Activity { mDrawerLayout.setDrawerListener(new DemoDrawerListener()); mDrawerLayout.setDrawerShadow(R.drawable.drawer_shadow, GravityCompat.START); - // The drawer title must be set in order to announce state changes when - // accessibility is turned on. This is typically a simple description, - // e.g. "Navigation". - mDrawerLayout.setDrawerTitle(GravityCompat.START, getString(R.string.drawer_title)); - mDrawer.setAdapter(new ArrayAdapter(this, android.R.layout.simple_list_item_1, Shakespeare.TITLES)); mDrawer.setOnItemClickListener(new DrawerItemClickListener());