Drawerlayout Not Functioning And Blocks Not Related Widgets
I havd an Activity which has a TextView and i wanted to add a navigation drawer to that Activity. So I changed my XML and implemented DrawerLayout. After implementing the DrawerLay
Solution 1:
DrawerLayout
determines which View
s to use as a drawers by their layout_gravity
attribute. Simply add this attribute to your TextView
with the appropriate value. For example:
<!-- The navigation drawer -->
<TextView
android:layout_width="220dp"
android:layout_height="match_parent"
android:layout_gravity="left|start"
android:text="Try me! NOW"
/>
Post a Comment for "Drawerlayout Not Functioning And Blocks Not Related Widgets"