490 Commits

Author SHA1 Message Date
relan
96091b00d5 Use darker primary colors for the Dark theme
Primary colors of the Light theme are too bright for the Dark theme.
2015-10-29 18:26:39 +03:00
relan
9170e2af91 Make category filter look Material
Get rid of Gingerbred legacy.
2015-10-29 18:15:01 +03:00
F-Droid Translatebot
dd0f9dcccf Pull translation updates from Weblate
Translators:

ageru                 French
agilob                Polish
Ajeje Brazorf         Sardinian
Dario Tordoni         Italian
Laura Arjona Reina    Spanish
Ldm Public            French
naofum                Japanese
Osoitz                Basque
Sérgio Marques        Portuguese (Portugal)
2015-10-29 16:05:01 +01:00
F-Droid Translatebot
04e548aec4 Pull translation updates from Weblate
Translators:

Ajeje Brazorf                     Sardinian
Allan Nordhøy                     Norwegian Bokmål
Daniel Martí                      Catalan
Luiz Wagner Tavares Nascimento    Italian
Marcelo Santana                   Portuguese (Brazil)
relan                             Russian
2015-10-23 10:59:58 +02:00
Daniel Martí
3311043e80 Merge branch 'materialize-app-list' into 'master'
Materialize app list

Improve the look of app list items. Note that compact mode is removed because it does not make much sense, see the screenshots.

Before (default layout, compact layout):

![before](/uploads/6e9b4f0827c89e191257210178a09b41/before.png)
![before-compact](/uploads/d98f907405d28e292ccab3af9d910162/before-compact.png)

After:

![after](/uploads/d95fc34ab047934e78b1e92bfce915dc/after.png)
![after-rtl](/uploads/0129f19390e1501cbd2e45d6597b7db5/after-rtl.png)

Affects #471 and #467. Those bugs will still be relevant because there are other places with wrong padding and font style.


See merge request !157
2015-10-21 19:55:57 +00:00
relan
6797f51481 Make app list look more Material
Use recommended paddings, text sizes, colors, avoid bold font style.
See https://www.google.com/design/spec/components/lists.html
2015-10-21 22:25:52 +03:00
relan
a962ba9523 Remove compact layout strings
They are unused now.
2015-10-21 22:04:52 +03:00
relan
71da35d3fd Remove compact layout setting
It's quite useless because it makes app list insignificantly smaller.
Besides, this contradicts the Material Design spec.
2015-10-21 22:04:52 +03:00
F-Droid Translatebot
cbb526d68b Pull translation updates from Weblate
Translators:

Ajeje Brazorf    Sardinian
Allan Nordhøy    Norwegian Bokmål
Enol Puente      Asturian
2015-10-21 16:55:10 +02:00
Daniel Martí
e8093a66f0 Replace preferences by settings in other strings 2015-10-20 23:40:57 +02:00
F-Droid Translatebot
70cb5cd94a Pull translation updates from Weblate
Translators:

ageru                French
agilob               Polish
Ajeje Brazorf        Sardinian
Alberto Moshpirit    Spanish
Enol Puente          Asturian
Green Lunar          Hebrew
2015-10-20 23:40:53 +02:00
Daniel Martí
1a60a7cfb7 Make remove-unused-trans remove empty strings
English is better than no text at all.
2015-10-19 09:49:14 +02:00
Daniel Martí
5b688d3c23 Rename Preferences to Settings
For consistency with Android and other apps.

Closes #464.
2015-10-19 09:48:05 +02:00
Daniel Martí
f349437334 Replace all tabs with spaces in string xml files
For consistency, and to keep weblate from adding even more tabs everywhere.
2015-10-19 09:35:57 +02:00
F-Droid Translatebot
9f7380691b Pull translation updates from Weblate
Translators:

ageru     French
Osoitz    Basque
Sylvie    Dutch
2015-10-19 09:27:27 +02:00
Daniel Martí
abf4528d02 Get rid of many tabs for consistency 2015-10-19 09:23:35 +02:00
relan
68de2356c5 Fix default textColor for TextView
TextView respects textViewStyle since appcompat-v7:22.2:

     public AppCompatTextView(Context context, AttributeSet attrs) {
-        this(context, attrs, 0);
+        this(context, attrs, android.R.attr.textViewStyle);
     }

