c언어와 자바를 공부하다가 이제야 안드로이드 앱 개발을 위해 안드로이드 스튜디오를 설치하고
xml코드를 작성하고 화면전환을 하기 시작했다.
6월까지 곤충기네스북 앱을 개발하는 것 을 목표로 프로젝트를 시작함.
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".MainActivity">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="곤충기네스북"
android:textSize="50dp"
android:textColor="#26228E"/>
<EditText
android:id="@+id/name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="닉네임을 입력하세요"
android:textSize="30sp"
/>
<Button
android:id="@+id/check"
android:layout_height="wrap_content"
android:text="확인"
android:textSize="30dp"
android:layout_width="wrap_content" />
</LinearLayout>
간단한 대표화면을 만드는 코드를 작성해봤다
'Android' 카테고리의 다른 글
인텔리제이 JAVA if문,while문 예제 (0) | 2021.04.09 |
---|---|
인텔리제이 단축키 메모장 (0) | 2021.04.09 |
인텔리제이 JAVA try catch (예외처리) (0) | 2021.04.09 |
안드로이드 스튜디오 shared preferences 예시(뒤로가기 저장) (0) | 2021.04.07 |
안드로이드 스튜디오 로그인 화면 xml 만들기 (0) | 2021.04.07 |