인프런 커뮤니티 질문&답변
블루프린트에 글씨가 크게 나오는 문제
작성
·
333
0
좋은 강의 너무 감사합니다.
1. 시청 중인 강의의 부분 (수업 제목 및 타임코드) : 주사위 앱 소개 레이아웃 설정
2. 내가 작성한 코드
<?xml version="1.0" encoding="utf-8"?>
<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:background="#008000"
tools:context=".MainActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_marginTop="100dp">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="인생은 주사위 한방에 가는거 아니겠습니까?"
android:textSize="30sp"
android:gravity="center"
android:textColor="@color/black"/>
</LinearLayout>
</LinearLayout>
3. 에러가 나온다면, 어떻게 나오는지 (에러 내용)
디자인 화면에 블루프린트에 글씨가 크게 나오는데 제가 어떤 설정을 잘못한건가요??






