原创 2018.8.20

2018.8.20 <androidx.appcompat.widget.Toolbar app:layout_scrollFlags="scroll|enterAlways" android:la

原创 2018.8.19

2018.8.19 @Override public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType){ View view = L

原创 android 自定義懸浮按鈕顏色

android 自定義懸浮按鈕顏色 如題。 android懸浮按鈕默認的顏色是主題的強調色(color accent),如果改變顏色,需要設置app:backgroundTint屬性,如下: <com.google.android

原创 2018.8.32

2018.8.32 <com.google.android.material.floatingactionbutton.FloatingActionButton android:layout_width="wrap

原创 《python基礎教程》答案(第二章)

《python基礎教程》答案(第二章) 2.1 # created by swy """ solutions to beginning python """ print(5 * 10) 2.2 # created by swy

原创 2018.5.34

2018.5.34 # created by swy """ solutions to beginning python """ dairy_section = ["milk", "cream", "cheese", "butt

原创 《python基礎教程》答案(第三章)

《python基礎教程》答案(第三章) 3.2 # created by swy """ solutions to beginning python """ dairy_section = ["milk", "cream", "

原创 2018.5.33

2018.5.33 package com.test; interface A{ void doWork(); } class B implements A{ public void doWork(){

原创 2018.5.36

2018.5.36 # created by swy """ solutions to beginning python """ dairy_section = ["milk", "cream", "cheese", "butt

原创 2018.5.31

2018.5.31 public sychrnozied void test() { //執行邏輯,調用另一個加鎖的方法 test2(); } public sychronized void test2() {

原创 2018.5.37

2018.5.37 # created by swy """ solutions to beginning python """ dairy_section = ["milk", "cream", "cheese", "butt

原创 2018.5.26

2018.5.26 公式 是否爲合式公式 ⊤\top⊤ 是 P∧(Q∨R→P)P\wedge (Q \vee R\to P)P∧(Q∨R→P) 是 PPP 是 P⇒QP\Rightarrow QP⇒Q 否

原创 2018.5.38

2018.5.38 # created by swy """ solutions to beginning python """ dairy_section = ["milk", "cream", "cheese", "butt

原创 2018.5.27

2018.5.27 static CommandLine parseCmd(String[] args) { Options options = createOptions(); CommandLineParser

原创 2018.5.35

2018.5.35 # created by swy """ solutions to beginning python """ dairy_section = ["milk", "cream", "cheese", "butt