Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想为抽屉把手指定我自己的自定义布局,但它一直居中,我不希望它居中!
根据View您用于句柄的类型,您可能会查看android:layout_gravity和android:gravity属性以正确定位它。
View
android:layout_gravity
android:gravity