Blame view

app/src/main/res/layout/fragment_sns_topic.xml 2.48 KB
7f095a929   chudinhbka@gmail.com   Create GIT Project
1
2
3
4
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
  <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/layout_main_sns_screen"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="@color/background_main"
      android:orientation="vertical"
      android:visibility="visible">
  
      <LinearLayout
          android:id="@+id/layout_top"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:gravity="center"
          android:orientation="vertical">
  
          <Button
              android:id="@+id/btn_recommended_group"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_marginLeft="36dp"
              android:layout_marginRight="36dp"
              android:layout_marginTop="24dp"
              android:background="@drawable/button_background"
              android:text="オススメグループ" />
  
          <Button
              android:id="@+id/btn_my_group"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:layout_marginBottom="24dp"
              android:layout_marginLeft="36dp"
              android:layout_marginRight="36dp"
              android:layout_marginTop="16dp"
              android:background="@drawable/button_background"
              android:text="マイグループ" />
      </LinearLayout>
  
      <LinearLayout
          android:id="@+id/layout_topic"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_below="@id/layout_top"
          android:orientation="vertical">
  
          <TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_gravity="center_horizontal"
              android:text="最近の話題"
              android:textColor="@android:color/white"
              android:textSize="22sp" />
  
          <android.support.v4.widget.SwipeRefreshLayout
              android:id="@+id/swipe_topic"
              android:layout_width="match_parent"
              android:layout_height="match_parent">
  
              <android.support.v7.widget.RecyclerView
                  android:id="@+id/rcv_topic"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:layout_marginTop="8dp"
                  android:scrollbars="vertical" />
          </android.support.v4.widget.SwipeRefreshLayout>
      </LinearLayout>
  
  </LinearLayout>