This change in appcompat-v7 breaks previous behaviour by applying
textColorSecondary to TextViews: text becomes grey after upgrading
appcompat-v7 to 22.2.

See https://code.google.com/p/android/issues/detail?id=170476
2015-10-19 07:56:41 +03:00
F-Droid Translatebot
8bf0b1df91 Pull translation updates from Weblate
Translators:

agilob             Polish
Marcelo Santana    Portuguese (Brazil)
Michal Čihař       Bulgarian
relan              Russian
Rubén Santos       Galician
2015-10-17 13:36:44 +02:00
F-Droid Translatebot
127be67c79 Pull translation updates from Weblate
Translators:

Alberto Moshpirit     Spanish
Laura Arjona Reina    Spanish
Marcelo Santana       Portuguese (Brazil)
moshpirit             Spanish
Sérgio Marques        Portuguese
Sérgio Marques        Portuguese (Portugal)
zmni                  Indonesian
2015-10-13 22:32:40 +02:00
Daniel Martí
f1c3e5ee32 Add id to list of languages and add in link
As per #139.
2015-10-11 01:35:45 +02:00
F-Droid Translatebot
0f17901d9d Pull translation updates from Weblate
Translators:

agilob               Polish
AtomiKe              French
Ferenc Nagy          Hungarian
Mário Castanheira    Portuguese (Portugal)
Sérgio Marques       Portuguese (Portugal)
zmni                 Indonesian
2015-10-11 01:32:28 +02:00
F-Droid Translatebot
17f5fc67ec Pull translation updates from Weblate
Translators:

Ajeje Brazorf        Sardinian
Daniel Martí         Catalan
Enol Puente          Asturian
Mladen Pejaković     Serbian
naofum               Japanese
Phạm Nguyễn Hoàng    Vietnamese
relan                Russian
2015-10-07 11:01:05 +02:00
Daniel Martí
469f09c0b3 Remove all unused resources 2015-10-06 14:33:28 +02:00
Daniel Martí
17fdaa116c Run optipng -o7 on new drawables 2015-10-06 14:21:21 +02:00
Daniel Martí
c4699df82a Merge branch 'theme-night' into 'master'
Add night theme

