일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 잡토이 메이킹 코딩 학원
- 리브레캐드
- 스크래치
- 설정
- MSSQL
- html5
- Android
- 운정
- 잡토이
- 안드로이드
- 아두이노
- 오라클
- 유니티
- 예제
- jobtoy
- oracle
- Unity
- mysql
- Spring Security
- jsp
- librecad
- tomcat
- s4a
- 파주
- 강좌
- 코딩
- 설치
- 라즈베리파이
- 시작하기
- 톰캣
- 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 |