<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
|
<LinearLayout
|
android:id="@+id/demo_game_login_view"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:text="游戏登录界面"
|
android:textSize="22sp" />
|
|
|
<Button
|
android:id="@+id/userLogin"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="用户登录(userLogin)" />
|
|
|
<Button
|
android:id="@+id/getConfig"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="获取游戏参数(服务端gid、pid以安卓端获取的为准)" />
|
|
|
</LinearLayout>
|
|
|
<LinearLayout
|
android:id="@+id/demo_game_enter_view"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:text="游戏选择服务器界面"
|
android:textSize="22sp" />
|
|
<Button
|
android:id="@+id/creatRoleBtn"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="创建角色(roleCreate)" />
|
|
<Button
|
android:id="@+id/submitDataBtn"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="进入游戏(roleEnterGame)" />
|
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/demo_game_main_view"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="center"
|
android:text="游戏主界面"
|
android:textSize="22sp" />
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="left"
|
android:text="角色相关的接口"
|
android:textSize="18sp" />
|
|
<Button
|
android:id="@+id/upgradeDataBtn"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="角色升级(roleLevelUp)" />
|
|
<Button
|
android:id="@+id/updateDataBtn"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="角色改名(roleChangeName)【选接】" />
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="left"
|
android:text="账号相关的接口"
|
android:textSize="18sp" />
|
|
<Button
|
android:id="@+id/userSwitch"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="切换账号(userSwitch)" />
|
|
<Button
|
android:id="@+id/openUserAuthWeb"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="实名认证(openUserNameAuth)" />
|
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="left"
|
android:text="支付相关的接口"
|
android:textSize="18sp" />
|
|
<Button
|
android:id="@+id/userPay"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="定额支付(userPay)" />
|
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:gravity="left"
|
android:text="退出的接口"
|
android:textSize="18sp" />
|
|
<Button
|
android:id="@+id/showExit"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="退出游戏(doExitGame)" />
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|