diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index f40597688..94fa81c5e 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -52,16 +52,6 @@
android:resource="@xml/automotive_app_desc" />
-->
-
-
-
-
-
diff --git a/res/layout/invite_activity.xml b/res/layout/invite_activity.xml
deleted file mode 100644
index f10835146..000000000
--- a/res/layout/invite_activity.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index 684380186..753233c9c 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -98,8 +98,6 @@
-
-
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 5139158a4..8c80c4d17 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -163,7 +163,6 @@
Pause
Scroll to the bottom
Scroll to the top
- Invite friends
Help
Select all
Expand
@@ -301,11 +300,6 @@
Images and videos shared in this chat will be displayed here.
Documents, music and other files shared in this chat will be displayed here.
Media preview
-
-
-
- Friends don\'t let friends locked in messaging silos.
- Let\'s switch to Delta Chat - %1$s - you can text me at %2$s
diff --git a/res/values/themes.xml b/res/values/themes.xml
index f5a1de853..13a1833f0 100644
--- a/res/values/themes.xml
+++ b/res/values/themes.xml
@@ -207,7 +207,6 @@
- @color/white
- @color/white
- - @color/delta_primary
- @color/grey_100
- @color/grey_400
@@ -350,7 +349,6 @@
- @style/PreferenceThemeOverlay.Fix
- @color/black
- @color/black
- - @color/black
- @color/grey_800
- @color/grey_900
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
index 9fe8b7ae6..a07e75e68 100644
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -30,11 +30,6 @@
android:icon="@drawable/ic_advanced_24dp"
android:layout="@layout/preference_item" />
-
-
= VERSION_CODES.LOLLIPOP) {
- heart.getViewTreeObserver().addOnPreDrawListener(new HeartPreDrawListener());
- }
- shareButton.setOnClickListener(new ShareClickListener());
- }
-
- private Animation loadAnimation(@AnimRes int animResId) {
- final Animation animation = AnimationUtils.loadAnimation(this, animResId);
- animation.setInterpolator(new FastOutSlowInInterpolator());
- return animation;
- }
-
- private class ShareClickListener implements OnClickListener {
- @Override
- public void onClick(View v) {
- Intent sendIntent = new Intent();
- sendIntent.setAction(Intent.ACTION_SEND);
- sendIntent.putExtra(Intent.EXTRA_TEXT, inviteText.getText().toString());
- sendIntent.setType("text/plain");
- if (sendIntent.resolveActivity(getPackageManager()) != null) {
- startActivity(Intent.createChooser(sendIntent, getString(R.string.menu_invite)));
- } else {
- Toast.makeText(InviteActivity.this, R.string.no_app_to_handle_data, Toast.LENGTH_LONG).show();
- }
- }
- }
-
- private class HeartPreDrawListener implements OnPreDrawListener {
- @Override
- @TargetApi(VERSION_CODES.LOLLIPOP)
- public boolean onPreDraw() {
- heart.getViewTreeObserver().removeOnPreDrawListener(this);
- final int w = heart.getWidth();
- final int h = heart.getHeight();
- Animator reveal = ViewAnimationUtils.createCircularReveal(heart,
- w / 2, h,
- 0, (float)Math.sqrt(h*h + (w*w/4)));
- reveal.setInterpolator(new FastOutSlowInInterpolator());
- reveal.setDuration(800);
- reveal.start();
- return false;
- }
- }
-}