向OK6410android系统中状态栏中加入button
来源:互联网 发布:2016java一年经验工资 编辑:程序博客网 时间:2024/06/01 07:45
修改xml文件就可以添加按钮,文件位置/frameworks/base/packages/SystemUI/res/layout/status_bar.xml
<LinearLayout android:id="@+id/icons"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal">
<LinearLayout android:id="@+id/statusButtons"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_alignParentRight="true"
android:orientation="horizontal">
<ImageButton
android:id="@+id/Stat_Home_button"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:background="@drawable/stat_home_button"
/>
<ImageButton
android:id="@+id/Stat_vol_down_button"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:background="@drawable/stat_volume_down_button_up"
/>
<ImageButton
android:id="@+id/Stat_vol_raise_button"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:background="@drawable/stat_volume_raise_button_up"
/>
</LinearLayout>
<com.android.server.status.IconMerger android:id="@+id/notificationIcons"
android:layout_width="0dip"
android:layout_weight="1"
android:layout_height="fill_parent"
android:layout_alignParentLeft="true"
android:paddingLeft="6dip"
android:gravity="center_vertical"
android:orientation="horizontal"/>
- 向OK6410android系统中状态栏中加入button
- 在对话框中加入状态栏
- 向数据库中加入多个简繁字
- 向qtopia4 中加入应用程序
- 在对话框中加入状态栏的方法
- VC2005下 在对话框中加入状态栏
- 在对话框中加入状态栏的方法
- VC中给一BUTTON加入图片
- 如何在DataGridView中加入Button
- 如何在UIKeyboard中加入定制button
- listView中如何加入button或者ImageView
- html 图片中加入 图片(button)
- java中向Jscrollpane中加入Jpanel
- 向android 的状态栏中加入快捷按钮(home,back,menu等等)的方法(续)
- OK6410Android系统的开机默认设置
- 如何向CImageList中加入位图文件
- 如何向 CImageList中加入位图文件
- 向应用程序中加入jBPM组件
- 互联网创业者失败的18个原因
- 项目经理的“势能”培养
- 【Shell DOS BAT文件】批处理命令
- 讲述UPX壳的运行原理
- 产品策划知识
- 向OK6410android系统中状态栏中加入button
- 递归 --变位数 --字符串相关 运行结果及相关描述
- 开源协议介绍(GPL,LGPL,BSD,MIT,Apache)
- 第七周 任务一
- GBIF IPT介绍 gbif-providertoolkit
- OWASP Top 10 Tools and Tactics
- Android高手的六大境界
- iBatis查询API
- POJ 3345 Bribing FIPA 树形dp