Skip to content
This repository has been archived by the owner on Jan 10, 2019. It is now read-only.

Commit

Permalink
Merge pull request #292 from TheInfiniteKind/master
Browse files Browse the repository at this point in the history
Release 3.0.15
  • Loading branch information
fgei authored Apr 27, 2017
2 parents 6750b83 + c175962 commit 5338b4c
Show file tree
Hide file tree
Showing 110 changed files with 2,801 additions and 235 deletions.
11 changes: 8 additions & 3 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.duckduckgo.mobile.android"
android:installLocation="auto"
android:versionCode="76"
android:versionName="3.0.14">
android:versionCode="77"
android:versionName="3.0.15">

<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="23" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />

<application
android:hardwareAccelerated="true"
android:icon="@drawable/icon"
android:theme="@style/DDGTheme"
android:theme="@style/DDGTheme.Launcher"
android:label="@string/AppName"
android:name="DDGApplication">

Expand Down Expand Up @@ -85,6 +86,10 @@
android:excludeFromRecents="true"
android:finishOnTaskLaunch="true" />

<activity android:name=".activity.OnboardingActivity"
android:screenOrientation="sensorPortrait"
android:theme="@style/DDGTheme.ClearStatusBar"/>

<provider android:name=".providers.DuckDuckGoProvider"
android:authorities="com.duckduckgo.mobile.android.providers.DuckDuckGoProvider" />

Expand Down
Binary file added res/drawable-hdpi/chrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/firefox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/ic_action_close.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/ic_close_black_18dp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/illustration_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/illustration_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/illustration_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/illustration_3_instruction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/illustration_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-hdpi/loupe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/chrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/firefox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/ic_action_close.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/ic_close_black_18dp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/illustration_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/illustration_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/illustration_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/illustration_3_instruction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/illustration_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-mdpi/loupe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-xhdpi/chrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-xhdpi/firefox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-xhdpi/ic_action_close.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-xhdpi/ic_close_black_18dp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-xhdpi/illustration_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/drawable-xhdpi/illustration_2.png
Binary file added res/drawable-xhdpi/illustration_3.png
Binary file added res/drawable-xhdpi/illustration_3_instruction.png
Binary file added res/drawable-xhdpi/illustration_4.png
Binary file added res/drawable-xhdpi/loupe.png
Binary file added res/drawable-xxhdpi/chrome.png
Binary file added res/drawable-xxhdpi/firefox.png
Binary file added res/drawable-xxhdpi/ic_action_close.png
Binary file added res/drawable-xxhdpi/ic_close_black_18dp.png
Binary file added res/drawable-xxhdpi/illustration_1.png
Binary file added res/drawable-xxhdpi/illustration_2.png
Binary file added res/drawable-xxhdpi/illustration_3.png
Binary file added res/drawable-xxhdpi/illustration_4.png
Binary file added res/drawable-xxhdpi/loupe.png
Binary file added res/drawable-xxxhdpi/chrome.png
Binary file added res/drawable-xxxhdpi/firefox.png
Binary file added res/drawable-xxxhdpi/ic_close_black_18dp.png
Binary file added res/drawable-xxxhdpi/illustration_1.png
Binary file added res/drawable-xxxhdpi/illustration_2.png
Binary file added res/drawable-xxxhdpi/illustration_3.png
Binary file added res/drawable-xxxhdpi/illustration_4.png
Binary file added res/drawable-xxxhdpi/loupe.png
Binary file added res/drawable/instruction.png
Binary file added res/drawable/instruction2.png
Binary file added res/drawable/instruction3.png
6 changes: 6 additions & 0 deletions res/drawable/instruction_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#fff"/>
<corners android:radius="4dp"/>
</shape>
15 changes: 15 additions & 0 deletions res/drawable/instruction_background_2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle">
<solid android:color="@android:color/transparent"/>
</shape>
</item>
<item
android:top="50dp">
<shape android:shape="rectangle">
<solid android:color="#ffffff"/>
<corners android:radius="4dp"/>
</shape>
</item>
</layer-list>
6 changes: 6 additions & 0 deletions res/drawable/instruction_bullet_point_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<size android:height="20dp" android:width="20dp"/>
<solid android:color="#bbbbbb"/>
</shape>
Binary file added res/drawable/instructions1_3.png
Binary file added res/drawable/instructions2_3.png
Binary file added res/drawable/instructions3_3.png
6 changes: 6 additions & 0 deletions res/drawable/onboarding_banner_button_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/onboarding_accent"/>
<corners android:radius="4dp"/>
</shape>
6 changes: 6 additions & 0 deletions res/drawable/onboarding_button_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/onboarding_button_background"/>
<corners android:radius="4dp"/>
</shape>
15 changes: 15 additions & 0 deletions res/drawable/onboarding_pageindicator.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="oval">
<solid android:color="#64000000"/>
<stroke android:width="2dp" android:color="#ff0000"/>
<size android:width="10dp" android:height="10dp"/>
</shape>
</item>
<item android:id="@+id/foreground">
<shape android:shape="oval">
<solid android:color="#ffffff"/>
</shape>
</item>
</layer-list>
19 changes: 19 additions & 0 deletions res/drawable/onboarding_pageindicator_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="oval">
<solid android:color="@android:color/transparent"/>
<size android:width="10dp" android:height="10dp"/>
</shape>
</item>
<item
android:left="1dp"
android:top="1dp"
android:right="1dp"
android:bottom="1dp">
<shape android:shape="oval">
<solid android:color="@color/page_indicator_unselected"/>
<size android:width="8dp" android:height="8dp"/>
</shape>
</item>
</layer-list>
33 changes: 33 additions & 0 deletions res/layout-land/activity_onboarding.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_onboarding"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.duckduckgo.mobile.android.activity.OnboardingActivity">
<android.support.v4.view.ViewPager
android:id="@+id/view_pager"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<Button
android:id="@+id/add_to_home_screen_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/onboarding_screen_bottom_margin_landscape"
android:layout_gravity="bottom|center_horizontal"
android:text="@string/add_to"
android:textColor="#ffffff"
android:background="@drawable/onboarding_button_background"
android:paddingEnd="24dp"
android:paddingStart="24dp"
android:textSize="16sp"/>
<com.duckduckgo.mobile.android.views.pageindicator.OnboardingPageIndicator
android:id="@+id/page_indicator"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="38dp"
android:layout_marginEnd="14dp"
android:layout_marginRight="14dp"
android:layout_gravity="top|end"/>
</FrameLayout>
39 changes: 39 additions & 0 deletions res/layout/activity_onboarding.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_onboarding"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.duckduckgo.mobile.android.activity.OnboardingActivity">
<android.support.v4.view.ViewPager
android:id="@+id/view_pager"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<LinearLayout
android:id="@+id/container_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_gravity="bottom|center_horizontal"
android:gravity="center_horizontal"
android:layout_marginBottom="@dimen/onboarding_screen_bottom_margin">
<Button
android:id="@+id/add_to_home_screen_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="22dp"
android:minHeight="48dp"
android:text="@string/add_to"
android:textColor="#ffffff"
android:background="@drawable/onboarding_button_background"
android:foreground="?attr/selectableItemBackground"
android:paddingEnd="24dp"
android:paddingStart="24dp"
android:textSize="16sp"/>
<com.duckduckgo.mobile.android.views.pageindicator.OnboardingPageIndicator
android:id="@+id/page_indicator"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
</FrameLayout>
Loading

0 comments on commit 5338b4c

Please sign in to comment.