游戏手柄模板
来源:互联网 发布:库里总决赛6场数据 编辑:程序博客网 时间:2024/05/03 09:15
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal" >
<Button
android:id="@+id/lb"
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:text="←" />
<RelativeLayout
android:layout_width="0px"
android:layout_height="match_parent"
android:layout_weight="1" >
<Button
android:id="@+id/cb"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:text="○" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@id/cb"
android:layout_alignLeft="@id/cb"
android:text="↑" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignRight="@id/cb"
android:layout_below="@id/cb"
android:text="↓" />
</RelativeLayout>
<Button
android:id="@+id/rb"
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:text="→" />
<RelativeLayout
android:layout_width="0px"
android:layout_height="match_parent"
android:layout_weight="1" >
<Button
android:id="@+id/ivb"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:visibility="invisible" />
<Button
android:id="@+id/sb"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignRight="@id/ivb"
android:layout_below="@id/ivb"
android:text="start"
android:textSize="10sp" />
</RelativeLayout>
<RelativeLayout
android:layout_width="0px"
android:layout_height="match_parent"
android:layout_weight="1" >
<Button
android:id="@+id/ivb2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:visibility="invisible" />
<Button
android:id="@+id/reb"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignRight="@id/ivb2"
android:layout_below="@id/ivb2"
android:text="reset"
android:textSize="10sp" />
</RelativeLayout>
<RelativeLayout
android:layout_width="0px"
android:layout_height="match_parent"
android:layout_weight="1" >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:orientation="vertical" >
<Button
android:id="@+id/a"
android:layout_width="wrap_content"
android:layout_height="0px"
android:layout_weight="1"
android:text="a" />
<Button
android:id="@+id/b"
android:layout_width="wrap_content"
android:layout_height="0px"
android:layout_weight="1"
android:text="b" />
</LinearLayout>
</RelativeLayout>
<RelativeLayout
android:layout_width="0px"
android:layout_height="match_parent"
android:layout_weight="1" >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:orientation="vertical" >
<Button
android:id="@+id/A"
android:layout_width="wrap_content"
android:layout_height="0px"
android:layout_weight="1"
android:text="A" />
<Button
android:id="@+id/B"
android:layout_width="wrap_content"
android:layout_height="0px"
android:layout_weight="1"
android:text="B" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>
- 游戏手柄模板
- android游戏手柄问题
- 游戏手柄 GameController
- 游戏手柄设置
- iOS游戏控制手柄
- 自定义游戏手柄方向键
- 买了个游戏手柄
- JoyStick(游戏手柄)与C#
- VC读取游戏手柄按键
- 游戏手柄;鼠标;键盘功能
- [Android] Joystick游戏手柄开发
- 【Project】Cool Gamepad 游戏手柄
- ubuntu 下使用游戏手柄
- cocos2d-x3.x 游戏手柄
- 基于WindowsSDK检测游戏手柄
- Unity使用游戏手柄输入
- iOS GameController连接游戏手柄
- 获取游戏手柄的按键输入
- 132.显示手机的运行进程数并显示可用内存
- Spring基础—装配bean(一)
- 物联网传输协议MQTT研究
- solr 自定义 dismax查询方式
- Spring基础—装配bean(二)
- 游戏手柄模板
- Android异步消息处理机制完全解析
- Spring -- ApplicationContext使用及Bean的配置
- java简单绘图
- java多线程(二)
- Some questions about ambient noise
- Spring 学习笔记---Bean的生命周期
- 使用spring配置C3P0连接池 并通过手动获取spring的ApplicationContext和bean对象使用库连接
- Java计算器V2.0