471 Commits

Author SHA1 Message Date
Daniel Martí
35c65fbffa Remove UnusedResource usages in translations 2015-11-19 08:17:05 -08:00
Daniel Martí
6af08494a2 Revert "Suppress lint warnings about unused categories names"
This reverts commit 5c9e314c9bfdd8df97b702c16b729ba440964168.

Error in question:

https://stackoverflow.com/questions/19526945/android-gradle-merged-values-xml-uses-wrong-namespace
2015-11-19 08:16:55 -08:00
F-Droid Translatebot
e29ae6de1a Pull translation updates from Weblate
Translators:

Indrit Bashkimi        Albanian
Kiril LastName         Bulgarian
Olexandr Nesterenko    Ukrainian
relan                  Russian
Sergio Oller           Catalan
tactmayers             Chinese (Hong Kong)
zmni                   Indonesian
2015-11-19 08:06:38 -08:00
F-Droid Translatebot
46c066468a Pull translation updates from Weblate
Translators:

Benedikt Geißler     German
Ronalds              Latvian
Sergey Vladimirov    Russian
Tobias Bannert       German
2015-11-17 19:48:48 -08:00
Christian Morgner
34838fd0dc Added username & password fields to the REPO table, increased DB version to 52.
Extended DownloaderFactory to support optional username & password parameters.

Extended HttpDownloader to check for HTTP 401 Authorization Required status code
and send a simple HTTP Basic Authentication header with all requests.

Extended ManageReposActivity to support repositories that use HTTP Basic
Authentication, added a dialog to prompt for username and password.

Extended RepoDetailsActivity to be able to display and modify the authentication
credentials.
2015-11-15 13:04:23 +01:00
Daniel Martí
682cf58aa9 Merge branch 'search-widget' into 'master'
Replace search dialog with a search widget

SearchView is the recommended way to implement search UI. See https://developer.android.com/guide/topics/search/search-dialog.html#UsingSearchWidget

The UX is still far from ideal but looks much better now.

Before and after (Gingerbred):

![gingerbred-before](/uploads/f724afaf152aeef8ff9cb3e838427d22/gingerbred-before.png)
![gingerbred-after](/uploads/da67fe57d2a55e64cce7d0cba31aa181/gingerbred-after.png)

Before and after (Lollipop):

![lollipop-before](/uploads/4a50258993a8304d984450456d07e3bb/lollipop-before.png)
![lollipop-after](/uploads/4b49b2f802eca567c6713fe653b10331/lollipop-after.png)


See merge request !168
2015-11-13 17:22:19 +00:00
Daniel Martí
7581d8443e Merge branch 'lint-unused-resources' of https://gitlab.com/relan/fdroidclient
Fix some lint warnings about unused resources

No functional changes, just cleanups.
2015-11-13 18:19:13 +01:00
F-Droid Translatebot
3afe248159 Pull translation updates from Weblate
Translators:

AtomiKe                 French
Erwin Scheuch-Heilig    German
Ldm Public              French
Michal Čihař            Czech
pizzaiolo               Esperanto
2015-11-13 18:16:36 +01:00
relan
7458dff6e9 Remove unused string repo_icon 2015-11-13 09:14:45 +03:00
relan
0324631a4e Remove unused string repo_update 2015-11-13 09:14:44 +03:00
relan
bb5665ab23 Remove unused color 2015-11-13 08:58:06 +03:00
relan
5c9e314c9b Suppress lint warnings about unused categories names
They are actually used from the code.
2015-11-13 08:58:06 +03:00
relan
e841d63ea9 Replace search dialog with a search widget
SearchView is the recommended way to implement search UI. See
https://developer.android.com/guide/topics/search/search-dialog.html#UsingSearchWidget
2015-11-13 08:27:55 +03:00
relan
32413a2753 Put empty text below the categories spinner
When an on-screen keyboard is used to enter a search query, empty text
can overlap categories spinner on small screens.
2015-11-13 08:19:57 +03:00
F-Droid Translatebot
e0c09853b9 Pull translation updates from Weblate
Translators:

