Skip to content

intent-tutorial#10

Open
fhfhfhfhgpdl wants to merge 8 commits intonutyworks:startfrom
implude:revert-1-start
Open

intent-tutorial#10
fhfhfhfhgpdl wants to merge 8 commits intonutyworks:startfrom
implude:revert-1-start

Conversation

@fhfhfhfhgpdl
Copy link

No description provided.

super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)

val btn_open=findViewById<Button>(R.id.btn_open)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kotlin에서 필드 이름은 camel case로 작성하는 것을 추천합니다. 따라서 btn_open보다는 btnOpen이 더 좋은 이름입니다. 더 자세한 내용은 여기를 참조하세요. 👍

Comment on lines +9 to +18
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="AnotherActivity"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:textSize="50dp"
></TextView>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

XML 태그에 child가 없으면 바로 닫는 것을 추천합니다.
e. g.

<TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="AnotherActivity" />

@nutyworks nutyworks added the Pass label Jun 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants