session-android/res/layout/activity_landing.xml

67 lines
2.5 KiB
XML
Raw Normal View History

2019-12-16 10:43:08 +00:00
<?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="match_parent"
android:background="@drawable/default_session_background"
android:orientation="vertical">
<View
android:layout_width="match_parent"
android:layout_height="0dp"
2020-01-07 01:00:30 +00:00
android:layout_weight="1" />
2019-12-16 10:43:08 +00:00
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/very_large_spacing"
android:layout_marginRight="@dimen/very_large_spacing"
2020-01-14 05:05:31 +00:00
android:textSize="@dimen/large_font_size"
2019-12-16 10:43:08 +00:00
android:textStyle="bold"
android:textColor="@color/text"
android:text="Your Session begins here..." />
2020-05-11 06:19:26 +00:00
<org.thoughtcrime.securesms.loki.views.FakeChatView
2019-12-16 15:20:48 +00:00
android:id="@+id/fakeChatView"
2019-12-16 10:43:08 +00:00
android:layout_width="match_parent"
2019-12-16 15:20:48 +00:00
android:layout_height="@dimen/fake_chat_view_height"
2020-01-14 05:05:31 +00:00
android:layout_marginTop="@dimen/small_spacing" />
2019-12-16 10:43:08 +00:00
<View
android:layout_width="match_parent"
android:layout_height="0dp"
2020-01-07 01:00:30 +00:00
android:layout_weight="1" />
2019-12-16 10:43:08 +00:00
<Button
style="@style/MediumProminentFilledButton"
android:id="@+id/registerButton"
android:layout_width="match_parent"
android:layout_height="@dimen/medium_button_height"
android:layout_marginLeft="@dimen/massive_spacing"
android:layout_marginRight="@dimen/massive_spacing"
2020-01-23 05:48:03 +00:00
android:text="Create Session ID" />
2019-12-16 10:43:08 +00:00
<Button
style="@style/MediumProminentOutlineButton"
android:id="@+id/restoreButton"
android:layout_width="match_parent"
android:layout_height="@dimen/medium_button_height"
android:layout_marginLeft="@dimen/massive_spacing"
2020-01-14 05:05:31 +00:00
android:layout_marginTop="@dimen/small_spacing"
2019-12-16 10:43:08 +00:00
android:layout_marginRight="@dimen/massive_spacing"
android:text="Continue Your Session" />
2019-12-16 16:09:10 +00:00
<Button
android:id="@+id/linkButton"
android:layout_width="match_parent"
android:layout_height="@dimen/onboarding_button_bottom_offset"
android:layout_marginLeft="@dimen/massive_spacing"
android:layout_marginRight="@dimen/massive_spacing"
android:gravity="center"
android:background="@color/transparent"
android:textAllCaps="false"
android:textSize="@dimen/medium_font_size"
android:textColor="@color/text"
android:text="Link to an existing account" />
2019-12-16 10:43:08 +00:00
</LinearLayout>