Dominik Schürmann
e0a381a00d
Restore fab colors in key list
2015-07-25 15:47:49 +02:00
Dominik Schürmann
04f771a4f7
Fix crash with new theme
2015-07-25 15:46:36 +02:00
Thialfihar
a4470abc10
Refactor theme selection of dialogs
...
This makes sure the dark theme also uses dark dialogs.
2015-07-21 22:47:55 +02:00
Thialfihar
313188c695
Fix key view toolbar and status colour
...
The status bar wrongly used the same colour as the toolbar, making it
indistinguishable from it. This calculates the status bar colour based
on the toolbar colour.
2015-07-21 22:47:55 +02:00
Thialfihar
3a810676fc
Fix preference version handling
...
Move preference upgrade of theme to version 4 of the preferences. The
upgrade is meant FROM that version to the next.
2015-07-21 20:56:42 +02:00
Thialfihar
1183d6f30c
Use a constant for the default value of the theme
2015-07-21 20:56:42 +02:00
Thialfihar
306d20f977
Refactor theme changing to avoid code repetition
2015-07-21 20:56:42 +02:00
Thialfihar
3b67c9d894
Rename updatePreferences() to upgradePreferences()
...
This is really an upgrade of the preference store and not an update of
values, it also is consistent with SQLiteOpenHelper.onUpgrade().
2015-07-21 20:56:42 +02:00
Thialfihar
86d95e4d40
Refactor theme preference values into constants
...
Also explicitly set a theme via preference updating to the default.
2015-07-21 20:56:42 +02:00
Thialfihar
8d2cd33339
Upgrade MaterialDrawer to 3.0.9
2015-07-21 20:56:42 +02:00
Thialfihar
d359431662
Fix color of selected text in drawer menu for light theme
...
The MaterialDrawerTheme.Light.ActionBar makes the drawer icon in the top
left black for some reason. A work-around is to set the primary colour
back to green, so it will be used for Theme.AppCompat.Light and override
the selected text colour for the dark theme.
2015-07-21 20:56:42 +02:00
Thialfihar
680799caa7
Fix drawer background color for ViewKeyActivity
2015-07-21 20:56:42 +02:00
Thialfihar
31eece0e27
Update recent decrypt changes to use new theme attributes
2015-07-21 20:56:42 +02:00
Thialfihar
17e8b663a8
Add forgotten docu to a new method
2015-07-21 20:56:42 +02:00
Thialfihar
e281fef1f1
Lowercase colors for consistency
2015-07-21 20:56:42 +02:00
Thialfihar
8227db3778
Make tab text and indicator themeable
2015-07-21 20:56:42 +02:00
Thialfihar
0d1d6542ea
Make the log display honour the theme
2015-07-21 20:56:42 +02:00
Thialfihar
e267daf602
Make import keys activity honour the theme
...
This changes the light theme slightly as well, it uses the actual
background instead of pure white and removes the thick superfluous
divider on top.
The divider at the bottom now has no margin, making the separation from
the FrameLayout on top more consistent, especially when there is
scrollable content.
2015-07-21 20:56:41 +02:00
Thialfihar
506630552a
Make CardView background themeable
...
However, CardViews displaying QR codes keep a fixed white background.
2015-07-21 20:56:41 +02:00
Thialfihar
1c3fbe9bbe
Make bright toolbar themeable
...
Also remove a superfluous divider in the decrypt files fragment and the
unused drawer_custom_header.xml.
This changes the color of the toolbar in the light theme as well,
because its brightness didn't play well with the system status bar of
Android, drowning it in whiteness. Now it is still very light, but the
system bar is still faintly visible above it.
2015-07-21 20:56:41 +02:00
Thialfihar
7fab951175
Remove color black, as it isn't needed anymore
2015-07-21 20:56:41 +02:00
Thialfihar
d8d0030c0b
Make help pages work in dark theme
...
This maintains the black-on-white theme of the HTML views even for the
dark theme.
2015-07-21 20:56:41 +02:00
Thialfihar
b60842a35b
Make main text color themeable
2015-07-21 20:56:39 +02:00
Thialfihar
0af7d3c50b
Give password strength indicator colors their own name
...
Also prune the android color definitions, most of which aren't used.
2015-07-21 20:56:21 +02:00
Thialfihar
dfe5a64fb0
Give key flag colors their own color names
...
This removes "bg_gray" and selector_transparent_button.xml, which is
unused and the last file to reference "bg_gray".
2015-07-21 20:56:12 +02:00
Thialfihar
6b8127ca94
Make cardview header divider themeable
2015-07-21 20:50:32 +02:00
Thialfihar
9f3ecf6bc0
Make log background themeable
2015-07-21 20:50:32 +02:00
Thialfihar
0f6acbd030
Make FAB colors themeable
2015-07-21 20:50:32 +02:00
Thialfihar
fe9c802bbb
Make button row background themeable
2015-07-21 20:50:32 +02:00
Thialfihar
7df68919a9
Adjust checkstyle for new directory
2015-07-21 20:50:32 +02:00
Thialfihar
13983be799
Make header text and tertiary text color themeable
2015-07-21 20:50:32 +02:00
Thialfihar
58cb6bb4b7
Start moving colors into themes
...
Using attrs instead of fixed colors it will be possible to style
everything and also dynamically grab the color where needed in code.
This is done with colorEmphasis as an initial test.
Also remove several unused colors.
2015-07-21 20:49:08 +02:00
Thialfihar
4d412d53dc
Automatically recreate activities on theme change
2015-07-21 20:49:08 +02:00
Thialfihar
e51eff4050
Add theme setting
...
This prepares that different themes can be added. Currently light and
dark will just use the default OK theme.
2015-07-21 20:49:08 +02:00
Vincent Breitmoser
e4b113701c
Merge remote-tracking branch 'origin/master'
2015-07-15 21:14:53 +02:00
Dominik Schürmann
1dafd1b629
Merge pull request #1435 from open-keychain/revocation-on-deletion
...
Revocation on deletion
2015-07-15 17:26:41 +02:00
Adithya Abraham Philip
fe0b083bc5
fixed multi-deletion bug, moved logic into DeleteKeyDialogActivity
2015-07-15 20:16:07 +05:30
Adithya Abraham Philip
771d654766
made mSignatureTime optional in CryptoOperationHelper
2015-07-15 07:34:03 +05:30
Vincent Breitmoser
4cef97be5f
update safeslinger lib ( closes #1434 )
2015-07-15 00:47:41 +02:00
Vincent Breitmoser
2ceec6ff68
fix verification of android support lib (broken in b59be903)
2015-07-14 19:21:25 +02:00
Vincent Breitmoser
d0c389775a
Merge remote-tracking branch 'origin/master'
2015-07-14 16:49:12 +02:00
Vincent Breitmoser
49f3b3780d
update snackbar with new animation flow
2015-07-14 16:49:06 +02:00
Vincent Breitmoser
b59be903c3
Revert "Use snackbar lib from maven repo"
...
This reverts commit bfc57aefa5 .
Conflicts:
OpenKeychain/build.gradle
settings.gradle
2015-07-14 14:37:29 +02:00
Adithya Abraham Philip
03a30fe0e3
added revocation tag NO_REASON to all revocations via PgpKeyOperation
2015-07-14 00:02:53 +05:30
Adithya Abraham Philip
c1d2beb559
made PassphraseDialogActivity compatible with null CryptoInputParcel
2015-07-13 23:34:06 +05:30
Adithya Abraham Philip
c59196a6f1
upload only public key in revocation
2015-07-13 23:34:06 +05:30
Adithya Abraham Philip
8bbc5513d4
corrected DeleteKeyDialogActivity finishing on cancel
2015-07-13 23:34:06 +05:30
Adithya Abraham Philip
0cec75fc9d
show key name on revoke/delete dialog
2015-07-13 23:34:06 +05:30
Adithya Abraham Philip
76500f47a3
made key deletion require double confirmation
2015-07-13 23:34:06 +05:30
Adithya Abraham Philip
b61a7d5535
added licenses, cleaned up code, fixed warnings
2015-07-13 23:34:06 +05:30