session-android/res/layout/activity_landing.xml

67 lines
2.6 KiB
XML
Raw Normal View History

2019-12-16 11:43:08 +01: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 12:00:30 +11:00
android:layout_weight="1" />
2019-12-16 11:43:08 +01: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 16:05:31 +11:00
android:textSize="@dimen/large_font_size"
2019-12-16 11:43:08 +01:00
android:textStyle="bold"
android:textColor="@color/text"
2020-05-25 15:24:55 +10:00
android:text="@string/activity_landing_title_2" />
2019-12-16 11:43:08 +01:00
2020-05-11 16:19:26 +10:00
<org.thoughtcrime.securesms.loki.views.FakeChatView
2019-12-16 16:20:48 +01:00
android:id="@+id/fakeChatView"
2019-12-16 11:43:08 +01:00
android:layout_width="match_parent"
2019-12-16 16:20:48 +01:00
android:layout_height="@dimen/fake_chat_view_height"
2020-01-14 16:05:31 +11:00
android:layout_marginTop="@dimen/small_spacing" />
2019-12-16 11:43:08 +01:00
<View
android:layout_width="match_parent"
android:layout_height="0dp"
2020-01-07 12:00:30 +11:00
android:layout_weight="1" />
2019-12-16 11:43:08 +01: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-05-25 15:24:55 +10:00
android:text="@string/activity_landing_register_button_title" />
2019-12-16 11:43:08 +01: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 16:05:31 +11:00
android:layout_marginTop="@dimen/small_spacing"
2019-12-16 11:43:08 +01:00
android:layout_marginRight="@dimen/massive_spacing"
2020-05-25 15:24:55 +10:00
android:text="@string/activity_landing_restore_button_title" />
2019-12-16 11:43:08 +01:00
2019-12-16 17:09:10 +01: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"
2020-05-25 15:24:55 +10:00
android:text="@string/activity_landing_link_button_title" />
2019-12-16 17:09:10 +01:00
2019-12-16 11:43:08 +01:00
</LinearLayout>