Newer
Older
Cactus / app / src / main / res / layout / fragment_start.xml
n-konishi on 26 Jul 2018 1 KB 位置調整
<?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:id="@+id/fragment_start"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".cactusClient.views.StartFragment"
    tools:layout_editor_absoluteY="73dp">

    <!-- TODO: Update blank fragment layout -->

    <Button
        android:id="@+id/start_button"
        android:layout_width="150dp"
        android:layout_height="100dp"
        android:layout_marginBottom="60dp"
        android:layout_marginTop="8dp"
        android:text="Start"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/cactus" />

    <ImageView
        android:id="@+id/cactus"
        android:layout_width="0dp"
        android:layout_height="0dp"
        android:layout_marginBottom="32dp"
        android:layout_marginTop="32dp"
        android:contentDescription="TODO"
        android:src="@drawable/cactus_title"
        app:layout_constraintBottom_toTopOf="@+id/start_button"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintHorizontal_bias="0.5"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

</android.support.constraint.ConstraintLayout>