Skip to content

Commit 49e0f13

Browse files
committed
fix: replace color
1 parent 596eed0 commit 49e0f13

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

.idea/codeStyles/Project.xml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
<com.timchentw.loadingview.LoadingView
1818
android:id="@+id/loadingView"
1919
android:layout_width="match_parent"
20-
android:layout_height="match_parent"
21-
app:loadingText="下載中喔"/>
20+
android:layout_height="match_parent"/>
2221

2322
</LinearLayout>

loadingview/src/main/res/layout/view_loading.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
android:layout_height="70dp"
1313
android:layout_centerInParent="true"
1414
android:src="@drawable/ic_refresh"
15-
android:tint="@android:color/darker_gray"
15+
android:tint="@color/darker_gray"
1616
app:layout_constraintBottom_toBottomOf="parent"
1717
app:layout_constraintEnd_toEndOf="parent"
1818
app:layout_constraintStart_toStartOf="parent"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="all">
3+
4+
<color name="darker_gray">#aaa</color>
5+
6+
</resources>

0 commit comments

Comments
 (0)