Android Actionbar';s菜单在小屏幕上左移';s手机
我的应用程序有一个导航抽屉,在Android Actionbar';s菜单在小屏幕上左移';s手机,android,android-actionbar,navigation-drawer,Android,Android Actionbar,Navigation Drawer,我的应用程序有一个导航抽屉,在操作栏的右侧有两个操作按钮,但在有屏幕的设备上 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="35dp" android:layout_height="35dp" android:paddingTop="3dp" android:paddingRight="8dp"
操作栏的右侧有两个操作按钮,但在有屏幕的设备上
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="35dp"
android:layout_height="35dp" android:paddingTop="3dp" android:paddingRight="8dp"
android:paddingBottom="3dp">
<ImageButton
android:id="@+id/myButton"
android:layout_width="30dp"
android:layout_height="30dp"
android:background= "@drawable/alert_empty2"
android:onClick="openNot"/>
<TextView
android:id="@+id/textOne"
android:layout_width="wrap_content"
android:layout_height="15dp"
android:text="0"
android:textColor="#FFF"
android:textSize="10dp"
android:background="@drawable/badge_circle"
android:visibility="invisible"
android:textStyle="bold"
android:singleLine="true"
android:layout_alignParentRight="true"
android:gravity="center_vertical|center_horizontal"/>