1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-01 08:05:08 -04:00
Commit Graph

327 Commits

Author SHA1 Message Date
Jesse Vincent
65777cb55d make the folders button in the account list more like a button. backcompat for pre-sdk-11 styles 2013-06-30 16:29:37 -04:00
cketti
3d884a8f1c Remove explicit left-alignment so EditText works with RTL languages 2013-04-13 23:03:18 +02:00
cketti
6b6f73dfd3 Change appearance of unread widget
* New icon
* Fix 2x2 bug on Nexus 4
* Add preview image
2013-03-16 01:57:21 +01:00
cketti
e118917090 Use theme-specific image for 'add contact' button 2013-03-08 18:00:41 +01:00
cketti
0c16b8cec8 Change style for button bar in setup (Android 3+)
Use the button bar layout from Roman Nurik's WizardPager example:
https://code.google.com/p/romannurik-code/source/browse/misc/wizardpager
2013-03-08 03:17:22 +01:00
Uni-
94c1477e93 Fix welcome message layout 2013-03-06 01:39:15 +09:00
Uni-
4f5ab86be3 Add settings import on Welcome 2013-03-05 16:31:45 +09:00
cketti
d6d9effbec Remove unused stuff 2013-02-21 02:00:12 +01:00
m0viefreak
08092c5b8a message header layout adjustments
- wrap chip around the whole header, including the subject
  and the expanded additional headers area.

- mindor padding adjustments to make whitepsace around the
  contact badge a bit more homogeneous.
2013-02-15 18:15:39 +01:00
maniac103
897f6e3d1c Merge pull request #254 from maniac103/holo-improvements
Holo improvements
2013-02-14 08:34:32 -08:00
Danny Baumann
099da1913b Improve some layouts. 2013-02-13 11:20:33 +01:00
Danny Baumann
20d229c91b Make the contact badges a little smaller.
Previously, they dominated both the message header as well as the
message list by their sheer size, at least on xhdpi (Nexus 4), although
they're certainly not the most important information in there.
2013-02-13 11:20:25 +01:00
Danny Baumann
473a9d4fa2 Use star icon provided by framework.
Provides us with a holo-styled star for free.
2013-02-13 11:13:47 +01:00
m0viefreak
8d4a82ba0e message view: fix subject bugs
- Android does not support ellipsize in combination with maxlines
  for TextViews. This caused getEllipsisCount() in MessageTitleView
  to always fail, and the full subject was never shown in the regular
  headers area when needed.
  To work around that, check for ourselves whether the text is
  longer than 2, and ellipsize manually.

- Clicking the star button on a message caused the subject line to
  re-appear, even if it fits in the action bar title without being
  cut off. This was caused by MessageHeader.populate(), which always
  set the subject to visible.
  As a workaround: Only set subject to visible in case populate()
  actually shows a new message.

- delete res/layout/actionbar_message_view.xml, its already present
  in the actionbar_custom.xml
2013-02-11 13:47:31 +01:00
Danny Baumann
d6fb018b1c Fix some more layout issues. 2013-02-11 13:03:30 +01:00
Danny Baumann
5b816f0cbd Make space between from, to and cc consistently sized. 2013-02-11 12:22:20 +01:00
Danny Baumann
98737149c1 Fix message header layout issues. 2013-02-11 10:48:49 +01:00
Jesse Vincent
03428f1a31 remove the background color from message view headers 2013-02-10 20:23:26 -05:00
Jesse Vincent
ed90f3be44 MessageView quick contact badges 2013-02-10 19:02:17 -05:00
Jesse Vincent
14b4b28fa0 relayout the message header area 2013-02-10 19:02:17 -05:00
cketti
cf988cad7e Use new holo-themed icons when possible 2013-02-10 01:16:46 +01:00
cketti
171ecc483b Clean up drawable folders 2013-02-09 06:19:03 +01:00
cketti
3a7f1249dc Fix some display issues 2013-02-08 18:04:39 +01:00
cketti
04ce0a9d3f Add contact pictures to message list 2013-02-08 15:37:27 +01:00
Jesse Vincent
7714bc3cfa Move "show all headers" into the menu (and out of the UI) 2013-02-07 15:27:22 -05:00
cketti
9279c6d7c8 Fix multi-select checkboxes 2013-02-06 14:06:22 +01:00
m0viefreak
5fa7e65816 MessageView: another theme fix
- The attachments view still had the wrong background color in case
  of different global and message themes.

- The attachments view used the activity LayoutInflater, but it needs
  to use the one of the fragment.

- The background drawable for the attachments used transparency, and
  thus was completely invisible in the black theme. Fix it by adding
  another one for the black theme.
2013-02-05 23:12:52 +01:00
cketti
f5ec5cd3fb Avoid saved state being discarded when message list is modified 2013-02-05 20:00:31 +01:00
Danny Baumann
7b48df7dce Simplify message list item layout. 2013-02-05 11:16:00 +01:00
Danny Baumann
f51f675021 Simplify and improve message view header layout.
The star was displayed partially off-screen before.
2013-02-05 11:15:55 +01:00
cketti
b02e338b49 Add animation when switching from message list to message view 2013-02-02 02:21:20 +01:00
cketti
9a4b674282 Extract string to strings.xml 2013-02-01 03:34:35 +01:00
cketti
546b9434de Remove unused layouts 2013-02-01 03:24:00 +01:00
cketti
3439a2326d Use theme-specific color for message list divider 2013-02-01 03:18:04 +01:00
cketti
6b143d845a Set MessageList title in action bar depending on display mode 2013-02-01 02:50:00 +01:00
cketti
0a14d584e9 Add 1px divider between message list and message view in split view 2013-01-25 12:19:09 +01:00
cketti
933dd95047 First very basic version of a split screen for message list + view 2013-01-24 13:04:06 +01:00
cketti
24c10f0fd3 Explicitly set layout used in a ListActivity 2013-01-18 12:33:31 +01:00
cketti
ffda532612 Add (heavily modified) HoloColorPicker 2013-01-17 09:03:11 +01:00
Jesse Vincent
f8414ffe99 Merge remote-tracking branch 'zjw/folder_search'
* zjw/folder_search:
  Provide message search capability from the folder list.
  Eliminate unused code.
  Switch to using the action bar for folder searches.
  Use a more appropriate title when diplaying folder search results.
  Switch to using the action bar for folder searches.
  Provide new action bar "find folder" icons
  Create action buttons to search for folders.
  Readjust settings version number based on current master
  Control wrapping of folder names programmatically only
  Permit the folder list item to expand vertically.
  Create new preference option for wrapping folder names in folder list view.
  Issue 1911:  Permit folder names to wrap on multiple lines in folder list view so users can see the entire name.
2013-01-15 15:19:12 -05:00
Joe Steele
218823d7b2 Remove the progress bar from the message list footer.
More often than not, it's scrolled out of view.
Other progress indicators have been implemented that
are always in view.
2013-01-10 16:50:21 -05:00
Joe Steele
689f69ca49 Provide progress indicator for searches.
Searches can be slow, so users need an indicator.  The indicator is
also used when opening a message list or when refreshing it, or when
loading more messages.

This also removes some unused code.
2013-01-10 16:50:20 -05:00
Joe Steele
d5a2c6b5c7 Control wrapping of folder names programmatically only
This removes the default settings (ellipsized, single line) from the layout
xml file and implements them programmatically.  This fixes the problem where:
You are viewing a folder list while wrapping is currently on, then you go into settings
and turn wrapping off, after which you are back at the folder list, but the
list is still wrapped.
2013-01-10 16:42:26 -05:00
Joe Steele
2c20413af6 Permit the folder list item to expand vertically.
Prior to this, in cases where the folder name wraps to mulitiple lines,
it could overflow its box and the overflow was hidden.
2013-01-10 16:42:25 -05:00
Joe Steele
26fe9b7757 Create new preference option for wrapping folder names in folder list view.
Revert to using an ellipsized folder name as the default.
2013-01-10 16:42:23 -05:00
Joe Steele
7459f1c6b5 Issue 1911: Permit folder names to wrap on multiple lines in folder list view so users can see the entire name.
Reduce the default font size used in folder list view to a reasonable size so that long folder paths wrap to fewer lines.
2013-01-10 16:42:22 -05:00
cketti
caa26311f1 Use HTML to format welcome message / make URL clickable 2012-12-17 12:41:12 +01:00
cketti
9d66a5e3ba Remove (now redundant) background from layouts to reduce overdraw 2012-12-13 07:28:35 +01:00
cketti
b04f1b4319 Add an "empty view" to the message list
This will display a spinning progress indicator while the message list
is loaded from the database.
2012-12-06 06:26:39 +01:00
cketti
b2098c8d1c Add activity that is displayed during database upgrades
See UpgradeDatabases.java for a detailed description of the upgrade
process.
2012-12-01 08:02:55 +01:00