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
32dd2a45
Commit
32dd2a45
authored
Oct 16, 2020
by
HashikD
Browse files
Changed background and button colors of dialog
parent
7919aa9f
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/src/main/res/values/colors.xml
View file @
32dd2a45
...
...
@@ -8,4 +8,7 @@
<color
name=
"snowflakeOff"
>
#AAAAAA
</color>
<color
name=
"snowflakeOn"
>
#8000D7
</color>
<color
name=
"snowflakeConnected"
>
#00FFB0
</color>
<color
name=
"positiveButton"
>
#8000D7
</color>
<color
name=
"negativeButton"
>
#757575
</color>
</resources>
app/src/main/res/values/styles.xml
View file @
32dd2a45
...
...
@@ -8,6 +8,20 @@
<item
name=
"colorAccent"
>
@color/colorAccent
</item>
<item
name=
"android:textColor"
>
@color/preference_textview_color
</item>
<item
name=
"android:textColorSecondary"
>
@color/colorTextSecondary
</item>
<item
name=
"alertDialogTheme"
>
@style/AlertDialogTheme
</item>
</style>
<style
name=
"AlertDialogTheme"
parent=
"ThemeOverlay.AppCompat.Dialog.Alert"
>
<item
name=
"buttonBarNegativeButtonStyle"
>
@style/NegativeButtonStyle
</item>
<item
name=
"buttonBarPositiveButtonStyle"
>
@style/PositiveButtonStyle
</item>
<item
name=
"android:background"
>
@color/colorPrimary
</item>
</style>
<style
name=
"NegativeButtonStyle"
parent=
"Widget.AppCompat.Button.ButtonBar.AlertDialog"
>
<item
name=
"android:textColor"
>
@color/negativeButton
</item>
</style>
<style
name=
"PositiveButtonStyle"
parent=
"Widget.AppCompat.Button.ButtonBar.AlertDialog"
>
<item
name=
"android:textColor"
>
@color/positiveButton
</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