신기성

signinactivity design

......@@ -12,9 +12,9 @@ class ViewPagerAdapter(private val context : Context) : PagerAdapter() {
private var layoutInflater : LayoutInflater? = null
val Image = arrayOf(
R.drawable.image01,
R.drawable.image02,
R.drawable.image03
R.drawable.event1,
R.drawable.event2,
R.drawable.image01
)
......
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient
android:startColor="#00000000"
android:centerColor="#00000000"
android:endColor="#26000000"
android:angle="270"/>
<!--android:centerY="0.95"-->
</shape>
\ No newline at end of file
......@@ -34,61 +34,37 @@
android:src="@drawable/toolbar_logo" />
</androidx.appcompat.widget.Toolbar>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:layout_weight="1"
android:gravity="top"
android:orientation="horizontal">
<androidx.viewpager.widget.ViewPager
android:id="@+id/welcomeViewPager"
android:layout_width="match_parent"
android:layout_height="262dp"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:layout_weight="1">
android:layout_weight="1"
android:elevation="-7dp">
</androidx.viewpager.widget.ViewPager>
</LinearLayout>
<!--
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:layout_weight="1"
android:foregroundGravity="center"
android:elevation="5dp"
android:gravity="center"
android:orientation="vertical">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/policyFieldRecyclerView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="7dp"
android:layout_marginBottom="18dp"
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:background="@drawable/round_ractagle_solid"
android:foregroundGravity="center"
android:paddingLeft="16dp"
android:paddingTop="20dp"
android:paddingRight="16dp"
android:paddingBottom="20dp"
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
app:layout_constraintBottom_toBottomOf="@id/bottomNavigation"
app:spanCount="3"
tools:listitem="@layout/item_policyfield" />
android:orientation="horizontal">
</LinearLayout>
-->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_margin="15dp"
android:layout_weight="1"
android:background="@drawable/edgemaking"
......@@ -115,10 +91,10 @@
<Button
android:id="@+id/kyoyookButton"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="center"
android:background="@drawable/kyoyook_icon"
android:background="@drawable/homecat1"
android:gravity="center" />
<TextView
......@@ -144,10 +120,10 @@
<Button
android:id="@+id/koyongButton"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="center"
android:background="@drawable/koyong_icon"
android:background="@drawable/homecat2"
android:gravity="center" />
<TextView
......@@ -173,10 +149,10 @@
<Button
android:id="@+id/joogeoButton"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="center"
android:background="@drawable/joogeo_icon"
android:background="@drawable/homecat3"
android:gravity="center" />
<TextView
......@@ -194,6 +170,12 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="horizontal"></LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:layout_marginBottom="15dp"
......@@ -212,10 +194,10 @@
<Button
android:id="@+id/geongangButton"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="center"
android:background="@drawable/health_icon"
android:background="@drawable/homecat4"
android:gravity="center" />
<TextView
......@@ -241,10 +223,10 @@
<Button
android:id="@+id/seominButton"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="center"
android:background="@drawable/seomin_icon"
android:background="@drawable/homecat5"
android:gravity="center" />
<TextView
......@@ -253,7 +235,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:text="서민금융"
android:text="금융"
android:textColor="#4A4A4A"
android:textSize="13dp" />
</LinearLayout>
......@@ -270,10 +252,10 @@
<Button
android:id="@+id/moonhwaButton"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="center"
android:background="@drawable/moonhwa_icon"
android:background="@drawable/homecat6"
android:gravity="center" />
<TextView
......@@ -289,6 +271,48 @@
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="horizontal"></LinearLayout>
</LinearLayout>
<!--
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:layout_weight="1"
android:foregroundGravity="center"
android:gravity="center"
android:orientation="vertical">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/policyFieldRecyclerView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="7dp"
android:layout_marginBottom="18dp"
android:layout_weight="1"
android:background="@drawable/round_ractagle_solid"
android:foregroundGravity="center"
android:paddingLeft="16dp"
android:paddingTop="20dp"
android:paddingRight="16dp"
android:paddingBottom="20dp"
app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
app:layout_constraintBottom_toBottomOf="@id/bottomNavigation"
app:spanCount="3"
tools:listitem="@layout/item_policyfield" />
</LinearLayout>
-->
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottomNavigation"
android:layout_width="match_parent"
......
......@@ -10,5 +10,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:foreground="@drawable/gradation"
tools:srcCompat="@tools:sample/avatars" />
</LinearLayout>
\ No newline at end of file
......