Skip to content
This repository was archived by the owner on Apr 19, 2022. It is now read-only.

Commit c5679a1

Browse files
committed
πŸŒ™ Added dark mode
Also: - Add Roboto Monospace font - Fix uneven margin lengths
1 parent 2b7baf1 commit c5679a1

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed
178 KB
Binary file not shown.

β€ŽCodeView/src/main/res/layout/line.xmlβ€Ž

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99
android:layout_width="wrap_content"
1010
android:layout_height="match_parent"
1111
android:background="@color/grey"
12-
android:gravity="end"
12+
android:gravity="start"
1313
android:padding="5dp"
1414
android:textColor="?android:attr/textColorPrimary"
15-
android:textSize="12sp" />
15+
android:textSize="12sp"
16+
android:fontFamily="@font/roboto"/>
1617

1718
<TextView
1819
android:id="@+id/line_text"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<color name="grey">#242323</color>
4+
<color name="white">#171616</color>
5+
</resources>
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
3-
<color name="grey">#DCDCDC</color>
3+
<color name="grey">#f0f0f0</color>
4+
<color name="white">#FFFFFF</color>
45
</resources>

0 commit comments

Comments
Β (0)