Skip to content

Commit 0144ce3

Browse files
committed
修复暗色模式下部分文本框字体呈现为黑色难以辩识
1 parent 879259e commit 0144ce3

File tree

6 files changed

+6
-72
lines changed

6 files changed

+6
-72
lines changed

app/src/main/java/ceui/lisa/dialogs/SoftKeyboardStateHelper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import java.util.List;
99

1010
public class SoftKeyboardStateHelper implements ViewTreeObserver.OnGlobalLayoutListener {
11+
1112
public interface SoftKeyboardStateListener {
1213
void onSoftKeyboardOpened(int keyboardHeightInPx);
1314
void onSoftKeyboardClosed();

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

Lines changed: 0 additions & 70 deletions
This file was deleted.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
android:id="@+id/input_box"
6868
android:hint="留下你的评论吧"
6969
android:textSize="14sp"
70+
android:textColor="@color/rank_text_color"
7071
android:layout_marginEnd="@dimen/eight_dp"
7172
android:layout_marginStart="@dimen/sixteen_dp"
7273
android:layout_toStartOf="@+id/post"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
android:paddingStart="@dimen/twelve_dp"
4040
android:drawablePadding="@dimen/six_dp"
4141
android:textSize="14sp"
42+
android:textColor="@color/rank_text_color"
4243
android:imeOptions="actionSearch"
4344
android:singleLine="true"
4445
android:layout_toStartOf="@+id/more"

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
android:layout_width="wrap_content"
3030
android:id="@+id/translated_text"
3131
android:layout_marginEnd="@dimen/sixteen_dp"
32+
android:textColor="@color/deep_dark"
3233
android:layout_marginTop="@dimen/twelve_dp"
3334
android:layout_alignParentEnd="true"
3435
android:layout_marginBottom="@dimen/twelve_dp"
@@ -38,7 +39,7 @@
3839

3940
<View
4041
android:layout_width="match_parent"
41-
android:background="#e7e7e7"
42+
android:background="@color/background"
4243
android:layout_below="@+id/title_text"
4344
android:layout_marginStart="@dimen/twelve_dp"
4445
android:layout_marginEnd="@dimen/twelve_dp"

app/src/main/res/values-night/colors.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<color name="dark_text">#FFFFFF</color>
3535

3636
<color name="black_overlay">#66000000</color>
37-
<color name="deep_dark">#212121</color>
37+
<color name="deep_dark">#FFFFFF</color>
3838
<color name="hito_bg">#000339</color>
3939
<color name="trans">#00eeeeee</color>
4040
<color name="tag_text_unselect">#FFFFFF</color>

0 commit comments

Comments
 (0)