-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cluster command detail page (#11354)
* try to find a state where m5stack doesn't bootloop * add back class description * select different cluster, command will remove previous displayed parameter * add responseValueInfo class instead of string split * remove unused variable * Restyled by whitespace * Restyled by google-java-format * Restyled by gn * fix parameter response ui alignment issue * resolve comments * fix format * regenerate clusterInfoMapping.java * resolve comments * merge with master to get pass the check Co-authored-by: Restyled.io <[email protected]>
- Loading branch information
Showing
12 changed files
with
768 additions
and
287 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
src/android/CHIPTool/app/src/main/res/layout/cluster_callback_item.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
android:id="@+id/clusterCallbackRow" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content"> | ||
|
||
<TextView | ||
android:id="@+id/clusterCallbackNameTv" | ||
android:layout_width="80dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginHorizontal="10dp" | ||
android:padding="16dp" | ||
android:minWidth="48dp" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintEnd_toStartOf="@id/clusterCallbackDataTv" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" /> | ||
|
||
<TextView | ||
android:id="@+id/clusterCallbackDataTv" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:padding="16dp" | ||
android:singleLine="false" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintEnd_toStartOf="@id/clusterCallbackTypeTv" | ||
app:layout_constraintStart_toEndOf="@id/clusterCallbackNameTv" | ||
app:layout_constraintTop_toTopOf="parent" /> | ||
|
||
|
||
<TextView | ||
android:id="@+id/clusterCallbackTypeTv" | ||
android:textStyle="bold" | ||
android:layout_width="100dp" | ||
android:layout_height="wrap_content" | ||
android:padding="16dp" | ||
android:singleLine="false" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toEndOf="@id/clusterCallbackDataTv" | ||
app:layout_constraintTop_toTopOf="parent" /> | ||
</androidx.constraintlayout.widget.ConstraintLayout> |
Oops, something went wrong.