Skip to content

Commit 25e0fcd

Browse files
author
ChenRui
committed
补提交
1 parent 16b0c2e commit 25e0fcd

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

app/src/main/java/com/rae/cnblogs/fragment/BlogListFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,6 @@ public void run() {
254254
@Subscribe
255255
public void onEvent(ThemeChangedEvent event) {
256256
if (mItemAdapter != null)
257-
mAppLayout.autoRefresh(true, 300);
257+
mAppLayout.autoRefresh(true, 500);
258258
}
259259
}

app/src/main/res/layout/activity_setting.xml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,22 +123,26 @@
123123
android:layout_height="wrap_content"
124124
android:layout_weight="1"
125125
android:text="@string/check_update"
126+
android:textSize="16sp"
126127
android:textColor="@color/ph1"/>
127128

129+
130+
<ProgressBar
131+
android:id="@+id/pb_check_update"
132+
android:layout_width="24dp"
133+
android:layout_height="24dp"
134+
android:indeterminateDrawable="@drawable/ic_progress_loading"
135+
android:visibility="invisible"/>
136+
128137
<TextView
129138
android:id="@+id/tv_check_update"
130139
android:layout_width="wrap_content"
131140
android:layout_height="wrap_content"
141+
android:gravity="right"
132142
android:text="@string/loading"
133143
android:textColor="@color/ph3"
134144
android:visibility="gone"/>
135145

136-
<ProgressBar
137-
android:id="@+id/pb_check_update"
138-
android:layout_width="24dp"
139-
android:layout_height="24dp"
140-
android:indeterminateDrawable="@drawable/ic_progress_loading"
141-
android:visibility="invisible"/>
142146

143147
</LinearLayout>
144148

0 commit comments

Comments
 (0)