Newer
Older
CosmosClient / app / src / main / res / layout / activity_add_member.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:context=".views.AddMemberActivity">

    <TextView
    android:id="@+id/viewName"
    android:layout_width="match_parent"
    android:layout_height="42dp"
    android:layout_weight="1"
    android:background="#a0d8ef"
    android:gravity="center"
    android:text="メンバー追加"
    app:layout_constraintTop_toTopOf="parent"
    tools:layout_editor_absoluteX="10dp" />

    <TextView
        android:id="@+id/groupName"
        android:layout_width="match_parent"
        android:layout_height="75dp"
        android:background="#e6eae3"
        android:gravity="center"
        android:text="家族用 グループ"
        android:textSize="24sp"
        android:drawableLeft="@drawable/group_image"
        app:layout_constraintTop_toBottomOf="@+id/viewName"
        tools:layout_editor_absoluteX="0dp" />

    <Button
        android:id="@+id/addQR"
        android:layout_width="match_parent"
        android:layout_height="144dp"
        android:background="@drawable/white"
        android:gravity="center"
        android:text="QRコードで追加"
        android:textSize="24sp"
        android:drawableLeft="@drawable/camera_image"
        app:layout_constraintTop_toBottomOf="@+id/groupName"
        tools:layout_editor_absoluteX="0dp" />

    <Button
        android:id="@+id/addID"
        android:layout_width="match_parent"
        android:layout_height="144dp"
        android:background="@drawable/white"
        android:gravity="center"
        android:text="IDで追加"
        android:textSize="24sp"
        android:drawableLeft="@drawable/search_image"
        app:layout_constraintTop_toBottomOf="@+id/addQR"
        tools:layout_editor_absoluteX="0dp" />

    <Button
        android:id="@+id/addMail"
        android:layout_width="match_parent"
        android:layout_height="144dp"
        android:background="@drawable/white"
        android:gravity="center"
        android:text="メールで招待"
        android:textSize="24sp"
        android:drawableLeft="@drawable/mail_image"
        app:layout_constraintTop_toBottomOf="@+id/addID"
        tools:layout_editor_absoluteX="0dp" />

</android.support.constraint.ConstraintLayout>