2019-01-15 08:41:05 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<android.support.constraint.ConstraintLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:background="#FF2090ea">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/blurb"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="8dp"
|
2019-02-06 00:41:33 +00:00
|
|
|
android:layout_marginTop="24dp"
|
2019-01-15 08:41:05 +00:00
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:fontFamily="sans-serif-light"
|
|
|
|
android:gravity="center_horizontal"
|
2019-03-20 22:52:14 +00:00
|
|
|
android:paddingStart="20dp"
|
|
|
|
android:paddingEnd="20dp"
|
2019-01-15 08:41:05 +00:00
|
|
|
android:text="@string/ExperienceUpgradeActivity_introducing_link_previews"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textIsSelectable="false"
|
|
|
|
android:textSize="@dimen/onboarding_title_size"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/imageView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_gravity="center"
|
2019-02-06 00:41:33 +00:00
|
|
|
android:layout_marginStart="24dp"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:layout_marginBottom="16dp"
|
2019-01-15 08:41:05 +00:00
|
|
|
android:src="@drawable/link_preview_splash"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/linearLayout"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHeight_max="280dp"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/blurb"
|
|
|
|
app:layout_constraintVertical_bias="0.0"
|
|
|
|
app:layout_constraintWidth_max="280dp" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/linearLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-02-06 00:41:33 +00:00
|
|
|
android:layout_marginStart="24dp"
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:layout_marginBottom="16dp"
|
2019-01-15 08:41:05 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/experience_ok_button"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/imageView">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-02-06 00:41:33 +00:00
|
|
|
android:layout_marginBottom="16dp"
|
2019-01-15 08:41:05 +00:00
|
|
|
android:fontFamily="sans-serif-light"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:text="@string/ExperienceUpgradeActivity_optional_link_previews_are_now_supported"
|
|
|
|
android:textColor="@color/core_white"
|
|
|
|
android:textIsSelectable="false"
|
|
|
|
android:textSize="@dimen/onboarding_subtitle_size" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:fontFamily="sans-serif-light"
|
|
|
|
android:gravity="center_horizontal"
|
2019-03-20 22:52:14 +00:00
|
|
|
android:paddingStart="20dp"
|
|
|
|
android:paddingEnd="20dp"
|
2019-01-15 08:41:05 +00:00
|
|
|
android:text="@string/ExperienceUpgradeActivity_you_can_disable_or_enable_this_feature_link_previews"
|
|
|
|
android:textColor="@color/core_white"
|
|
|
|
android:textIsSelectable="false"
|
|
|
|
android:textSize="16dp" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<android.support.v7.widget.AppCompatButton
|
|
|
|
android:id="@+id/experience_ok_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
2019-02-06 00:41:33 +00:00
|
|
|
android:layout_marginStart="24dp"
|
|
|
|
android:layout_marginEnd="24dp"
|
2019-01-15 08:41:05 +00:00
|
|
|
android:layout_marginBottom="24dp"
|
2019-02-08 00:43:34 +00:00
|
|
|
android:text="@string/ExperienceUpgradeActivity_got_it"
|
2019-01-15 08:41:05 +00:00
|
|
|
android:textColor="@color/core_blue"
|
|
|
|
app:backgroundTint="@color/core_white"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
|
|
|
|
</android.support.constraint.ConstraintLayout>
|