2
什麼是在具有約束佈局的佈局定義中使用的以下XML指令的Java代碼的翻譯?以編程方式添加約束
app:layout_constraintBottom_toBottomOf="@+id/Button1"
app:layout_constraintTop_toTopOf="@+id/Button1"
app:layout_constraintLeft_toLeftOf="@+id/Button2"
app:layout_constraintRight_toRightOf="Button2"
檢查了這一點http://www.techotopia.com/index.php/Managing_Constraints_using_ConstraintSet – Kuls
謝謝,它運作良好,也許你想用一個簡短的例子從該頁面做出簡短的回答,以便我可以接受它 – codeKiller