Newer
Older
tampopo-client / app / src / main / res / layout / dialog_add_friend.xml
t-watanabe 17 hours ago 1 KB 変更を保存します
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="300dp"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:padding="24dp"
    android:background="@android:color/white"
    android:layout_gravity="center">

    <!-- 閉じるボタン -->
    <ImageView
        android:id="@+id/button_close"
        android:layout_width="24dp"
        android:layout_height="24dp"
        android:layout_gravity="start"
        android:src="@android:drawable/ic_menu_close_clear_cancel" />

    <!-- タイトル -->
    <TextView
        android:id="@+id/text_title"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="フレンド追加"
        android:textSize="18sp"
        android:textStyle="bold"
        android:gravity="center"
        android:layout_marginTop="8dp"
        android:layout_marginBottom="16dp" />

    <!-- 入力欄 -->
    <EditText
        android:id="@+id/edit_friend_id"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:hint="IDを入力"
        android:background="@color/white"
        android:padding="12dp"
        android:layout_marginBottom="16dp" />

    <!-- 検索ボタン -->
    <Button
        android:id="@+id/button_search"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="検索"
        android:backgroundTint="#FFD700"
        android:textColor="#000000" />
</LinearLayout>