Blame view
app/src/main/res/layout/fragment_sns_search.xml
3.2 KB
|
7f095a929
|
1 2 3 4 |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/layout_search_sns_screen"
android:layout_width="match_parent"
android:layout_height="match_parent"
|
|
7f095a929
|
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_margin="8dp"
android:text="オススメグループ"
android:textColor="@android:color/white"
android:textSize="26sp" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dp">
<EditText
android:id="@+id/edt_search_input"
style="@android:style/Animation.InputMethod"
android:layout_width="match_parent"
android:layout_height="36dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_toLeftOf="@+id/layout_search_button"
android:background="@drawable/edittext_search_bg"
android:gravity="center_vertical"
android:hint="検索キーワード"
android:lines="1"
android:textColor="@android:color/black"
android:textSize="16sp" />
<LinearLayout
android:id="@+id/layout_search_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:orientation="vertical">
<Button
android:id="@+id/btn_search"
android:layout_width="match_parent"
android:layout_height="36dp"
android:layout_marginRight="8dp"
android:layout_weight="30"
android:background="@drawable/button_background"
android:text="検索" />
<Button
android:id="@+id/btn_create_group"
android:layout_width="wrap_content"
android:layout_height="36dp"
android:layout_marginRight="8dp"
android:layout_marginTop="8dp"
android:layout_weight="30"
android:background="@drawable/button_background"
android:text="グループ作成" />
</LinearLayout>
</RelativeLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="48dp"
android:orientation="horizontal"
android:weightSum="100">
</LinearLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.RecyclerView
android:id="@+id/rcv_search_result"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="8dp" />
<ProgressBar
android:id="@+id/pb_seaching"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_centerHorizontal="true"
android:layout_marginTop="16dp" />
</RelativeLayout>
</LinearLayout>
|