2021年7月3日 星期六

[ Python ] 判斷 - if、elif、else

一、介紹

官網:https://docs.python.org/3.11/reference/compound_stmts.html#the-if-statement

二、if

[ Python ] for....in用法 - 一維與二維

一、介紹

官網:https://docs.python.org/3.11/tutorial/controlflow.html#for-statements

二、一維顯示與總計

2021年3月20日 星期六

[Android Studio] 安裝 NoCodeShape 套件 - 自動產生圖案的XML檔



一、介紹

1. 官網:https://plugins.jetbrains.com/

2. NoCodeShape套件:https://plugins.jetbrains.com/plugin/13325-nocodeshape

3. 說明:此套件是一個可以簡單生成 Android 的 shape之xml的插件,不需要任何編碼就能產生。

2021年2月28日 星期日

[ Android Studio ] Button加入圖片與改變圖片顯示位置

一、加入圖片

Attributes → icon → 加入圖片  → 左上角「+」可選擇加入Android的圖片或自製圖片

二、改變圖片顯示位置