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
신기성
2019-11-01 17:26:14 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5ab5a92d48eb82fb53914601e75ec1baa237807b
5ab5a92d
1 parent
fbddcc8b
info xml proto
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
198 additions
and
0 deletions
vip/app/src/main/java/com/example/vip/InfoActivity.kt
vip/app/src/main/res/layout/activity_info.xml
vip/app/src/main/java/com/example/vip/InfoActivity.kt
View file @
5ab5a92
...
...
@@ -2,11 +2,25 @@ package com.example.vip
import
androidx.appcompat.app.AppCompatActivity
import
android.os.Bundle
import
android.widget.ImageView
import
android.widget.RatingBar
import
android.widget.TextView
class
InfoActivity
:
AppCompatActivity
()
{
override
fun
onCreate
(
savedInstanceState
:
Bundle
?)
{
super
.
onCreate
(
savedInstanceState
)
setContentView
(
R
.
layout
.
activity_info
)
//temp
var
accountImage
:
ImageView
=
findViewById
(
R
.
id
.
infoAccountImage
)
var
profilImage
:
ImageView
=
findViewById
(
R
.
id
.
InfoProfilImage
)
accountImage
.
setImageResource
(
R
.
drawable
.
image01
)
profilImage
.
setImageResource
(
R
.
drawable
.
image01
)
//temp
}
}
...
...
vip/app/src/main/res/layout/activity_info.xml
View file @
5ab5a92
...
...
@@ -6,4 +6,188 @@
android:layout_height=
"match_parent"
tools:context=
".InfoActivity"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
<androidx.appcompat.widget.Toolbar
android:id=
"@+id/toolbar"
android:layout_width=
"fill_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"11dp"
android:background=
"#FFF"
android:elevation=
"5dp"
android:theme=
"@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:popupTheme=
"@style/ThemeOverlay.AppCompat.Dark.ActionBar"
>
<ImageView
android:layout_width=
"77dp"
android:layout_height=
"44dp"
android:layout_gravity=
"center"
android:src=
"@drawable/toolbar_logo"
/>
</androidx.appcompat.widget.Toolbar>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"100dp"
android:layout_gravity=
"center"
android:orientation=
"horizontal"
>
<ImageView
android:id=
"@+id/infoAccountImage"
android:layout_width=
"50dp"
android:layout_height=
"50dp"
android:layout_weight=
"1"
tools:srcCompat=
"@tools:sample/avatars"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_weight=
"1"
android:orientation=
"vertical"
>
<TextView
android:id=
"@+id/InfoNickname"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:text=
"GRACE"
/>
<TextView
android:id=
"@+id/InfoEmail"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:text=
"grace@naver.com"
/>
<TextView
android:id=
"@+id/InfoProfilProgress"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:text=
"프로필정보입력15/20"
/>
</LinearLayout>
<ImageView
android:id=
"@+id/InfoProfilImage"
android:layout_width=
"50dp"
android:layout_height=
"50dp"
android:layout_weight=
"1"
tools:srcCompat=
"@tools:sample/avatars"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
>
<TextView
android:id=
"@+id/InfoProfilModify"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:text=
"프로필 정보 수정"
/>
<ProgressBar
android:id=
"@+id/InfoProgress"
style=
"?android:attr/progressBarStyleHorizontal"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
<TextView
android:id=
"@+id/InfoExplain"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:text=
"많이입력해야정확해요"
/>
<TextView
android:id=
"@+id/InfoStep"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:text=
"STEP 15/20"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
>
<Button
android:id=
"@+id/InfoButtonNotice"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"공지사항"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
>
<Button
android:id=
"@+id/InfoButtonFAQ"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"자주 묻는 질문"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
>
<Button
android:id=
"@+id/InfoButtonSettings"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"환경설정"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
>
<Button
android:id=
"@+id/InfoButtonLaw"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"개인정보처리방침"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
>
<Button
android:id=
"@+id/InfoButtonApp"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"APP 정보"
/>
</LinearLayout>
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:id=
"@+id/fragmentContainer"
app:layout_constraintBottom_toBottomOf=
"parent"
>
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id=
"@+id/bottomNavigation"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_gravity=
"bottom"
android:background=
"#FFF"
app:itemIconTint=
"#29ABE2"
app:itemTextColor=
"#29ABE2"
app:labelVisibilityMode=
"labeled"
app:menu=
"@menu/bottom_nav_menu"
/>
</FrameLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment