diff --git a/build.gradle b/build.gradle
index 852ea2891..fe2177017 100644
--- a/build.gradle
+++ b/build.gradle
@@ -49,7 +49,6 @@ dependencies {
implementation 'com.google.zxing:core:3.3.0'
implementation 'de.measite.minidns:minidns-hla:0.2.4'
implementation 'me.leolin:ShortcutBadger:1.1.21@aar'
- implementation 'com.kyleduo.switchbutton:library:1.2.8'
implementation 'org.whispersystems:signal-protocol-java:2.6.2'
implementation 'com.makeramen:roundedimageview:2.3.0'
implementation "com.wefika:flowlayout:0.4.1"
diff --git a/src/main/java/eu/siacs/conversations/ui/widget/ScannerView.java b/src/main/java/eu/siacs/conversations/ui/widget/ScannerView.java
index f1fe18f2c..4eb25418d 100644
--- a/src/main/java/eu/siacs/conversations/ui/widget/ScannerView.java
+++ b/src/main/java/eu/siacs/conversations/ui/widget/ScannerView.java
@@ -60,10 +60,10 @@ public class ScannerView extends View {
super(context, attrs);
final Resources res = getResources();
- maskColor = res.getColor(R.color.scan_mask);
- maskResultColor = res.getColor(R.color.scan_result_view);
- laserColor = res.getColor(R.color.scan_laser);
- dotColor = res.getColor(R.color.scan_dot);
+ maskColor = res.getColor(R.color.black54);
+ maskResultColor = res.getColor(R.color.black87);
+ laserColor = res.getColor(R.color.red500);
+ dotColor = res.getColor(R.color.orange500);
dotResultColor = res.getColor(R.color.scan_result_dots);
maskPaint = new Paint();
diff --git a/src/main/res/layout/activity_about.xml b/src/main/res/layout/activity_about.xml
index cae60ebbb..e37c00e4c 100644
--- a/src/main/res/layout/activity_about.xml
+++ b/src/main/res/layout/activity_about.xml
@@ -1,21 +1,32 @@
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="?attr/color_background_secondary"
+ tools:context="eu.siacs.conversations.ui.AboutActivity">
-
+
+
+
+
+
+
+
diff --git a/src/main/res/layout/activity_publish_profile_picture.xml b/src/main/res/layout/activity_publish_profile_picture.xml
index 9caea6716..4d7294c6d 100644
--- a/src/main/res/layout/activity_publish_profile_picture.xml
+++ b/src/main/res/layout/activity_publish_profile_picture.xml
@@ -1,42 +1,62 @@
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="?attr/color_background_primary">
-
+ android:layout_marginBottom="@dimen/activity_vertical_margin"
+ android:layout_marginLeft="@dimen/activity_horizontal_margin"
+ android:layout_marginRight="@dimen/activity_horizontal_margin"
+ android:layout_marginTop="@dimen/activity_vertical_margin">
-
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+ android:layout_alignParentRight="true">
+ android:textColor="?attr/color_text_primary"/>
+ android:background="?attr/divider"/>
-
-
-
-
+ android:textColor="?attr/color_text_secondary"/>
\ No newline at end of file
diff --git a/src/main/res/values-h360dp/dimens.xml b/src/main/res/values-h360dp/dimens.xml
new file mode 100644
index 000000000..45d76ced5
--- /dev/null
+++ b/src/main/res/values-h360dp/dimens.xml
@@ -0,0 +1,4 @@
+
+ 16dp
+ 128dp
+
diff --git a/src/main/res/values-h640dp/dimens.xml b/src/main/res/values-h640dp/dimens.xml
new file mode 100644
index 000000000..a153bff54
--- /dev/null
+++ b/src/main/res/values-h640dp/dimens.xml
@@ -0,0 +1,4 @@
+
+ 24dp
+ 192dp
+
diff --git a/src/main/res/values/about.xml b/src/main/res/values/about.xml
new file mode 100644
index 000000000..648e96e3f
--- /dev/null
+++ b/src/main/res/values/about.xml
@@ -0,0 +1,63 @@
+
+
+
+
+
+ Conversations • the very last word in instant messaging.
+ \n\nCopyright © 2014-2018 Daniel Gultsch
+ \n\nThis program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ \n\nThis program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ \n\nYou should have received a copy of the GNU General Public License
+ along with this program. If not, see https://www.gnu.org/licenses
+ \n\nDownload the full source code at https://github.com/siacs/Conversations
+ \n\n\nLibraries
+ \n\nhttps://github.com/ypresto/android-transcoder\n(Apache License, Version 2.0)
+ \n\nhttps://www.bouncycastle.org\n(The MIT License (MIT))
+ \n\nhttps://www.gnu.org/software/libidn\n(Apache License, Version 2.0)
+ \n\nhttps://github.com/ge0rg/MemorizingTrustManager\n(The MIT License (MIT))
+ \n\nhttps://github.com/rtreffer/minidns\n(WTFPL)
+ \n\nhttps://github.com/open-keychain/openkeychain-api-lib\n(Apache License, Version 2.0)
+ \n\nhttps://developer.android.com/tools/support-library\n(Apache License, Version 2.0)
+ \n\nhttps://github.com/zxing/zxing\n(Apache License, Version 2.0)
+ \n\nhttps://github.com/google/material-design-icons\n(CC BY 4.0)
+ \n\nhttps://github.com/timroes/EnhancedListView\n(Apache License, Version 2.0)
+ \n\nhttps://github.com/leolin310148/ShortcutBadger\n(Apache License, Version 2.0)
+ \n\nhttps://github.com/WhisperSystems/libaxolotl-java\n(GPLv3)
+ \n\nhttps://github.com/vinc3m1/RoundedImageView\n(Apache License, Version 2.0)
+ \n\nhttps://github.com/jdamcd/android-crop\n(Apache License, Version 2.0)
+ \n\nhttps://github.com/zxing/zxing\n(Apache License, Version 2.0)
+
+
\ No newline at end of file
diff --git a/src/main/res/values/colors.xml b/src/main/res/values/colors.xml
index d53f17790..94bd49c68 100644
--- a/src/main/res/values/colors.xml
+++ b/src/main/res/values/colors.xml
@@ -17,6 +17,7 @@
#ff9e9e9e
#ff424242
#ff282828
+ #fff44336
#ffc62828
#ffff9800
#ff259b24
@@ -25,9 +26,5 @@
#ff326130
- #60000000
- #cc0000
- #ff6600
- #b0000000
- #c099cc00
+ #c04CAF50
\ No newline at end of file
diff --git a/src/main/res/values/dimens.xml b/src/main/res/values/dimens.xml
index 7523cf91a..c85e619ee 100644
--- a/src/main/res/values/dimens.xml
+++ b/src/main/res/values/dimens.xml
@@ -12,6 +12,9 @@
32dp
16dp
+ 8dp
+ 96dp
+
4dp
8dp
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index 589be72d4..528727f7e 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -282,37 +282,6 @@
Please be careful with these
About Conversations
Build and licensing information
-
- Conversations • the very last word in instant messaging.
- \n\nCopyright © 2014-2018 Daniel Gultsch
- \n\nThis program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
- \n\nThis program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- \n\nYou should have received a copy of the GNU General Public License
- along with this program. If not, see https://www.gnu.org/licenses
- \n\nDownload the full source code at https://github.com/siacs/Conversations
- \n\n\nLibraries
- \n\nhttps://www.bouncycastle.org\n(The MIT License (MIT))
- \n\nhttps://www.gnu.org/software/libidn\n(Apache License, Version 2.0)
- \n\nhttps://github.com/ge0rg/MemorizingTrustManager\n(The MIT License (MIT))
- \n\nhttps://github.com/rtreffer/minidns\n(WTFPL)
- \n\nhttps://github.com/open-keychain/openkeychain-api-lib\n(Apache License, Version 2.0)
- \n\nhttps://github.com/jitsi/otr4j\n(LGPL-3.0)
- \n\nhttps://developer.android.com/tools/support-library\n(Apache License, Version 2.0)
- \n\nhttps://github.com/zxing/zxing\n(Apache License, Version 2.0)
- \n\nhttps://github.com/google/material-design-icons\n(CC BY 4.0)
- \n\nhttps://github.com/timroes/EnhancedListView\n(Apache License, Version 2.0)
- \n\nhttps://github.com/leolin310148/ShortcutBadger\n(Apache License, Version 2.0)
- \n\nhttps://github.com/kyleduo/SwitchButton\n(Apache License, Version 2.0)
- \n\nhttps://github.com/WhisperSystems/libaxolotl-java\n(GPLv3)
- \n\nhttps://github.com/vinc3m1/RoundedImageView\n(Apache License, Version 2.0)
- \n\nhttps://github.com/jdamcd/android-crop\n(Apache License, Version 2.0)
-
Quiet Hours
Start time
End time