Skip to content

Commit

Permalink
1. 更改 <attr name="type"> 为 <attr name="operationButtonZhongjhType"> 避…
Browse files Browse the repository at this point in the history
…免与别的项目冲突
  • Loading branch information
zhongjh committed Mar 15, 2023
1 parent c0cb974 commit 56a502f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
app:layout_constraintEnd_toStartOf="@+id/guideline28"
app:layout_constraintStart_toStartOf="@+id/guideline12"
app:layout_constraintTop_toTopOf="@+id/btnClickOrLong"
app:type="confirm"
app:operationButtonZhongjhType="confirm"
tools:visibility="visible" />

<!-- 右侧的确认按钮 -->
Expand All @@ -59,7 +59,7 @@
app:layout_constraintEnd_toStartOf="@+id/guideline88"
app:layout_constraintStart_toStartOf="@+id/guideline72"
app:layout_constraintTop_toTopOf="@+id/btnClickOrLong"
app:type="confirm"
app:operationButtonZhongjhType="confirm"
tools:visibility="visible" />

<!-- 中间的操作按钮 -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
app:layout_constraintEnd_toStartOf="@+id/guideline28"
app:layout_constraintStart_toStartOf="@+id/guideline12"
app:layout_constraintTop_toTopOf="@+id/btnClickOrLong"
app:type="confirm"
app:operationButtonZhongjhType="confirm"
tools:visibility="visible" />

<!-- 右侧的确认按钮 -->
Expand All @@ -41,7 +41,7 @@
app:layout_constraintEnd_toStartOf="@+id/guideline88"
app:layout_constraintStart_toStartOf="@+id/guideline72"
app:layout_constraintTop_toTopOf="@+id/btnClickOrLong"
app:type="confirm"
app:operationButtonZhongjhType="confirm"
tools:visibility="visible" />

<!-- 中间的操作按钮 -->
Expand Down
2 changes: 1 addition & 1 deletion multilibrary/src/main/res/values/attrs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

<declare-styleable name="OperationButtonZhongjh">
<!-- 操作类型的按钮 -->
<attr name="type">
<attr name="operationButtonZhongjhType">
<enum name="cancel" value="0" />
<enum name="confirm" value="1" />
</attr>
Expand Down

0 comments on commit 56a502f

Please sign in to comment.