surfaceview resume
Добавлено: 21 сен 2014, 09:35
Как решить проблему з чорним екраном вместо surfaceview при возобновлении активити?
public class GameView extends SurfaceView implements SurfaceHolder.Callback{***}
Код: Выделить всё
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/RelativeLayout1"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<com.game.bombs.GameView
android:id="@+id/game"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" />
***
</RelativeLayout>