We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6424cf9 commit 50e2c92Copy full SHA for 50e2c92
2 files changed
app/src/main/java/com/hjq/demo/widget/StatusLayout.java
@@ -143,7 +143,7 @@ private void initLayout() {
143
144
mLottieView = mMainLayout.findViewById(R.id.iv_status_icon);
145
mTextView = mMainLayout.findViewById(R.id.tv_status_text);
146
- mRetryView = mMainLayout.findViewById(R.id.iv_status_retry);
+ mRetryView = mMainLayout.findViewById(R.id.btn_status_retry);
147
148
if (mMainLayout.getBackground() == null) {
149
// 默认使用 windowBackground 作为背景
app/src/main/res-common/layout/widget_status_layout.xml
@@ -33,7 +33,7 @@
33
tools:text="@string/status_layout_error_network" />
34
35
<com.hjq.shape.view.ShapeButton
36
- android:id="@+id/iv_status_retry"
+ android:id="@+id/btn_status_retry"
37
android:layout_width="wrap_content"
38
android:layout_height="wrap_content"
39
android:layout_marginTop="@dimen/dp_20"
0 commit comments