ageru               French
Benedikt Geißler    German
Kiril LastName      Bulgarian
Marcelo Santana     Portuguese (Brazil)
Marvin W            German
2015-11-09 17:12:35 +01:00
relan
b533bc2112 Remove unused string swap_tap_to_select_apps 2015-11-09 15:51:18 +03:00
relan
3bbcca9966 Remove unused string update_all 2015-11-09 15:47:20 +03:00
relan
96ffb5f0fd Remove unused layouts 2015-11-09 15:45:47 +03:00
relan
7fdcd706fd Split tabs layouts
Use separate layouts for the three tabs. This simplifies code and improves
maintainability.
2015-11-09 15:43:09 +03:00
relan
950854318b Add styles for app list and empty text
Those styles will be used in the three layouts that will define the
look of the fragments.
2015-11-09 15:43:09 +03:00
F-Droid Translatebot
447dbe73ea Pull translation updates from Weblate
Translators:

ageru                French
Phạm Nguyễn Hoàng    Esperanto
Phạm Nguyễn Hoàng    Vietnamese
2015-11-07 14:03:48 +01:00
Peter Serwylo
002d356ece Ensure the "no apps to display" doesn't overlap with the category spinner.
There is no layout .xml file for the updated/installed list,
but there is for the available apps list. As a result, the `TextView` containing
the empty list message is added dynamically. With the recent improvements to
the category spinner, a `RelativeLayout` was used instead of a `ListView`. To
remedy this, the layout has been augmented to ensure the dynamically added
`TextView` still displays correctly.
2015-11-07 09:05:10 +11:00
F-Droid Translatebot
c6a8bd2139 Pull translation updates from Weblate
Translators:

Dimos D            Greek
Dmitry Mikhirev    Russian
Michalis           Greek
Szöllősi Attila    Hungarian
2015-11-05 12:06:14 +01:00
relan
0bd995a731 Set category filter height to 48dp
This improves usability of the category spinner. Divider is now behind
it. This makes the layout visually more compact while keeping actual
touch target 48dp. See
http://www.google.com/design/spec/layout/metrics-keylines.html#metrics-keylines-touch-target-size
2015-11-05 11:56:18 +03:00
Daniel Martí
81db276f8d Avoid showAsAction=always whenever possible
In AppDetails, work around it by using ifRoom and placing that button
first so that it gets preference. The rest aren't affected at all.
2015-11-01 20:06:17 +01:00
Daniel Martí
6db5da2cf7 Fix string formatting issues found by lint 2015-11-01 19:54:37 +01:00
F-Droid Translatebot
c5a36f34f2 Pull translation updates from Weblate
Translators:

agilob                   Polish
Allan Nordhøy            Norwegian Bokmål
Kiril LastName           Bulgarian
Kristoffer Grundström    Swedish
Mladen Pejaković         Serbian
2015-11-01 19:49:07 +01:00
Daniel Martí
41d2c69d2e Remove unused ic_info_white drawable
The layout code that uses it is now commented out. This commit can be
reverted once the layout code is used again in the future.
2015-11-01 19:43:45 +01:00
F-Droid Translatebot
079e704375 Pull translation updates from Weblate
Translators:

Anders Jonsson           Swedish
Kristoffer Grundström    Swedish
Mladen Pejaković         Serbian
2015-10-31 10:09:53 +01:00
Daniel Martí
b4560fc217 Merge branch 'materialize-category-filter' into 'master'
Make category filter look Material

Get rid of Gingerbred legacy.

Before and after (note the glitch below the spinner):

![before](/uploads/b0ed14216dcd772a78e3efc8ea8295f0/before.png)
![after](/uploads/0fba2177b33a2061ab67534a73de3f90/after.png)


See merge request !159
2015-10-29 15:41:58 +00:00
Daniel Martí
501d3d3176 Merge branch 'darker-dark-theme' into 'master'
Use darker primary colors for the Dark theme

Primary colors of the Light theme are too bright for the Dark theme. The difference should be especially noticeable on OLED screens.

Before and after:

![before](/uploads/437920c0b1173522b3d8312740532d12/before.png)
![after](/uploads/e1fa004e35021152688ba5b0da4d7086/after.png)

See merge request !160
2015-10-29 15:40:09 +00:00
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