session-android/res/layout/activity_landing.xml

65 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: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"
2020-05-25 05:24:55 +00:00
android:text="@string/activity_landing_title_2" />
2019-12-16 10:43:08 +00:00
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/Widget.Session.Button.Common.ProminentFilled"
2019-12-16 10:43:08 +00:00
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 05:24:55 +00:00
android:text="@string/activity_landing_register_button_title" />
2019-12-16 10:43:08 +00:00
<Button
style="@style/Widget.Session.Button.Common.ProminentOutline"
2019-12-16 10:43:08 +00:00
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"
2020-05-25 05:24:55 +00:00
android:text="@string/activity_landing_restore_button_title" />
2019-12-16 10:43:08 +00:00
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"
2020-07-30 06:53:34 +00:00
android:visibility="invisible"
2019-12-16 16:09:10 +00:00
android:gravity="center"
android:background="@color/transparent"
android:textAllCaps="false"
android:textSize="@dimen/medium_font_size"
2020-05-25 05:24:55 +00:00
android:text="@string/activity_landing_link_button_title" />
2019-12-16 16:09:10 +00:00
2019-12-16 10:43:08 +00:00
</LinearLayout>