添加TermuxButton按钮控件类

This commit is contained in:
2026-04-30 11:48:27 +08:00
parent cbf1341435
commit 59a9e0ee45
5 changed files with 250 additions and 48 deletions

View File

@@ -5,5 +5,14 @@
<attr name="toolbarTitleColor" format="color" />
<attr name="toolbarBackgroundColor" format="color" />
</declare-styleable>
<declare-styleable name="TermuxButton">
<attr name="buttonName" format="string" />
<attr name="exeCommand" format="string" />
<attr name="workDir" format="string" />
<attr name="isCommit" format="boolean" />
<attr name="commitTitle" format="string" />
<attr name="commitInfo" format="string" />
</declare-styleable>
</resources>