Toggle navigation
Toggle navigation
This project
Loading...
Sign in
장연우
/
WELLO
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
soonmyeong2
2019-11-21 09:24:23 +0900
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
5b9c8afe06644009487e1187444d3451441148dc
5b9c8afe
2 parents
2e85c91e
e019a8bd
Merge branch 'master' of
http://khuhub.khu.ac.kr/2014104141/WELLO
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
97 additions
and
116 deletions
vip/app/src/main/java/com/example/vip/InputProfilFirstFourActivity.kt
vip/app/src/main/res/drawable-xhdpi/noticeimage_1.png
vip/app/src/main/res/drawable-xhdpi/noticeimage_2.png
vip/app/src/main/res/layout/activity_notice.xml
vip/app/src/main/java/com/example/vip/InputProfilFirstFourActivity.kt
View file @
5b9c8af
...
...
@@ -133,10 +133,12 @@ class InputProfilFirstFourActivity : AppCompatActivity() {
startActivity
(
intent
)
}
va
l
doadapter
=
ArrayAdapter
(
this
,
android
.
R
.
layout
.
simple_spinner_item
,
listOf
(
"선택해주세요."
,
"서울특별시"
,
"부산광역시"
,
"대구광역시"
,
"인천광역시"
,
"광주광역시"
,
"대전광역시"
,
"울산광역시"
,
"세종특별자치시"
,
"경기도"
,
"강원도"
,
"충청북도"
,
"충청남도"
,
"전라북도"
,
"전라남도"
,
"경상북도"
,
"경상남도"
,
"제주특별자치도"
))
va
r
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
<*>?)
{
}
...
...
vip/app/src/main/res/drawable-xhdpi/noticeimage_1.png
0 → 100644
View file @
5b9c8af
90.2 KB
vip/app/src/main/res/drawable-xhdpi/noticeimage_2.png
0 → 100644
View file @
5b9c8af
61.7 KB
vip/app/src/main/res/layout/activity_notice.xml
View file @
5b9c8af
<?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"
...
...
Please
register
or
login
to post a comment