From abf4528d023600d74d6621c4a0795a0b3dc92504 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Mon, 19 Oct 2015 09:21:48 +0200 Subject: [PATCH] Get rid of many tabs for consistency --- CONTRIBUTING.md | 4 +- F-Droid/res/layout-land/app_details.xml | 8 +- F-Droid/res/layout/apklistitem.xml | 2 +- F-Droid/res/layout/app_details.xml | 2 +- F-Droid/res/layout/applistitem.xml | 185 ++++++++++++------------ F-Droid/res/layout/fdroid.xml | 22 +-- F-Droid/res/layout/searchresults.xml | 34 ++--- F-Droid/res/xml/preferences.xml | 138 +++++++++--------- README.md | 4 +- settings.gradle | 12 +- 10 files changed, 205 insertions(+), 206 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2af193b2f..25c4e0f66 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -46,7 +46,7 @@ it. We enforce some of these, but not all, via checkstyle. To get all the logcat messages by F-Droid, you can run: - adb logcat | grep `adb shell ps | grep org.fdroid.fdroid | cut -c10-15` + adb logcat | grep `adb shell ps | grep org.fdroid.fdroid | cut -c10-15` ## Building tips @@ -60,7 +60,7 @@ In order to run the F-Droid test suite, you will need to have either a real devi connected via `adb`, or an emulator running. Then, execute the following from the command line: - gradle connectedCheck + gradle connectedCheck Note that the CI already runs the tests on an emulator, so you don't necessarily have to do this yourself if you open a merge request as the tests diff --git a/F-Droid/res/layout-land/app_details.xml b/F-Droid/res/layout-land/app_details.xml index bb9d4c7d2..48ac032d2 100644 --- a/F-Droid/res/layout-land/app_details.xml +++ b/F-Droid/res/layout-land/app_details.xml @@ -3,9 +3,9 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:baselineAligned="false" - android:orientation="horizontal"> + android:layout_height="fill_parent" + android:baselineAligned="false" + android:orientation="horizontal"> + android:padding="5dp"> + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:padding="10dp" + android:baselineAligned="false" + xmlns:tools="http://schemas.android.com/tools" > - - + + - + - + - + - + - + - + - + - + - + - + diff --git a/F-Droid/res/layout/fdroid.xml b/F-Droid/res/layout/fdroid.xml index fe0687322..d7d866c02 100644 --- a/F-Droid/res/layout/fdroid.xml +++ b/F-Droid/res/layout/fdroid.xml @@ -1,17 +1,17 @@ + android:id="@+id/fdroid_layout" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:baselineAligned="false" + android:orientation="vertical"> - + - + diff --git a/F-Droid/res/layout/searchresults.xml b/F-Droid/res/layout/searchresults.xml index 41ba64b45..dd8198a9d 100644 --- a/F-Droid/res/layout/searchresults.xml +++ b/F-Droid/res/layout/searchresults.xml @@ -1,23 +1,23 @@ + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:paddingLeft="2dp" + android:paddingStart="2dp" + android:paddingRight="2dp" + android:paddingEnd="2dp" + android:baselineAligned="false" + android:orientation="vertical"> - + - + diff --git a/F-Droid/res/xml/preferences.xml b/F-Droid/res/xml/preferences.xml index b647b95c0..38acc7f38 100644 --- a/F-Droid/res/xml/preferences.xml +++ b/F-Droid/res/xml/preferences.xml @@ -1,25 +1,25 @@ - - - - - - - + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + android:summary="@string/proxy_host_summary" + android:dependency="enableProxy" /> - - - - - - - - + android:dependency="enableProxy" /> + + + + + + + + diff --git a/README.md b/README.md index 9486d2d48..2c0ac5719 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,8 @@ for Android. The only requirements are the [Android SDK](https://developer.android.com/sdk/) and [Gradle](http://gradle.org/) 2.7: - cd F-Droid - gradle assembleRelease + cd F-Droid + gradle assembleRelease ## Direct download diff --git a/settings.gradle b/settings.gradle index bd4f9f6b5..d6c16f904 100644 --- a/settings.gradle +++ b/settings.gradle @@ -2,12 +2,12 @@ include ':F-Droid' include ':Privileged-Extension' include ':privileged-api-lib' if (hasProperty('sourceDeps')) { - include ':extern:support-v4-preferencefragment' - include ':extern:nanohttpd:core' - include ':extern:zipsigner' + include ':extern:support-v4-preferencefragment' + include ':extern:nanohttpd:core' + include ':extern:zipsigner' // Needed for zipsigner - include ':extern:spongycastle:core' - include ':extern:spongycastle:pkix' - include ':extern:spongycastle:prov' + include ':extern:spongycastle:core' + include ':extern:spongycastle:pkix' + include ':extern:spongycastle:prov' }