session-android/res/layout/activity_landing.xml

75 lines
3.0 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: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"
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/Widget.Session.Button.Common.ProminentFilled"
2019-12-16 11:43:08 +01: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 15:24:55 +10:00
android:text="@string/activity_landing_register_button_title" />
2019-12-16 11:43:08 +01:00
<Button
style="@style/Widget.Session.Button.Common.ProminentOutline"
2019-12-16 11:43:08 +01: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 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
2020-10-20 15:39:01 +11:00
<Button
style="@style/Widget.Session.Button.Common.ProminentOutline"
android:id="@+id/restoreBackupButton"
android:layout_width="match_parent"
android:layout_height="@dimen/medium_button_height"
android:layout_marginLeft="@dimen/massive_spacing"
android:layout_marginTop="@dimen/small_spacing"
android:layout_marginRight="@dimen/massive_spacing"
2020-11-12 13:02:38 +11:00
android:text="@string/activity_landing_restore_backup_button_title" />
2020-10-20 15:39:01 +11: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"
2020-07-30 16:53:34 +10:00
android:visibility="invisible"
2019-12-16 17:09:10 +01:00
android:gravity="center"
android:background="@color/transparent"
android:textAllCaps="false"
android:textSize="@dimen/medium_font_size"
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>