Я пытаюсь показать кнопку над полноэкранным изображением. I tried to use RelativeLayout, как показано в этом вопросе, но я не вижу кнопку.Не удается увидеть кнопку над полноэкранным представлением Imageview
Может кто-нибудь сказать мне, почему этот код не работает?
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/pitchImageView"
android:src="@drawable/gaa_pitch"
android:scaleType="centerCrop"/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/start"
android:id="@+id/stopwatchButton"
android:layout_centerVertical="true"
android:layout_centerHorizontal="true"/>
</RelativeLayout>
Извините, если это относится к дубликатному вопросу.
EDIT: Скриншоты деятельности.
Вы можете разместить снимок экрана из него? –