Sfoglia il codice sorgente

[FAQ][Common] FAQ 플로팅 버튼 추가

Hasemi 7 anni fa
parent
commit
2c1fab4ed6
1 ha cambiato i file con 29 aggiunte e 15 eliminazioni
  1. 29 15
      app/src/main/res/layout/activity_faq.xml

+ 29 - 15
app/src/main/res/layout/activity_faq.xml

@@ -10,22 +10,36 @@
   tools:context="kr.co.zumo.app.lifeplus.activity.TutorialActivity">
 
   <android.support.design.widget.TabLayout
-  android:id="@+id/faq_tab_layout"
-  android:layout_width="match_parent"
-  android:layout_marginRight="25dp"
-  android:layout_marginLeft="25dp"
-  android:layout_height="55dp"
-  app:tabGravity="center"/>
+    android:id="@+id/faq_tab_layout"
+    android:layout_width="match_parent"
+    android:layout_height="55dp"
+    android:layout_marginLeft="25dp"
+    android:layout_marginRight="25dp"
+    app:tabGravity="center"/>
 
-  <android.support.v4.view.ViewPager
-  android:id="@+id/faq_view_pager"
-  android:layout_width="match_parent"
-  android:layout_height="match_parent"/>
-  <LinearLayout
-    android:id="@+id/faq_container"
+  <RelativeLayout
     android:layout_width="match_parent"
-    android:layout_height="match_parent"
-    android:orientation="vertical"
-    />
+    android:layout_height="match_parent">
+
+    <android.support.v4.view.ViewPager
+      android:id="@+id/faq_view_pager"
+      android:layout_width="match_parent"
+      android:layout_height="match_parent"/>
+
+    <android.support.design.widget.FloatingActionButton
+      android:id="@+id/button_write_faq"
+      android:layout_width="44dp"
+      android:layout_height="44dp"
+      android:layout_alignParentBottom="true"
+      android:layout_alignParentEnd="true"
+      android:layout_gravity="bottom|end"
+      android:layout_marginBottom="22dp"
+      android:layout_marginEnd="22dp"
+      android:src="@drawable/icon_inqurebtn"
+      android:scaleType="center"
+      />
+
+  </RelativeLayout>
+
 
 </LinearLayout>