Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Anti-censorship
Pluggable Transports
Snowflake Mobile
Commits
f87ffd69
Verified
Commit
f87ffd69
authored
Jul 24, 2020
by
HashikD
Browse files
Changed preference text color
parent
261f52cf
Changes
4
Hide whitespace changes
Inline
Side-by-side
app/src/main/res/color/preference_textview_color.xml
0 → 100644
View file @
f87ffd69
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<item
android:color=
"@color/colorTextSecondary"
android:state_enabled=
"false"
/>
<item
android:color=
"@color/colorText"
/>
</selector>
\ No newline at end of file
app/src/main/res/layout/activity_main.xml
View file @
f87ffd69
...
...
@@ -26,7 +26,7 @@
android:layout_centerInParent=
"true"
android:text=
"@string/app_name"
android:textAppearance=
"@style/TextAppearance.Widget.AppCompat.Toolbar.Title"
android:textColor=
"@
android:color/white
"
android:textColor=
"@
color/colorText
"
android:textSize=
"16sp"
/>
<androidx.appcompat.widget.AppCompatButton
...
...
app/src/main/res/values/colors.xml
View file @
f87ffd69
...
...
@@ -3,4 +3,6 @@
<color
name=
"colorPrimary"
>
#1C1C1C
</color>
<color
name=
"colorPrimaryDark"
>
#1C1C1C
</color>
<color
name=
"colorAccent"
>
#5A0782
</color>
<color
name=
"colorText"
>
#FFFF
</color>
<color
name=
"colorTextSecondary"
>
#757575
</color>
</resources>
app/src/main/res/values/styles.xml
View file @
f87ffd69
...
...
@@ -6,6 +6,8 @@
<item
name=
"colorPrimary"
>
@color/colorPrimary
</item>
<item
name=
"colorPrimaryDark"
>
@color/colorPrimaryDark
</item>
<item
name=
"colorAccent"
>
@color/colorAccent
</item>
<item
name=
"android:textColor"
>
@color/preference_textview_color
</item>
<item
name=
"android:textColorSecondary"
>
@color/colorTextSecondary
</item>
</style>
</resources>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment