67 lines
2.7 KiB
XML
67 lines
2.7 KiB
XML
<?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"
|
|
android:layout_weight="1" />
|
|
|
|
<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"
|
|
android:textSize="@dimen/very_large_font_size"
|
|
android:textStyle="bold"
|
|
android:text="@string/activity_landing_title_2" />
|
|
|
|
<org.thoughtcrime.securesms.onboarding.FakeChatView
|
|
android:id="@+id/fakeChatView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/fake_chat_view_height"
|
|
android:layout_marginTop="@dimen/medium_spacing" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1" />
|
|
|
|
<Button
|
|
style="@style/Widget.Session.Button.Common.ProminentFilled"
|
|
android:contentDescription="@string/AccessibilityId_create_session_id"
|
|
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"
|
|
android:text="@string/activity_landing_register_button_title" />
|
|
|
|
<Button
|
|
style="@style/Widget.Session.Button.Common.ProminentOutline"
|
|
android:id="@+id/restoreButton"
|
|
android:contentDescription="@string/AccessibilityId_restore_your_session"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/medium_button_height"
|
|
android:layout_marginLeft="@dimen/massive_spacing"
|
|
android:layout_marginTop="@dimen/medium_spacing"
|
|
android:layout_marginRight="@dimen/massive_spacing"
|
|
android:text="@string/activity_landing_restore_button_title" />
|
|
|
|
<Button
|
|
style="@style/Widget.Session.Button.Common.Borderless"
|
|
android:id="@+id/linkButton"
|
|
android:contentDescription="@string/AccessibilityId_link_a_device"
|
|
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:textAllCaps="false"
|
|
android:textSize="@dimen/medium_font_size"
|
|
android:text="@string/activity_link_device_link_device" />
|
|
|
|
</LinearLayout> |