原创 06.圖片文件

1.另存下面兩張圖片備用。 2.設置vscode的用戶代碼片段,文件>首選項>用戶代碼片段,輸入html,彈出的下拉項選html.json。 3.在html.json文件中"Print to console": {...},後

原创 07.svg圖標

1.瀏覽器打開https://icomoon.io/app/#/select 點擊Add Icons From Library…,打開的頁面下拉至 Brands,點擊 Brands下面的Add按鈕。 彈出的對話框下拉找到wi

原创 01.按鈕開關

1.vscode中新建文件01.html,輸入代碼 <!DOCTYPE html> <html> <head> <meta charset='UTF-8'> <title>hello</title> <st

原创 04.菜單與篩選

1.新建04.html,添加基礎代碼。 <!DOCTYPE html> <html> <head> <meta charset='UTF-8'> <title>menu_filter</title> <st

原创 02.單項選擇

1.新建02.html文件,輸入代碼: <!DOCTYPE html> <html> <head> <meta charset='UTF-8'> <title>單項選擇</title> <style>

原创 08.node.js本機服務

1.瀏覽器打開https://nodejs.org,下載LTS版本的node.js 2.默認安裝node.js 3.在vscode中新建 08文件夾,在 08文件夾 中新建 08.js文件 和 app文件夾;點vscode下方藍色左側

原创 002.template模板

1. 對helloworld.html中id爲template 的<script>(下簡稱“tpjs”)進行修改 <script type="text/x-template" id="template"> <di

原创 004.model視圖模型

1.將update.html另存爲model.html,在tpjs中<button>上添加@click="operate_click()"的點擊事件,@是flyingon的事件標識符。 <button type="button" :te

原创 001.helloworld

01.新建helloworld.html,輸入代碼 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>helloworld</ti

原创 003.update窗口縮放

1.瀏覽器打開template.html 再將窗口縮小,標籤大小沒有跟隨窗口變化。 2.將template.html另存爲update.html,修改fyjs(flyingon所在的<script>代碼塊),添加的var host=和

原创 AS3. 配置本地的Gradle

選擇Usb local gradle distribution設置自己的Gradle home:C:\Program Files\Android\Android Studio\gradle

原创 AS2. AS的Live Temples提高寫代碼的效率__

常用的代碼模板動手測試就熟悉了,比如:fbc,Toast,foreach,IntentView等

原创 AS1.Android studio 的 adb wifi 調試

1. 配置系統環境變量C:\Users\Administrator\AppData\Local\Android\Sdk\platform-tools2. 手機與電腦同局域網,查看手機IP地址(設置-關於手機-狀態)3. adb-wifi連

原创 3.返回棧(Back Stack)與活動狀態(Activity State)

AndroidManifest.xmlhttp://android:theme="@style/Base.Theme.AppCompat.Dialog"<activity android:name=".DialogActivity" an

原创 AS4.修改默認佈局文件

C:\Program Files\Android\Android Studio\plugins\android\lib\templates\activities\common\root\res\layout