mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 10:35:19 +00:00
b89c20ff40
We can do this now that our minSdk is 19.
102 lines
4.3 KiB
XML
102 lines
4.3 KiB
XML
<?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"
|
|
android:layout_marginTop="24dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:fontFamily="sans-serif-light"
|
|
android:gravity="center_horizontal"
|
|
android:paddingStart="20dp"
|
|
android:paddingEnd="20dp"
|
|
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"
|
|
android:layout_marginStart="24dp"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginEnd="24dp"
|
|
android:layout_marginBottom="16dp"
|
|
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"
|
|
android:layout_marginStart="24dp"
|
|
android:layout_marginEnd="24dp"
|
|
android:layout_marginBottom="16dp"
|
|
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"
|
|
android:layout_marginBottom="16dp"
|
|
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"
|
|
android:paddingStart="20dp"
|
|
android:paddingEnd="20dp"
|
|
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"
|
|
android:layout_marginStart="24dp"
|
|
android:layout_marginEnd="24dp"
|
|
android:layout_marginBottom="24dp"
|
|
android:text="@string/ExperienceUpgradeActivity_got_it"
|
|
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>
|