Android layout emulator中没有“取消”和“确定”按钮

Android layout emulator中没有“取消”和“确定”按钮,android-layout,Android Layout,我正在尝试制作一个图像滑块应用程序。图像滑动已经完成,但是 在图像查看之后,我想添加两个按钮,如“OK”和“Cancel”。但是 这两个按钮不在emulator中。 我的布局代码: <?xml version="1.0" encoding="utf-8" ?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" androi

我正在尝试制作一个图像滑块应用程序。图像滑动已经完成,但是 在图像查看之后,我想添加两个按钮,如“OK”和“Cancel”。但是 这两个按钮不在emulator中。 我的布局代码:

<?xml version="1.0" encoding="utf-8" ?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@android:color/black">
    <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/TextViewTopTitle" android:text="@string/app_logo_top" android:textColor="@color/logo_color" android:layout_gravity="center_vertical|center_horizontal" android:gravity="top|center" android:textSize="@dimen/logo_size"></TextView>
    <ImageView android:id="@+id/ImageView3_Left" android:contentDescription="@string/desc" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_vertical|center_horizontal"></ImageView>
    <Button android:id="@+id/cancell" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center|left" android:text="@string/can" />
</LinearLayout>

请编辑您的帖子并添加代码,并告诉我们您具体有什么问题。我正在尝试在IMAGEVIEW之后添加“确定”和“编辑”按钮。但当我运行代码时,它不会出现在emmulator中。。。