41 Commits

Author SHA1 Message Date
Peter Serwylo
af2a9ecfb6 Safer preference managing. Fix "compact layout requires reload".
Previously, everybody had to remember the preference name and the
default value. If it was ever changed, this would have to be updated
everywhere. Now, the Preferences class is responsible for talking to the
SharedPreferences functionality of ANdroid.

I've started with just the compactlayout preference, because
that is what I required for this fix.
2013-07-26 09:38:23 +10:00
Daniel Martí
bc77804eee Add a small padding to the "found x applications matching..." string in SearchResults 2013-07-26 00:14:42 +02:00
Peter Serwylo
d2e2b492fb Added missing > in XML. 2013-07-21 07:20:53 +10:00
Daniel Martí
d315521c7d Remove rtl layout support (WIP in rtl-layout branch) 2013-07-18 12:06:04 +02:00
Daniel Martí
a46b8e8663 Revert all the fast scroll always enabled changes 2013-07-11 12:45:13 +02:00
Daniel Martí
efb37e459f Remove unnecessary padding.
On 3.0+, the scrollbar padding already leaves some space.
2013-07-10 14:52:15 +02:00
Daniel Martí
c1d023de0f Disable scrollbars on AppDetails 2013-07-10 12:59:47 +02:00
Daniel Martí
ed54b028a9 Make the icon spacing a lot easier 2013-07-09 23:33:05 +02:00
Daniel Martí
0c259673d8 non-compact stuff is now hidden by default via xml
Also, forgot to add the backwards compatibility for END_OF
2013-07-08 14:26:07 +02:00
Daniel Martí
74ca3c2aa5 Fix layouts for APIs <= 16 2013-07-08 13:03:10 +02:00
Daniel Martí
f5785c3de0 Add very basic support for RTL languages 2013-07-07 12:12:29 +02:00
Daniel Martí
4a61c20e92 Merge commit 'refs/merge-requests/46' of gitorious.org:f-droid/fdroidclient 2013-06-27 14:50:33 +02:00
Peter Serwylo
1caa7510b6 Changed compact view to show description.
Removed the license and the version info from the compact view, and
showed the description instead. The installed status, and whether the
app can be updated or not (but not which version can be updated to) is
now shown via little icons on the right hand side of the list view.

Also refactored adapters to allow different views for
Available/Installed/Updates tabs. This is because I didn't want the
"installed" status icon in the installed tab, and neither the
"installed" nor the "updates" icon in the "updates" tab.

The adapters were moved to the "views" package, because I needed to add
three new classes and they started to clutter the list of *.java files.
2013-06-10 21:57:28 +10:00
Daniel Martí
780e0e3d54 Some more spacing fixes (suggestion by daithib8) 2013-05-27 18:08:24 +02:00
Daniel Martí
18ae6e6da2 Refactor about screen.
* Add paddings.
* Don't use hard-coded pixel sizes.
* Don't use white color directly (this would soon break the white holo theme)
* Don't use an "empty" textview to force a vertical space.

Looks much cleaner now, and the code is easier on the eyes.
2013-05-26 12:25:46 +02:00
Daniel Martí
6f3c5b4e85 More spacings in lists and app details screen 2013-05-26 12:25:20 +02:00
Peter Serwylo
8c41f18a1b Change permissions string to include version number of latest. 2013-04-28 19:57:12 +10:00
Peter Serwylo
7849182f98 i18n permissions. 2013-04-28 18:52:26 +10:00
Peter Serwylo
688142c83e bede's changes for adding permissions to app details. 2013-04-28 18:48:22 +10:00
Ciaran Gultnieks
d641ad8539 Default https when adding repo 2013-04-15 10:32:59 +01:00
Peter Serwylo
89facb24c6 Finished implementation of swipe to change tabs. 2013-04-10 12:57:35 +10:00
Peter Serwylo
fdf69cabcc WIP: Adding tab swiping, which is a bit more work than I thought. 2013-04-10 10:17:55 +10:00
Michele Azzolari
5a5a632778 Showing last repo scan at bottom of repo list 2012-09-28 11:01:25 +02:00
Ciaran Gultnieks
006ee57bbf Handle long descriptions properly 2012-09-19 13:14:36 +01:00
Ciaran Gultnieks
14cdf092d3 Tidies up app details view a bit and adds summary/package id
The package ID is shown only in expert mode.
2012-09-18 20:59:00 +01:00
Ciaran Gultnieks
0d0c65fb0e Adds handling of formatted descriptions 2012-09-17 21:46:32 +01:00
Ciaran Gultnieks
b46b6ed933 A few changes to list UI:
Categories only apply to 'Available' list, which now includes
installed apps too.
2012-09-15 08:30:08 +01:00
Ciaran Gultnieks
021506b8d6 Fix tab overlap issues on larger screens 2012-08-29 07:52:29 +01:00
Kevin Everets
6d0b5d2d8e Add "added" information to the Apk list in AppDetails if available
Just place it below the status for the time being until a more pleasing
layout can be created.
2012-07-16 15:08:17 -04:00
Paul Sokolovsky
8a5dbaf001 Add category dropdown at the top of main form (above tabs). 2011-08-16 21:45:35 +03:00
Ciaran Gultnieks
7b33ffb5c5 Minor changes to allow building within Replicant
(supplied by Paul Kocialkowski)
2011-06-07 08:55:39 +01:00
Henrik Tunedal
63c573b28b Add landscape layout for AppDetails 2011-03-30 01:39:36 +02:00
Henrik Tunedal
c76da4e35f Display SHA-1 fingerprints for repositories
The fingerprint is divided into four groups for readability but
otherwise identical to what keytool displays.
2011-03-28 03:54:29 +02:00
Henrik Tunedal
deec894061 Fix my supposedly improved listview item layout 2011-03-10 01:12:43 +01:00
Henrik Tunedal
773b78a363 Improve listview item layout 2011-03-07 18:37:43 +01:00
Ciaran Gultnieks
efcc7c6d8c Show whether an apk is from source or a binary on the apk list 2011-02-21 22:12:00 +00:00
Ciaran Gultnieks
3d19b7f2c1 Basic search implemented, just needs a bit of tidying up (e.g. tell you what you searched for) 2011-01-17 17:58:48 +00:00
Ciaran Gultnieks
df6a37a705 Expert mode - currently just displays md5 of signature for installed apps 2011-01-04 23:52:04 +00:00
Ciaran Gultnieks
f3eca41937 Update notifications, and version number on the about box 2010-11-12 22:14:25 +00:00
Ciaran Gultnieks
9b2284d08f Show apk sizes next to each version (incorporates supporting database changes) 2010-10-26 18:19:15 +01:00
Ciaran Gultnieks
0b71cb7e73 Initial files 2010-10-19 23:24:04 +01:00