[Screenshot](http://i.imgur.com/gVK5M0G.png)

The screenshot is huge, so making it an image in markdown takes up a lot of space. Hence link.

See merge request !149
2015-10-06 10:33:18 +00:00
Daniel Martí
5c4de9a166 Use the same format for hardcoded categories 2015-10-06 09:32:31 +02:00
Daniel Martí
c8bf53fd3b Use category_X for category name strings
This means more consistent and descriptive naming.
2015-10-06 09:18:15 +02:00
Daniel Martí
a052dc2ff1 Add night theme
Similar to the dark theme, but dropping blue in favour of very dark shades of
grey.

Removed colorEdgeEffect to simplify the sharing of the style between dark and
night themes. It should default to colorPrimary anyway, so we're good.

Fixes #345.
2015-10-06 09:03:11 +02:00
F-Droid Translatebot
ff9871f86f Pull translation updates from Weblate
Translators:

ageru                  French
Ajeje Brazorf          Sardinian
Enol Puente            Asturian
Olexandr Nesterenko    Ukrainian
relan                  Russian
Sérgio Marques         Portuguese (Portugal)
2015-10-06 09:00:46 +02:00
Jeff Mixon
36e0479967 Refresh layout of AppDetails screen
This change primarily affects the AppDetails links section to make them easier to click. It also strips down the UI a bit to provide a cleaner interface as well as some modest Material Design tweaks.

Fixes #389.
2015-10-05 22:38:57 +02:00
Daniel Martí
12ed92aa01 Run a stricter optipng -o7 -zm1-9 on all pngs
This takes even longer, and catches some optimizations that -o7 had left out.
2015-10-04 17:51:34 +02:00
Daniel Martí
194dff8ab8 Run optipng -o7 on all png images
The android build process doesn't waste time running optipng and such, since
it takes minutes to run properly.

I had already ran this a few months ago. Running it again gives an apk ~15KB
smaller, which is welcome. This is because of the new images added.
2015-10-04 08:14:48 -07:00
F-Droid Translatebot
ee57a7b683 Pull translation updates from Weblate
Translators:

Ajeje Brazorf          Sardinian
Allan Nordhøy          Norwegian Bokmål
AtomiKe                French
Enol Puente            Asturian
jaksi                  Hungarian
Luis Ruiz              Spanish
Marc Ringel            German
Mário Castanheira      Portuguese (Portugal)
Marvin W               German
naofum                 Japanese
Olexandr Nesterenko    Ukrainian
Osoitz                 Basque
Reg                    Swedish
Thomas Lü              German
2015-10-04 08:02:25 -07:00
Peter Serwylo
0164adc386 Don't depend on Content-Length headers to download (Fixes #430)
Instead, keep downloading until the `InputStream` returns -1.

Also, required updates to the UI so that when the download size is
not known, there is still a reasonable response to the user.

Note that this still fails when using the Android download manager
if the download attempts to get resumed, and the server did not
send a Connection: close, Content-Length, or Transfer-Encoding: Chunked
header.
2015-10-04 11:21:38 +11:00
Daniel Martí
9bb0719a86 Update list of languages 2015-10-02 17:34:07 -07:00
F-Droid Translatebot
312d559e81 Pull translation updates from Weblate
Translators:

agilob                 Polish
Mário Castanheira      Portuguese
Mário Castanheira      Portuguese (Portugal)
Olexandr Nesterenko    Ukrainian
2015-10-02 17:33:30 -07:00
Daniel Martí
ebb991d1c6 Remove unused/unwanted empty default_repo trans 2015-10-02 16:35:50 -07:00
Daniel Martí
8d87031f81 Remove some more unused resources 2015-10-02 16:32:15 -07:00
Daniel Martí
2509f6f869 Remove all duplicated drawables form drawable/
These already have density-specific versions in drawable-*/, so having a
fallback in drawable/ makes no sense.
2015-10-02 16:30:32 -07:00
Daniel Martí
fc50fea18c Merge branch 'materialize-repository-details' into 'master'
Materialize repository details

Modernize the look of repo details. Enabled repo before and after:

![1a](https://gitlab.com/relan/fdroidclient/uploads/c3e7906508763081fcde5d0ebd1d7b7b/1a.png)
![1b](https://gitlab.com/relan/fdroidclient/uploads/6be4bd19cd375abf8df1f403464dfca0/1b.png)

Disabled repo before and after:

![2a](https://gitlab.com/relan/fdroidclient/uploads/6ff39317b598c3da3a814e60f74e75cb/2a.png)
![2b](https://gitlab.com/relan/fdroidclient/uploads/5354ec4c56dd3dc0958d7f002543ee9b/2b.png)


See merge request !148
2015-10-02 19:18:30 +00:00
F-Droid Translatebot
3235ddd120 Pull translation updates from Weblate
Translators:

agilob                 Polish
Ajeje Brazorf          Sardinian
Enol Puente            Asturian
Full Name              Slovak
Lu Ca                  Sardinian
Marcelo Santana        Portuguese (Brazil)
Olexandr Nesterenko    Ukrainian
2015-10-01 20:07:53 -07:00
relan
b3ae79e5c2 Correct the fingerprint caption
Do not use the word "repo" in captions because all the info in the
activity is about a repository.
2015-10-01 17:49:31 +03:00
relan
f9feab57cc Use monospace font for repository fingerprint
Bytes look better when they are properly aligned.
2015-10-01 17:47:05 +03:00
relan
2cc6661979 Make repository details look more Material
See http://www.google.com/design/spec/style/typography.html

Remove useless attributes; add styles with proper paddings, size and color
for caption and body text. Unfortunately, line spacing attributes are
supported only since Jelly Bean.
2015-10-01 17:38:20 +03:00
relan
6f6bd44a38 Use static title for repository details activity
Repository name is usually too long to fit into the title. Besides, it's
also shown in the activity, no need to duplicate it.
2015-10-01 07:26:58 +03:00
relan
77f0dbb65a Correct the message about disabled repo
Explain that repository should be enabled.
2015-10-01 07:26:58 +03:00
relan
f5906f320f Remove update button
It's confusing because it does not update the repo details view.
2015-10-01 07:26:58 +03:00
relan
dbd69444f1 Set side paddings in LinearLayout, not in ScrollView
This fixes scrollbar position.
2015-10-01 07:26:58 +03:00
relan
4ecb253c80 Remove useless RelativeLayout 2015-10-01 07:26:58 +03:00
relan
fe3a739fe3 Fix up indentation in repodetails.xml 2015-10-01 07:26:58 +03:00