mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 01:32:17 -05:00
added disclaimer that conversations.im account is 8 euro / year
This commit is contained in:
parent
f3ef8d4978
commit
74087b873f
@ -1,5 +1,6 @@
|
||||
package eu.siacs.conversations.ui;
|
||||
|
||||
import android.app.ActionBar;
|
||||
import android.app.Activity;
|
||||
import android.content.Intent;
|
||||
import android.content.pm.ActivityInfo;
|
||||
@ -16,6 +17,11 @@ public class WelcomeActivity extends Activity {
|
||||
if (getResources().getBoolean(R.bool.portrait_only)) {
|
||||
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
|
||||
}
|
||||
final ActionBar ab = getActionBar();
|
||||
if (ab != null) {
|
||||
ab.setDisplayShowHomeEnabled(false);
|
||||
ab.setDisplayHomeAsUpEnabled(false);
|
||||
}
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.welcome);
|
||||
final Button createAccount = (Button) findViewById(R.id.create_account);
|
||||
|
@ -17,7 +17,7 @@
|
||||
android:layout_alignParentStart="true"
|
||||
android:minHeight="256dp"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="8dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp">
|
||||
<Space
|
||||
@ -79,5 +79,16 @@
|
||||
android:padding="8dp"
|
||||
android:src="@drawable/main_logo"/>
|
||||
</RelativeLayout>
|
||||
<TextView
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:textColor="?attr/color_text_secondary"
|
||||
android:textSize="12sp"
|
||||
android:maxLines="1"
|
||||
android:text="@string/free_for_six_month"
|
||||
android:layout_centerHorizontal="true"/>
|
||||
</RelativeLayout>
|
||||
</ScrollView>
|
@ -17,7 +17,7 @@
|
||||
android:layout_alignParentStart="true"
|
||||
android:minHeight="256dp"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="8dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp">
|
||||
<Space
|
||||
@ -70,5 +70,16 @@
|
||||
android:padding="8dp"
|
||||
android:src="@drawable/main_logo"/>
|
||||
</RelativeLayout>
|
||||
<TextView
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:textColor="?attr/color_text_secondary"
|
||||
android:textSize="12sp"
|
||||
android:maxLines="1"
|
||||
android:text="@string/free_for_six_month"
|
||||
android:layout_centerHorizontal="true"/>
|
||||
</RelativeLayout>
|
||||
</ScrollView>
|
4
src/main/res/values-w360dp/fineprint.xml
Normal file
4
src/main/res/values-w360dp/fineprint.xml
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="free_for_six_month">¹ 8 Euro a year. First 6 month free. App remains free of charge.</string>
|
||||
</resources>
|
4
src/main/res/values/fineprint.xml
Normal file
4
src/main/res/values/fineprint.xml
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="free_for_six_month">¹ 8 Euro a year. First 6 month free. App remains free.</string>
|
||||
</resources>
|
@ -629,8 +629,8 @@
|
||||
<string name="no_application_to_share_uri">No application found to share URI</string>
|
||||
<string name="share_uri_with">Share URI with…</string>
|
||||
<string translatable="false" name="welcome_header">Join the Conversation</string>
|
||||
<string name="welcome_text">XMPP is a provider independent protocol. You can use this client with what ever XMPP server you choose.\nHowever for your convenience we made it easy to create an account on conversations.im; a provider specially suited for the use with Conversations.</string>
|
||||
<string name="magic_create_text">We will guide you through the process of creating an account on conversations.im.\nWhen picking conversations.im as a provider you will be able to communicate with users of other providers by giving them your full Jabber ID.</string>
|
||||
<string name="welcome_text">XMPP is a provider independent protocol. You can use this client with what ever XMPP server you choose.\nHowever for your convenience we made it easy to create an account on conversations.im¹; a provider specially suited for the use with Conversations.</string>
|
||||
<string name="magic_create_text">We will guide you through the process of creating an account on conversations.im.¹\nWhen picking conversations.im as a provider you will be able to communicate with users of other providers by giving them your full Jabber ID.</string>
|
||||
<string name="your_full_jid_will_be">Your full Jabber ID will be: %s</string>
|
||||
<string name="create_account">Create Account</string>
|
||||
<string name="use_own_provider">Use my own provider</string>
|
||||
|
Loading…
Reference in New Issue
Block a user