mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 10:35:19 +00:00
110 lines
4.5 KiB
XML
110 lines
4.5 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_marginLeft="8dp"
|
||
|
android:layout_marginTop="8dp"
|
||
|
android:layout_marginEnd="8dp"
|
||
|
android:layout_marginRight="8dp"
|
||
|
android:fontFamily="sans-serif-light"
|
||
|
android:gravity="center_horizontal"
|
||
|
android:paddingLeft="20dp"
|
||
|
android:paddingRight="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="8dp"
|
||
|
android:layout_marginLeft="8dp"
|
||
|
android:layout_marginTop="32dp"
|
||
|
android:layout_marginEnd="8dp"
|
||
|
android:layout_marginRight="8dp"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
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="8dp"
|
||
|
android:layout_marginLeft="8dp"
|
||
|
android:layout_marginEnd="8dp"
|
||
|
android:layout_marginRight="8dp"
|
||
|
android:layout_marginBottom="8dp"
|
||
|
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:fontFamily="sans-serif-light"
|
||
|
android:gravity="center_horizontal"
|
||
|
android:paddingBottom="8dp"
|
||
|
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:paddingLeft="20dp"
|
||
|
android:paddingRight="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="8dp"
|
||
|
android:layout_marginLeft="8dp"
|
||
|
android:layout_marginEnd="8dp"
|
||
|
android:layout_marginRight="8dp"
|
||
|
android:layout_marginBottom="24dp"
|
||
|
android:text="@string/ok"
|
||
|
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>
|