Adding in another intro page

This commit is contained in:
str4d
2014-07-09 09:13:48 +00:00
parent f5aa704705
commit ec91e9f515
10 changed files with 30 additions and 26 deletions

View File

@@ -82,7 +82,7 @@ public class IntroActivity extends ActionBarActivity {
@Override
public int getCount() {
return 5;
return 6;
}
}
@@ -122,8 +122,10 @@ public class IntroActivity extends ActionBarActivity {
case 3:
return inflater.inflate(R.layout.fragment_intro_3, container, false);
case 4:
View v4 = inflater.inflate(R.layout.fragment_intro_4, container, false);
Button b = (Button) v4.findViewById(R.id.start_setup_wizard);
return inflater.inflate(R.layout.fragment_intro_4, container, false);
case 5:
View v5 = inflater.inflate(R.layout.fragment_intro_5, container, false);
Button b = (Button) v5.findViewById(R.id.start_setup_wizard);
b.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
@@ -131,7 +133,7 @@ public class IntroActivity extends ActionBarActivity {
getActivity().finish();
}
});
return v4;
return v5;
default:
View v0 = inflater.inflate(R.layout.fragment_intro_0, container, false);
TextView tv = (TextView) v0.findViewById(R.id.intro_app_name);

View File

@@ -15,7 +15,7 @@
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:src="@drawable/intro_2" />
android:src="@drawable/ic_launcher" />
<ScrollView
android:layout_width="wrap_content"
@@ -33,7 +33,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/intro_3_1"
android:text="@string/intro_2_1"
android:id="@+id/textView1"
android:gravity="center" />
@@ -41,7 +41,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/intro_3_2"
android:text="@string/intro_2_2"
android:id="@+id/textView2"
android:layout_marginTop="@dimen/activity_vertical_margin"
android:gravity="center" />

View File

@@ -15,7 +15,7 @@
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:src="@drawable/intro_2" />
android:src="@drawable/intro_3" />
<ScrollView
android:layout_width="wrap_content"

View File

@@ -15,7 +15,7 @@
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:src="@drawable/intro_3" />
android:src="@drawable/intro_4" />
<ScrollView
android:layout_width="wrap_content"
@@ -33,7 +33,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/intro_2_1"
android:text="@string/intro_4_1"
android:id="@+id/textView1"
android:gravity="center_horizontal" />
@@ -41,7 +41,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/intro_2_2"
android:text="@string/intro_4_2"
android:id="@+id/textView2"
android:layout_marginTop="@dimen/activity_vertical_margin"
android:gravity="center_horizontal" />

View File

@@ -14,13 +14,13 @@
android:id="@+id/imageView"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:src="@drawable/intro_2" />
android:src="@drawable/ic_launcher" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/intro_3_1"
android:text="@string/intro_2_1"
android:id="@+id/textView1"
android:layout_below="@+id/imageView"
android:layout_centerHorizontal="true"
@@ -31,7 +31,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/intro_3_2"
android:text="@string/intro_2_2"
android:id="@+id/textView2"
android:layout_below="@+id/textView1"
android:layout_centerHorizontal="true"

View File

@@ -14,7 +14,7 @@
android:id="@+id/imageView"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:src="@drawable/intro_2" />
android:src="@drawable/intro_3" />
<TextView
android:layout_width="wrap_content"

View File

@@ -14,13 +14,13 @@
android:id="@+id/imageView"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:src="@drawable/intro_3" />
android:src="@drawable/intro_4" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/intro_2_1"
android:text="@string/intro_4_1"
android:id="@+id/textView1"
android:layout_below="@+id/imageView"
android:layout_centerHorizontal="true"
@@ -31,7 +31,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/intro_2_2"
android:text="@string/intro_4_2"
android:id="@+id/textView2"
android:layout_below="@+id/textView1"
android:layout_centerHorizontal="true"

View File

@@ -7,14 +7,16 @@
<string name="intro_secure">Secure.</string>
<string name="swipe_to_start">Swipe to start</string>
<string name="i_know_what_to_do">I know what to do</string>
<string name="intro_1_1">Traditional email is not secure.</string>
<string name="intro_1_2">Bote is a new kind of email.</string>
<string name="intro_2_1">When you send an email in Bote, everything is encrypted - including the email metadata. Only the recipient can download and read the email.</string>
<string name="intro_2_2">An outsider can only see that an email was sent, not who sent it. And if the recipient never publishes their address, the outsider can\'t even tell who the recipient is.</string>
<string name="intro_1_1">Traditional email is insecure. It was not designed to protect people from dragnet surveillance.</string>
<string name="intro_1_2">Even if you encrypt your emails, the email metadata can be monitored to reveal large amounts of information about you.</string>
<string name="intro_2_1">Bote is a new kind of email that provides complete end-to-end privacy and security.</string>
<string name="intro_2_2"></string>
<string name="intro_3_1">With traditional email, you need to trust a central server. And if it is blocked, you can\'t send or receive emails.</string>
<string name="intro_3_2">Bote uses a distributed peer-to-peer network, similar to BitTorrent. Encrypted emails are split up and stored with many other Bote users.</string>
<string name="intro_4_1">Because Bote is a little different to traditional email, there are a few things to set up before you can start using it.</string>
<string name="intro_4_2">The setup wizard will take a couple of minutes, and then everything will be ready.</string>
<string name="intro_4_1">When you send an email in Bote, everything is encrypted - including the email metadata. Only the recipient can download and read the email.</string>
<string name="intro_4_2">An outsider can only see that an email was sent, not who sent it. And if the recipient never publishes their address, the outsider can\'t even tell who the recipient is.</string>
<string name="intro_5_1">Because Bote is a little different to traditional email, there are a few things to set up before you can start using it.</string>
<string name="intro_5_2">The setup wizard will take a couple of minutes, and then everything will be ready.</string>
<string name="lets_get_started">Let\'s get started</string>
<string name="title_activity_setup">Setup</string>
<string name="skip">Skip</string>

View File

@@ -14,7 +14,7 @@
id="svg3593"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="intro_2.svg">
sodipodi:docname="intro_3.svg">
<defs
id="defs3595">
<inkscape:path-effect

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View File

@@ -15,7 +15,7 @@
id="svg2"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="intro_3.svg">
sodipodi:docname="intro_4.svg">
<sodipodi:namedview
id="base"
pagecolor="#ffffff"

Before

Width:  |  Height:  |  Size: 253 KiB

After

Width:  |  Height:  |  Size: 253 KiB