soonmyeong2

Merge branch 'master' of http://khuhub.khu.ac.kr/2014104141/WELLO

......@@ -133,10 +133,12 @@ class InputProfilFirstFourActivity : AppCompatActivity() {
startActivity(intent)
}
val doadapter = ArrayAdapter(this, android.R.layout.simple_spinner_item, listOf("선택해주세요.","서울특별시", "부산광역시", "대구광역시", "인천광역시","광주광역시","대전광역시","울산광역시","세종특별자치시","경기도","강원도","충청북도","충청남도","전라북도","전라남도","경상북도","경상남도","제주특별자치도"))
var doadapter = ArrayAdapter(this, android.R.layout.simple_spinner_item, listOf("선택해주세요.","서울특별시", "부산광역시", "대구광역시", "인천광역시","광주광역시","대전광역시","울산광역시","세종특별자치시","경기도","강원도","충청북도","충청남도","전라북도","전라남도","경상북도","경상남도","제주특별자치도"))
doadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
doSpinner.adapter = doadapter
doSpinner.setSelection(1)
doSpinner.onItemSelectedListener = object: AdapterView.OnItemSelectedListener {
override fun onNothingSelected(parent: AdapterView<*>?) {
}
......
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical" android:layout_width="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_height="match_parent">
......@@ -26,132 +27,110 @@
android:textSize="16dp" />
</androidx.appcompat.widget.Toolbar>
<LinearLayout
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="#fff"
android:orientation="vertical">
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="11dp"
android:layout_marginRight="11dp"
android:background="@drawable/bottom_border"
android:orientation="vertical" >
android:orientation="horizontal">
<Button
android:id="@+id/notice4"
style="?android:attr/borderlessButtonStyle"
android:layout_width="match_parent"
android:layout_height="65dp"
android:layout_weight="1"
android:gravity="left|center_vertical"
android:paddingLeft="33dp"
android:text="공지4"
android:textSize="17dp" />
<ImageView
android:id="@+id/notice4_img"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center|right"
android:layout_weight="6"
app:srcCompat="@drawable/down_arrow" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="11dp"
android:layout_marginRight="11dp"
android:background="@drawable/bottom_border"
android:orientation="horizontal">
<Button
android:id="@+id/notice3"
style="?android:attr/borderlessButtonStyle"
android:layout_width="match_parent"
android:layout_height="65dp"
android:layout_weight="1"
android:gravity="left|center_vertical"
android:paddingLeft="33dp"
android:text="공지3"
android:textSize="17dp" />
<ImageView
android:id="@+id/notice3_img"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center|right"
android:layout_weight="6"
app:srcCompat="@drawable/down_arrow" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="11dp"
android:layout_marginRight="11dp"
android:background="@drawable/bottom_border"
android:orientation="horizontal"
android:stateListAnimator="@null">
<Button
android:id="@+id/notice2"
style="?android:attr/borderlessButtonStyle"
android:layout_width="match_parent"
android:layout_height="65dp"
android:layout_weight="1"
android:gravity="left|center_vertical"
android:paddingLeft="33dp"
android:stateListAnimator="@null"
android:text="공지2"
android:textSize="17dp" />
<ImageView
android:id="@+id/notice2_img"
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center|right"
android:layout_weight="6"
app:srcCompat="@drawable/down_arrow" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="11dp"
android:layout_marginRight="11dp"
android:background="@drawable/bottom_border"
android:orientation="horizontal">
<Button
android:id="@+id/notice1"
style="?android:attr/borderlessButtonStyle"
android:layout_width="match_parent"
android:layout_height="65dp"
android:layout_weight="1"
android:gravity="left|center_vertical"
android:paddingLeft="33dp"
android:text="공지1"
android:textSize="17dp" />
<ImageView
android:id="@+id/notice1_img"
android:layout_marginBottom="15dp"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="11dp"
android:layout_marginRight="11dp"
android:background="@drawable/bottom_border"
android:orientation="horizontal">
<Button
android:id="@+id/notice1"
style="?android:attr/borderlessButtonStyle"
android:layout_width="match_parent"
android:layout_height="65dp"
android:layout_weight="1"
android:gravity="left|center_vertical"
android:paddingLeft="33dp"
android:text="[이벤트] 복지야 안녕"
android:textSize="17dp" />
<ImageView
android:id="@+id/notice1_img"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center|right"
android:layout_weight="6"
app:srcCompat="@drawable/down_arrow" />
</LinearLayout>
<ImageView
android:id="@+id/imageView4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="11dp"
android:layout_marginRight="11dp"
android:background="@drawable/noticeimage_1"
tools:srcCompat="@tools:sample/avatars" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center|right"
android:layout_weight="6"
app:srcCompat="@drawable/down_arrow" />
android:layout_marginBottom="15dp"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="11dp"
android:layout_marginRight="11dp"
android:background="@drawable/bottom_border"
android:orientation="horizontal"
android:stateListAnimator="@null">
<Button
android:id="@+id/notice2"
style="?android:attr/borderlessButtonStyle"
android:layout_width="match_parent"
android:layout_height="65dp"
android:layout_weight="1"
android:gravity="left|center_vertical"
android:paddingLeft="33dp"
android:stateListAnimator="@null"
android:text="[이벤트] Wello 캐릭터 이름 공모"
android:textSize="17dp" />
<ImageView
android:id="@+id/notice2_img"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center|right"
android:layout_weight="6"
app:srcCompat="@drawable/down_arrow" />
</LinearLayout>
<ImageView
android:id="@+id/imageView5"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="11dp"
android:layout_marginRight="11dp"
android:background="@drawable/noticeimage_2"
tools:srcCompat="@tools:sample/avatars" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</ScrollView>
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottomNavigation_notice"
......