2017-02-21 11:17:06 +11: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">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/image"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:srcCompat="@drawable/swap_start_header"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/text1"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Download apps from people near you."
|
|
|
|
android:textSize="20sp"
|
|
|
|
android:textAlignment="center"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/image"
|
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
android:layout_marginTop="32dp"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:layout_marginRight="48dp"
|
|
|
|
android:layout_marginStart="48dp"
|
|
|
|
android:layout_marginLeft="48dp" />
|
|
|
|
|
|
|
|
<!-- TODO: Use @string/app_name instead of "F-Droid". -->
|
|
|
|
<!-- TODO: The swap process helps to get F-Droid to the other user. That should probably be made a bit clearer here. -->
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/text2"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Participants must have F-Droid installed."
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:textAlignment="center"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/text1"
|
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:layout_marginEnd="48dp"
|
|
|
|
android:layout_marginRight="48dp"
|
|
|
|
android:layout_marginStart="48dp"
|
|
|
|
android:layout_marginLeft="48dp" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="Find people near me"
|
2016-12-08 07:04:31 +11:00
|
|
|
style="@style/DetailsSecondaryButtonStyle"
|
2017-02-21 11:17:06 +11:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/text2"
|
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
android:layout_marginTop="16dp" />
|
|
|
|
|
|
|
|
</android.support.constraint.ConstraintLayout>
|