我的Android手册

时间:2023-03-08 23:54:06
我的Android手册

目录解释说明



我的Android手册

assets文件说明

 app_id:机智云 app id
app_secret:机智云 app secret
product_key:机智云 product key
wifi_type_select:默认配置模块wifi模组选择功能是否开启
tencent_app_id:qq登录 app id
wechat_app_id:微信登录 app id
wechat_app_secret:微信登录 app secret
push_type:推送类型 【:关闭,:极光,:百度】
bpush_app_key:百度推送 app key
openAPI_URL:openAPI 域名及端口,格式:“api.gizwits.com:”,不写端口默认80
site_URL:site 域名及端口,格式:“site.gizwits.com:”,不写端口默认80
push_URL:推送绑定服务器 域名及端口,格式:“push.gizwits.com:”,不写端口默认80
buttonColor:按钮颜色
buttonTextColor:按钮文字颜色
navigationBarColor:导航栏颜色
navigationBarTextColor:导航栏文字颜色
configProgressViewColor:配置中界面 progress view 颜色
addDeviceTitle:添加设备界面 导航栏标题文字
qq:是否打开QQ登录【true:打开】
wechat:是否打开微信登录【true:打开】
anonymousLogin:是否打开匿名登录【true:打开】

自己总结的知识点:


颜色

#e0000000     透明

select选择器

 <?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<!-- 选中状态的背景图片 -->
<item android:drawable="@drawable/led_on" android:state_selected="true"/>
<!-- 未选中状态的背景图片 -->
<item android:drawable="@drawable/led_off"/> </selector>

我的Android手册

在布局文件中需要添加背景文件为background为XXselector

 <Button
android:id="@+id/btn_led"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="center"
android:background="@drawable/btn_led_selector" />

安卓APP的签名教程转载

传送门http://www.eyy5.com/thread-32437-1-1.html


知识总结之bug修复笔记

我的Android手册