Adding in another intro page
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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" />
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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" />
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user