Implement new private chat screen redesign

This commit is contained in:
Niels Andriesse
2019-12-18 11:36:09 +01:00
parent f8737c3f81
commit bb976a4bff
18 changed files with 320 additions and 15 deletions

View File

@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="@dimen/very_large_spacing"
android:paddingRight="@dimen/very_large_spacing"
android:orientation="vertical">
<TextView
style="@style/FakeChatViewOutgoingMessageBubble"
android:id="@+id/bubble1"
android:layout_width="@dimen/fake_chat_view_bubble_width"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/medium_spacing"
android:text="What's Session?"
android:layout_gravity="right" />
<TextView
style="@style/FakeChatViewIncomingMessageBubble"
android:id="@+id/bubble2"
android:layout_width="@dimen/fake_chat_view_bubble_width"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/medium_spacing"
android:text="It's a secure, decentralized cross-platform private messaging app"
android:layout_gravity="left" />
<TextView
style="@style/FakeChatViewOutgoingMessageBubble"
android:id="@+id/bubble3"
android:layout_width="@dimen/fake_chat_view_bubble_width"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/medium_spacing"
android:text="So it doesn't collect my personal information or my conversation metadata? How's it work?"
android:layout_gravity="right" />
<TextView
style="@style/FakeChatViewIncomingMessageBubble"
android:id="@+id/bubble4"
android:layout_width="@dimen/fake_chat_view_bubble_width"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/medium_spacing"
android:text="Using a combination of advanced anonymous routing and end-to-end encryption technologies."
android:layout_gravity="left" />
<TextView
style="@style/FakeChatViewIncomingMessageBubble"
android:id="@+id/bubble5"
android:layout_width="@dimen/fake_chat_view_bubble_width"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/medium_spacing"
android:text="Friends don't let friends use compromised messengers. You're welcome."
android:layout_gravity="left" />
</LinearLayout>