From d2d13ec696bb863f0efedb309cfafbf2fb19bb6f Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Wed, 23 Jun 2021 13:11:21 +1000 Subject: [PATCH] Re-add open group guidelines --- app/src/main/AndroidManifest.xml | 2 +- .../conversation/v2/ConversationActivityV2.kt | 19 +++++++++++----- .../v2}/OpenGroupGuidelinesActivity.kt | 4 +--- .../v2}/OpenGroupGuidelinesView.kt | 22 +++++-------------- .../v2/messages/LinkPreviewView.kt | 2 +- .../v2/messages/VisibleMessageContentView.kt | 4 +++- .../res/layout/activity_conversation_v2.xml | 6 +++++ .../layout/activity_open_group_guidelines.xml | 2 +- .../main/res/layout/conversation_activity.xml | 2 +- .../res/layout/view_open_group_guidelines.xml | 11 ++++++---- 10 files changed, 41 insertions(+), 33 deletions(-) rename app/src/main/java/org/thoughtcrime/securesms/{loki/activities => conversation/v2}/OpenGroupGuidelinesActivity.kt (96%) rename app/src/main/java/org/thoughtcrime/securesms/{loki/views => conversation/v2}/OpenGroupGuidelinesView.kt (63%) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 32869dd1f1..e61edbe7e0 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -223,7 +223,7 @@ android:screenOrientation="portrait" android:theme="@style/Theme.Session.DayNight.FlatActionBar" /> + + diff --git a/app/src/main/res/layout/conversation_activity.xml b/app/src/main/res/layout/conversation_activity.xml index e920d5f540..d5859631fc 100644 --- a/app/src/main/res/layout/conversation_activity.xml +++ b/app/src/main/res/layout/conversation_activity.xml @@ -135,7 +135,7 @@ android:background="?android:dividerHorizontal" android:elevation="1dp" /> - @@ -58,7 +61,7 @@ android:layout_width="wrap_content" android:layout_height="@dimen/small_button_height" android:layout_marginRight="12dp" - android:textSize="@dimen/small_font_size" + android:textSize="15dp" android:textStyle="normal" android:text="@string/open_group_guidelines_read" />