Directory Interpretation Instructions
Assets File Description
1 app_id: Smart Cloud App ID2 App_secret: Smart Cloud app Secret3 Product_key: Wit Cloud Product Key4 wifi_type_select: Default configuration Module WiFi module selection is enabled5 TENCENT_APP_ID:QQ login App ID6 wechat_app_id: Login app ID7 Wechat_app_secret: Login App Secret8Push_type: Push Type "0Close1Aurora2: Baidu "9 Bpush_app_key: Baidu push App keyTenOPENAPI_URL:OPENAPI domain name and port, format: "Api.gizwits.com: the", do not write port default OneSite_url:site domain name and port, format: "Site.gizwits.com: the", do not write port default APush_url: Push bind Server domain name and port, format: "Push.gizwits.com: the", do not write port default - buttoncolor: Button Color - buttontextcolor: Button text color the navigationbarcolor: Navigation bar Color - Navigationbartextcolor: Navigation bar text color - Configprogressviewcolor: Configuring the interface Progress view color - adddevicetitle: Add Device Interface navigation bar title text +QQ: Whether to open QQ login "true: Open the -WeChat: Whether to open login "true: Open the +Anonymouslogin: Whether to turn on Anonymous logon "trueOpen
Your own summary of knowledge points:
Color
#e0000000 Transparent
Select Selector
1<?xml version="1.0"encoding="Utf-8"?>2<selector xmlns:android="http://schemas.android.com/apk/res/android">3<!--the background picture of the selected status--4<item android:drawable="@drawable/led_on"Android:state_selected="true"/>5<!--unselected background picture--6<item android:drawable="@drawable/led_off"/>7 8</selector>
You need to add a background file in the layout file for background to Xxselector
1<Button2Android:id="@+id/btn_led"3Android:layout_width="wrap_content"4android:layout_height="match_parent"5android:layout_gravity="Center"6Android:background="@drawable/btn_led_selector"/>
My Android Manual