diff --git a/AndroidManifest.xml b/AndroidManifest.xml index eda9ba073..cb470a6e4 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -105,32 +105,41 @@ - - - - - + + + + + + + + + + - - - - - + + + + + + + @@ -202,7 +217,7 @@ - + + android:value=".views.ManageReposActivity" /> + + + + + + + "http://www.w3.org/TR/html4/strict.dtd"> - - - {{REPO_URL}} local FDroid repo - - - - - + + + F-Droid swap + + + - -

Kerplapp Bootstrap

-
    -
  1. Find a Kerplapp Repo
  2. -
  3. Download F-Droid client
  4. -
  5. Install F-Droid client
  6. -
  7. Add Kerplapp Repo to F-Droid client
  8. -
  9. Kerplapp an App!
  10. -
- + ol > li a { + font-family: "Roboto", Helvetica, sans-serif; + font-weight: bold; + color: #fff; + } + + #download-from-web { + padding-left: 2em; + padding-right: 2em; + } + + + + + + + +

You're minutes away from having swap success!

+
    +
  1. + Find a swap + Done +
  2. +
  3. + Download F-Droid + Not done +
  4. +
  5. + Install F-Droid + Not done +
  6. +
  7. + Add the swap to F-Droid + Not done +
  8. +
  9. + Install the apps you want + Not done +
  10. +
+
+ + Or, download apps from the web + +
+ diff --git a/assets/swap-icon.png b/assets/swap-icon.png new file mode 100644 index 000000000..50a5852d8 Binary files /dev/null and b/assets/swap-icon.png differ diff --git a/assets/swap-icon.svg b/assets/swap-icon.svg new file mode 100644 index 000000000..adcd0b51c --- /dev/null +++ b/assets/swap-icon.svg @@ -0,0 +1,48 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/assets/swap-tick-done.png b/assets/swap-tick-done.png new file mode 100644 index 000000000..c50f40947 Binary files /dev/null and b/assets/swap-tick-done.png differ diff --git a/assets/swap-tick-not-done.png b/assets/swap-tick-not-done.png new file mode 100644 index 000000000..ec8ca7e0d Binary files /dev/null and b/assets/swap-tick-not-done.png differ diff --git a/res/drawable-hdpi/ic_swap.png b/res/drawable-hdpi/ic_swap.png new file mode 100644 index 000000000..8d1a398bb Binary files /dev/null and b/res/drawable-hdpi/ic_swap.png differ diff --git a/res/drawable-hdpi/nfc_touch.png b/res/drawable-hdpi/nfc_touch.png new file mode 100644 index 000000000..8e3db56d7 Binary files /dev/null and b/res/drawable-hdpi/nfc_touch.png differ diff --git a/res/drawable-hdpi/swap_success.png b/res/drawable-hdpi/swap_success.png new file mode 100644 index 000000000..37c70423c Binary files /dev/null and b/res/drawable-hdpi/swap_success.png differ diff --git a/res/drawable-hdpi/wifi.png b/res/drawable-hdpi/wifi.png new file mode 100644 index 000000000..813a63e9b Binary files /dev/null and b/res/drawable-hdpi/wifi.png differ diff --git a/res/drawable-hdpi/wifi_ap_personal.png b/res/drawable-hdpi/wifi_ap_personal.png new file mode 100644 index 000000000..67658d768 Binary files /dev/null and b/res/drawable-hdpi/wifi_ap_personal.png differ diff --git a/res/drawable-hdpi/wifi_ap_private.png b/res/drawable-hdpi/wifi_ap_private.png new file mode 100644 index 000000000..7f03f522d Binary files /dev/null and b/res/drawable-hdpi/wifi_ap_private.png differ diff --git a/res/drawable-hdpi/wifi_ap_public.png b/res/drawable-hdpi/wifi_ap_public.png new file mode 100644 index 000000000..d00ae9392 Binary files /dev/null and b/res/drawable-hdpi/wifi_ap_public.png differ diff --git a/res/drawable-ldpi/ic_swap.png b/res/drawable-ldpi/ic_swap.png new file mode 100644 index 000000000..46e4bff13 Binary files /dev/null and b/res/drawable-ldpi/ic_swap.png differ diff --git a/res/drawable-ldpi/nfc_touch.png b/res/drawable-ldpi/nfc_touch.png new file mode 100644 index 000000000..55a4e5065 Binary files /dev/null and b/res/drawable-ldpi/nfc_touch.png differ diff --git a/res/drawable-ldpi/swap_success.png b/res/drawable-ldpi/swap_success.png new file mode 100644 index 000000000..44e3a077f Binary files /dev/null and b/res/drawable-ldpi/swap_success.png differ diff --git a/res/drawable-ldpi/wifi.png b/res/drawable-ldpi/wifi.png new file mode 100644 index 000000000..9ebb4501b Binary files /dev/null and b/res/drawable-ldpi/wifi.png differ diff --git a/res/drawable-ldpi/wifi_ap_personal.png b/res/drawable-ldpi/wifi_ap_personal.png new file mode 100644 index 000000000..d4b79ae90 Binary files /dev/null and b/res/drawable-ldpi/wifi_ap_personal.png differ diff --git a/res/drawable-ldpi/wifi_ap_private.png b/res/drawable-ldpi/wifi_ap_private.png new file mode 100644 index 000000000..233d11337 Binary files /dev/null and b/res/drawable-ldpi/wifi_ap_private.png differ diff --git a/res/drawable-ldpi/wifi_ap_public.png b/res/drawable-ldpi/wifi_ap_public.png new file mode 100644 index 000000000..a538bfbf5 Binary files /dev/null and b/res/drawable-ldpi/wifi_ap_public.png differ diff --git a/res/drawable-mdpi/ic_swap.png b/res/drawable-mdpi/ic_swap.png new file mode 100644 index 000000000..2a492ce90 Binary files /dev/null and b/res/drawable-mdpi/ic_swap.png differ diff --git a/res/drawable-mdpi/nfc_touch.png b/res/drawable-mdpi/nfc_touch.png new file mode 100644 index 000000000..1bd5dca42 Binary files /dev/null and b/res/drawable-mdpi/nfc_touch.png differ diff --git a/res/drawable-mdpi/swap_success.png b/res/drawable-mdpi/swap_success.png new file mode 100644 index 000000000..94f07ce42 Binary files /dev/null and b/res/drawable-mdpi/swap_success.png differ diff --git a/res/drawable-mdpi/wifi.png b/res/drawable-mdpi/wifi.png new file mode 100644 index 000000000..484b4a14c Binary files /dev/null and b/res/drawable-mdpi/wifi.png differ diff --git a/res/drawable-mdpi/wifi_ap_personal.png b/res/drawable-mdpi/wifi_ap_personal.png new file mode 100644 index 000000000..00a0e5174 Binary files /dev/null and b/res/drawable-mdpi/wifi_ap_personal.png differ diff --git a/res/drawable-mdpi/wifi_ap_private.png b/res/drawable-mdpi/wifi_ap_private.png new file mode 100644 index 000000000..e0be8562e Binary files /dev/null and b/res/drawable-mdpi/wifi_ap_private.png differ diff --git a/res/drawable-mdpi/wifi_ap_public.png b/res/drawable-mdpi/wifi_ap_public.png new file mode 100644 index 000000000..10a14c570 Binary files /dev/null and b/res/drawable-mdpi/wifi_ap_public.png differ diff --git a/res/drawable-xhdpi/ic_swap.png b/res/drawable-xhdpi/ic_swap.png new file mode 100644 index 000000000..ddb32abc7 Binary files /dev/null and b/res/drawable-xhdpi/ic_swap.png differ diff --git a/res/drawable-xhdpi/nfc_touch.png b/res/drawable-xhdpi/nfc_touch.png new file mode 100644 index 000000000..e687d1076 Binary files /dev/null and b/res/drawable-xhdpi/nfc_touch.png differ diff --git a/res/drawable-xhdpi/swap_success.png b/res/drawable-xhdpi/swap_success.png new file mode 100644 index 000000000..7b4955eaf Binary files /dev/null and b/res/drawable-xhdpi/swap_success.png differ diff --git a/res/drawable-xhdpi/wifi.png b/res/drawable-xhdpi/wifi.png new file mode 100644 index 000000000..f45541341 Binary files /dev/null and b/res/drawable-xhdpi/wifi.png differ diff --git a/res/drawable-xhdpi/wifi_ap_personal.png b/res/drawable-xhdpi/wifi_ap_personal.png new file mode 100644 index 000000000..56f3216cf Binary files /dev/null and b/res/drawable-xhdpi/wifi_ap_personal.png differ diff --git a/res/drawable-xhdpi/wifi_ap_private.png b/res/drawable-xhdpi/wifi_ap_private.png new file mode 100644 index 000000000..62fc961fc Binary files /dev/null and b/res/drawable-xhdpi/wifi_ap_private.png differ diff --git a/res/drawable-xhdpi/wifi_ap_public.png b/res/drawable-xhdpi/wifi_ap_public.png new file mode 100644 index 000000000..2eef507b8 Binary files /dev/null and b/res/drawable-xhdpi/wifi_ap_public.png differ diff --git a/res/drawable/ic_swap.png b/res/drawable/ic_swap.png new file mode 100644 index 000000000..01e501ea8 Binary files /dev/null and b/res/drawable/ic_swap.png differ diff --git a/res/drawable/nfc_touch.png b/res/drawable/nfc_touch.png new file mode 100644 index 000000000..e687d1076 Binary files /dev/null and b/res/drawable/nfc_touch.png differ diff --git a/res/drawable/swap_action_button_skin.xml b/res/drawable/swap_action_button_skin.xml new file mode 100644 index 000000000..67faec166 --- /dev/null +++ b/res/drawable/swap_action_button_skin.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/swap_button_normal.xml b/res/drawable/swap_button_normal.xml new file mode 100644 index 000000000..c31b230a8 --- /dev/null +++ b/res/drawable/swap_button_normal.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/swap_button_pressed.xml b/res/drawable/swap_button_pressed.xml new file mode 100644 index 000000000..06e7b3b70 --- /dev/null +++ b/res/drawable/swap_button_pressed.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/swap_button_skin.xml b/res/drawable/swap_button_skin.xml new file mode 100644 index 000000000..c9351791d --- /dev/null +++ b/res/drawable/swap_button_skin.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/res/drawable/swap_confirm_button_skin.xml b/res/drawable/swap_confirm_button_skin.xml new file mode 100644 index 000000000..a683bcd28 --- /dev/null +++ b/res/drawable/swap_confirm_button_skin.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/swap_deny_button_skin.xml b/res/drawable/swap_deny_button_skin.xml new file mode 100644 index 000000000..74fc9ec9f --- /dev/null +++ b/res/drawable/swap_deny_button_skin.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/drawable/swap_nfc_icon.png b/res/drawable/swap_nfc_icon.png new file mode 100644 index 000000000..800413486 Binary files /dev/null and b/res/drawable/swap_nfc_icon.png differ diff --git a/res/drawable/swap_qr_example.png b/res/drawable/swap_qr_example.png new file mode 100644 index 000000000..2719ccb0c Binary files /dev/null and b/res/drawable/swap_qr_example.png differ diff --git a/res/drawable/swap_start_button_skin.xml b/res/drawable/swap_start_button_skin.xml new file mode 100644 index 000000000..b2a71fa84 --- /dev/null +++ b/res/drawable/swap_start_button_skin.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/res/drawable/swap_success.png b/res/drawable/swap_success.png new file mode 100644 index 000000000..7863934b4 Binary files /dev/null and b/res/drawable/swap_success.png differ diff --git a/res/drawable/swap_wifi_likely_to_work.xml b/res/drawable/swap_wifi_likely_to_work.xml new file mode 100644 index 000000000..8da6a1a11 --- /dev/null +++ b/res/drawable/swap_wifi_likely_to_work.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/res/drawable/swap_wifi_may_work.xml b/res/drawable/swap_wifi_may_work.xml new file mode 100644 index 000000000..af2e1a0a4 --- /dev/null +++ b/res/drawable/swap_wifi_may_work.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/res/drawable/swap_window_background.xml b/res/drawable/swap_window_background.xml new file mode 100644 index 000000000..76f7eb53e --- /dev/null +++ b/res/drawable/swap_window_background.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/res/drawable/wifi.png b/res/drawable/wifi.png new file mode 100644 index 000000000..b0f97598a Binary files /dev/null and b/res/drawable/wifi.png differ diff --git a/res/drawable/wifi_ap_personal.png b/res/drawable/wifi_ap_personal.png new file mode 100644 index 000000000..56f3216cf Binary files /dev/null and b/res/drawable/wifi_ap_personal.png differ diff --git a/res/drawable/wifi_ap_private.png b/res/drawable/wifi_ap_private.png new file mode 100644 index 000000000..62fc961fc Binary files /dev/null and b/res/drawable/wifi_ap_private.png differ diff --git a/res/drawable/wifi_ap_public.png b/res/drawable/wifi_ap_public.png new file mode 100644 index 000000000..2eef507b8 Binary files /dev/null and b/res/drawable/wifi_ap_public.png differ diff --git a/res/layout/applistitem.xml b/res/layout/applistitem.xml index 8297c1d82..60d635e01 100644 --- a/res/layout/applistitem.xml +++ b/res/layout/applistitem.xml @@ -4,7 +4,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="10dp" - android:baselineAligned="false" > + android:baselineAligned="false" + xmlns:tools="http://schemas.android.com/tools" > @@ -14,7 +15,8 @@ android:layout_width="48dip" android:layout_height="48dip" android:layout_gravity="center_vertical" - android:scaleType="fitCenter" /> + android:scaleType="fitCenter" + tools:src="@drawable/ic_launcher" /> + android:textAlignment="viewStart" + tools:text="F-Droid" /> @@ -79,6 +83,7 @@ android:layout_gravity="center_vertical" android:gravity="start" android:textAlignment="viewStart" + tools:text="Application manager" /> diff --git a/res/layout/list_content.xml b/res/layout/list_content.xml new file mode 100644 index 000000000..1c30210a6 --- /dev/null +++ b/res/layout/list_content.xml @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/swap_blank.xml b/res/layout/swap_blank.xml new file mode 100644 index 000000000..a865c22ab --- /dev/null +++ b/res/layout/swap_blank.xml @@ -0,0 +1,24 @@ + + + + + + +