| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
- Spring Security
- MSSQL
- 파주
- Android
- 운정
- Unity
- librecad
- 오라클
- 잡토이 메이킹 코딩 학원
- 코딩
- 스크래치
- 안드로이드
- 톰캣
- 아두이노
- oracle
- jsp
- 리브레캐드
- 잡토이
- s4a
- tomcat
- 설치
- mysql
- 시작하기
- 라즈베리파이
- 설정
- 유니티
- jobtoy
- 예제
- 강좌
- html5
- Today
- Total
랩제이
activity_main 화면 디자인1 본문


<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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"
tools:context=".MainActivity">
<EditText
android:id="@+id/editText"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:ems="10"
android:hint="사이트 주소 입력"
android:inputType="textPersonName"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="SpeakableTextPresentCheck,TouchTargetSizeCheck" />
<Button
android:id="@+id/button"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="요청하기"
app:layout_constraintBottom_toTopOf="@+id/scrollView"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/editText" />
<ScrollView
android:id="@+id/scrollView"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginStart="1dp"
android:layout_marginTop="1dp"
android:layout_marginEnd="1dp"
android:layout_marginBottom="1dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/button">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</ScrollView>
</androidx.constraintlayout.widget.ConstraintLayout>
[activity_main.xml 코드]
'programming > android' 카테고리의 다른 글
| HttpURLConnection 연결 오류 (0) | 2021.10.09 |
|---|---|
| [android] 안드로이드 스튜디오 AVD 한글 깨짐 (0) | 2017.10.24 |
| [android studio] 한글 깨짐에 따른 폰트 설정 (0) | 2017.10.17 |
| [android studio] 오류 : The SDK platform-tools version(25.0.6) is too old to check APIs compiled with API 26 (0) | 2017.10.17 |
| [android] 디컴파일 하기 (0) | 2015.03.18 |