<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
    android:id="@+id/dk_parent_panel" 
    android:layout_width="wrap_content" 
    android:layout_height="wrap_content" 
    android:background="@drawable/new_bg_dialog"
    android:orientation="vertical" >
    <!-- title -->
	<TextView 
		android:id="@+id/dk_dialog_title"
	    android:layout_width="fill_parent" 
	    android:layout_height="wrap_content"
	    android:singleLine="true" 
	    android:text="@string/dk_text_quit_game_confirm_txt"
	    android:textSize="16sp"
	    android:textColor="@android:color/black"
	    android:layout_marginTop="15dp"
	    android:layout_marginLeft="12dp"
	    android:visibility="gone"
	    android:layout_marginRight="12dp"
	    /> 
	<include layout="@layout/dk_dialog_header"/>
	<HorizontalScrollView  
        android:id="@+id/dk_games_scrollview"  
        android:layout_width="fill_parent"  
        android:layout_height="wrap_content"
        android:layout_marginLeft="12dp"
		android:layout_marginRight="12dp"
		android:layout_marginTop="10dp"
		android:layout_marginBottom="15dp"
		android:scrollbars="none">  
        <LinearLayout
            android:id="@+id/category_layout"  
            android:layout_width="wrap_content"  
            android:layout_height="wrap_content"  
            android:orientation="horizontal"
            android:gravity="center" 
            android:layout_gravity="center"
            > 
            <GridView
			    android:id="@+id/dk_game_recomend_arrays"
			    android:layout_width="fill_parent"
			    android:layout_height="wrap_content"
			    android:numColumns="auto_fit"
			    android:drawSelectorOnTop="false"
			    android:cacheColorHint="#00000000"
			    android:listSelector="@null"
			    android:horizontalSpacing="15dp"
			    
			    android:stretchMode="columnWidth" />
        </LinearLayout>  
    </HorizontalScrollView>  
	
	<LinearLayout
	    android:id="@+id/dk_game_pointer_area_layout"
	    android:layout_width="fill_parent"
	    android:layout_height="wrap_content"
	    android:orientation="vertical"
	    android:visibility="gone"
	    android:layout_marginLeft="12dp"
	    android:layout_marginRight="12dp"
	    android:layout_marginTop="10dp"
	    android:layout_marginBottom="15dp">
	    
	</LinearLayout>
	<View 
	    android:id="@+id/dk_dialog_stub_view"
	    android:layout_width="match_parent"
	    android:layout_height="15dp"
	    android:visibility="gone"
	    />
	<RelativeLayout 
	    android:id="@+id/dk_dialog_btn_area" 
	    android:layout_width="280dp" 
	    android:layout_height="50dp"
	    android:layout_marginLeft="12dp"
	    android:layout_marginRight="12dp">
        
		<Button 
		    android:id="@+id/dk_btn_pointer_game_recommend"
		    android:layout_width="130dp"
		    android:layout_height="wrap_content"
		    android:background="@drawable/dk_btn_pointer_game_selector"
		    android:text="@string/dk_btn_pointer_game_recommend_txt"
		    android:textColor="@android:color/white"
		    android:textSize="16sp"
		    android:gravity="center"
		    />
		<ImageView 
	        android:layout_width="wrap_content"
	        android:layout_height="wrap_content"
	        android:padding="10dp"
	        android:layout_marginTop="4dp"
	        android:layout_marginLeft="2dp"
	        android:background="@drawable/dk_exit_new"/>
		
		<View 
		    android:layout_width="14dp"
		    android:layout_height="wrap_content"
		    />
		<Button 
		    android:id="@+id/dk_btn_quit_game"
		    android:layout_width="130dp"
		    android:layout_height="wrap_content"
		    android:layout_alignParentRight="true"
		    android:background="@drawable/dk_btn_confirm_quit_selector"
		    android:text="@string/dk_btn_quit_game_txt"
		    android:textColor="@android:color/black"
		    android:textSize="16sp"
		    android:gravity="center"
		    />
	</RelativeLayout>
	
	<RelativeLayout 
	    android:layout_width="match_parent" 
	    android:layout_height="wrap_content"
	    android:layout_marginLeft="12dp"
	    android:layout_marginRight="12dp"
	    android:layout_marginBottom="5dp"
	    android:orientation="horizontal">
		<TextView 
		    android:id="@+id/tv_exit_update"
		    android:layout_width="wrap_content"
		    android:layout_height="wrap_content"
		    android:padding="5dp"
		    android:background="@null"
		    android:textColor="#6C655A"
		    android:text="@string/dk_exit_update_number"
		    android:textSize="14sp"/>
	</RelativeLayout>
</LinearLayout>
