{"id":30584,"date":"2024-10-28T04:01:03","date_gmt":"2024-10-28T04:01:03","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=30584"},"modified":"2024-11-26T06:48:06","modified_gmt":"2024-11-26T06:48:06","slug":"%ec%9e%90%eb%b0%94-%ec%95%88%eb%93%9c%eb%a1%9c%ec%9d%b4%eb%93%9c-%ec%95%b1%ea%b0%9c%eb%b0%9c-%ea%b0%95%ec%a2%8c-%ea%b3%84%ec%b8%b5-%ea%b5%ac%ec%a1%b0%eb%a1%9c-%eb%b0%b0%ec%b9%98-constraintlayout","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/30584\/","title":{"rendered":"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uacc4\uce35 \uad6c\uc870\ub85c \ubc30\uce58 &#8211;  ConstraintLayout"},"content":{"rendered":"<p>Android \uc571 \uac1c\ubc1c\uc5d0\uc11c UI\ub97c \uad6c\uc131\ud558\ub294 \ubc29\ubc95\uc740 \uc5ec\ub7ec \uac00\uc9c0\uac00 \uc788\uc73c\uba70, \uadf8\uc911 \ud558\ub098\uac00 <strong>ConstraintLayout<\/strong>\uc785\ub2c8\ub2e4. ConstraintLayout\uc740 \ubcf5\uc7a1\ud55c UI \ub808\uc774\uc544\uc6c3\uc744 \uc27d\uac8c \uad6c\uc131\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc8fc\ub294 \uac15\ub825\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 ConstraintLayout\uc744 \uc0ac\uc6a9\ud558\ub294 \uc774\uc720\uc640 \uae30\ubcf8 \uac1c\ub150, \uadf8\ub9ac\uace0 \uc2e4\uc2b5\uc608\uc81c\ub97c \ud1b5\ud574 \uc2e4\uc81c\ub85c \uc5b4\ub5bb\uac8c \uc0ac\uc6a9\ud558\ub294\uc9c0\ub97c \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. ConstraintLayout \uc18c\uac1c<\/h2>\n<p>ConstraintLayout\uc740 \ub2e4\uc591\ud55c View\ub97c \uc27d\uac8c \ubc30\uce58\ud560 \uc218 \uc788\uac8c \ud574\uc8fc\ub294 \ub808\uc774\uc544\uc6c3\uc785\ub2c8\ub2e4. \uc804\ud1b5\uc801\uc778 \ub808\uc774\uc544\uc6c3 \ubc29\uc2dd\uc5d0\uc11c\ub294 LinearLayout\uc774\ub098 RelativeLayout\uc744 \uc0ac\uc6a9\ud588\uc9c0\ub9cc, ConstraintLayout\uc740 \uc774\ub7ec\ud55c \ubc29\uc2dd\uc758 \ud55c\uacc4\ub97c \uadf9\ubcf5\ud560 \uc218 \uc788\ub294 \uad6c\uc870\uc801 \uc7a5\uc810\uc744 \uac00\uc9d1\ub2c8\ub2e4.<\/p>\n<ul>\n<li><strong>\uc720\uc5f0\uc131<\/strong>: \ud654\uc0c1 \ud37c\uc13c\ud2b8 \uae30\ubc18\uc758 Layout\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc7a5\uce58\uc758 \ud06c\uae30\uc5d0 \ub530\ub77c \uc790\ub3d9\uc73c\ub85c \uc870\uc815\ub429\ub2c8\ub2e4.<\/li>\n<li><strong>\uc131\ub2a5<\/strong>: View Hierarchy\uac00 \ub2e8\uc21c\ud654\ub418\uc5b4 \uba54\ubaa8\ub9ac \uc0ac\uc6a9\ub7c9\uc744 \uc904\uc774\uace0 \uc131\ub2a5\uc744 \uac1c\uc120\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\ub514\uc790\uc778 \ub3c4\uad6c\uc640\uc758 \ud1b5\ud569<\/strong>: Android Studio\uc758 Layout Editor\uc5d0\uc11c\ub294 ConstraintLayout\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc27d\uac8c \uc2dc\uac01\uc801\uc778 \uc694\uc18c\ub97c \ubc30\uce58\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>2. ConstraintLayout\uc758 \uae30\ubcf8 \uac1c\ub150<\/h2>\n<p>ConstraintLayout\uc740 \ubdf0\ub4e4 \uac04\uc758 \uc81c\uc57d \uc870\uac74\uc744 \uc815\uc758\ud558\uc5ec \ubc30\uce58\ud558\ub294 \ubc29\uc2dd\uc785\ub2c8\ub2e4. \uc6b0\ub9ac\uac00 \uc6d0\ud558\ub294 \ubdf0\uc758 \uc704\uce58\ub97c \ub2e4\ub978 \ubdf0 \ud639\uc740 \ubd80\ubaa8\uc5d0 \ub300\ud574 \uc0c1\ub300\uc801\uc73c\ub85c \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ud2b9\uc131 \ub355\ubd84\uc5d0 \uac1c\ubc1c\uc790\ub4e4\uc740 \ubdf0\ub4e4\uc774 \uc11c\ub85c\ub97c \ucc38\uc870\ud558\uc5ec \uc801\uc808\ud55c \uc704\uce58\uc5d0 \ubc30\uce58\ub420 \uc218 \uc788\ub3c4\ub85d \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>ConstraintLayout\uc5d0\uc11c \uac00\uc7a5 \uc911\uc694\ud55c \uac1c\ub150\uc740 <strong>Constraints(\uc81c\uc57d\uc870\uac74)<\/strong>\uc785\ub2c8\ub2e4. \uc81c\uc57d\uc870\uac74\uc740 \ubdf0\uc758 \uc704\uce58\uc640 \ud06c\uae30\ub97c \uacb0\uc815\ud558\ub294 \ub370 \ud544\uc694\ud55c \uc815\ubcf4\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc77c\ubc18\uc801\uc73c\ub85c \ub2e4\uc74c\uacfc \uac19\uc740 \uc81c\uc57d\uc870\uac74\uc744 \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>Top constraint<\/strong>: \ubdf0\uc758 \uc0c1\ub2e8\uc744 \ubd80\ubaa8 \ub610\ub294 \ub2e4\ub978 \ubdf0\uc758 \uc0c1\ub2e8\uc5d0 \uace0\uc815\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>Bottom constraint<\/strong>: \ubdf0\uc758 \ud558\ub2e8\uc744 \ubd80\ubaa8 \ub610\ub294 \ub2e4\ub978 \ubdf0\uc758 \ud558\ub2e8\uc5d0 \uace0\uc815\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>Start constraint<\/strong>: \ubdf0\uc758 \uc2dc\uc791(\uc67c\ucabd)\uc744 \ubd80\ubaa8 \ub610\ub294 \ub2e4\ub978 \ubdf0\uc758 \uc2dc\uc791\uc5d0 \uace0\uc815\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>End constraint<\/strong>: \ubdf0\uc758 \ub05d(\uc624\ub978\ucabd)\uc744 \ubd80\ubaa8 \ub610\ub294 \ub2e4\ub978 \ubdf0\uc758 \ub05d\uc5d0 \uace0\uc815\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>Width\uc640 Height constraint<\/strong>: \ubdf0\uc758 \ub108\ube44\uc640 \ub192\uc774\uc5d0 \ub300\ud55c \uc81c\uc57d\uc870\uac74\uc744 \uc124\uc815\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>3. ConstraintLayout \uc0ac\uc6a9\ud558\uae30<\/h2>\n<p>\uc774\uc81c \uc544\ub798\uc758 \uc608\uc81c\ub97c \ud1b5\ud574 ConstraintLayout\uc744 \uc2e4\uc81c\ub85c \uc5b4\ub5bb\uac8c \uc0ac\uc6a9\ud558\ub294\uc9c0 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uc608\uc81c\uc5d0\uc11c\ub294 \uae30\ubcf8\uc801\uc778 \ub85c\uadf8\uc778 \ud654\uba74\uc744 \ub9cc\ub4e4\uc5b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>3.1 XML \ub808\uc774\uc544\uc6c3 \ud30c\uc77c \ub9cc\ub4e4\uae30<\/h3>\n<p>\ub2e4\uc74c\uc740 \ub85c\uadf8\uc778 \ud654\uba74\uc744 \uad6c\ud604\ud558\uae30 \uc704\ud55c XML \ucf54\ub4dc\uc785\ub2c8\ub2e4. \uc774 \ucf54\ub4dc\ub294 res\/layout \ub514\ub809\ud1a0\ub9ac\uc5d0 &#8216;activity_login.xml&#8217;\uc774\ub77c\ub294 \uc774\ub984\uc73c\ub85c \uc800\uc7a5\ub429\ub2c8\ub2e4.<\/p>\n<pre><code>&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\n&lt;androidx.constraintlayout.widget.ConstraintLayout xmlns:android=\"http:\/\/schemas.android.com\/apk\/res\/android\"\n    xmlns:app=\"http:\/\/schemas.android.com\/apk\/res-auto\"\n    xmlns:tools=\"http:\/\/schemas.android.com\/tools\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    tools:context=\".LoginActivity\"&gt;\n\n    &lt;TextView\n        android:id=\"@+id\/textViewTitle\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:text=\"\ub85c\uadf8\uc778\"\n        android:textSize=\"24sp\"\n        android:textStyle=\"bold\"\n        app:layout_constraintBottom_toTopOf=\"@+id\/editTextUsername\"\n        app:layout_constraintEnd_toEndOf=\"parent\"\n        app:layout_constraintStart_toStartOf=\"parent\"\n        app:layout_constraintTop_toTopOf=\"parent\"\/&gt;\n\n    &lt;EditText\n        android:id=\"@+id\/editTextUsername\"\n        android:layout_width=\"0dp\"\n        android:layout_height=\"wrap_content\"\n        android:hint=\"\uc0ac\uc6a9\uc790 \uc774\ub984\"\n        app:layout_constraintBottom_toTopOf=\"@+id\/editTextPassword\"\n        app:layout_constraintEnd_toEndOf=\"parent\"\n        app:layout_constraintStart_toStartOf=\"parent\"\n        app:layout_constraintWidth_percent=\"0.5\"\/&gt;\n\n    &lt;EditText\n        android:id=\"@+id\/editTextPassword\"\n        android:layout_width=\"0dp\"\n        android:layout_height=\"wrap_content\"\n        android:hint=\"\ube44\ubc00\ubc88\ud638\"\n        app:layout_constraintBottom_toTopOf=\"@+id\/buttonLogin\"\n        app:layout_constraintEnd_toEndOf=\"parent\"\n        app:layout_constraintStart_toStartOf=\"parent\"\n        app:layout_constraintWidth_percent=\"0.5\"\/&gt;\n\n    &lt;Button\n        android:id=\"@+id\/buttonLogin\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:text=\"\ub85c\uadf8\uc778\"\n        app:layout_constraintBottom_toBottomOf=\"parent\"\n        app:layout_constraintEnd_toEndOf=\"parent\"\n        app:layout_constraintStart_toStartOf=\"parent\"\/&gt;\n\n&lt;\/androidx.constraintlayout.widget.ConstraintLayout&gt;\n<\/code><\/pre>\n<h3>3.2 MainActivity.java \ud30c\uc77c \uc791\uc131<\/h3>\n<p>XML \ud30c\uc77c\uc744 \uc791\uc131\ud55c \ud6c4, \uc774\uc81c \ud574\ub2f9 \ub808\uc774\uc544\uc6c3\uc744 \uc0ac\uc6a9\ud560 Activity\ub97c \uc791\uc131\ud574\uc57c \ud569\ub2c8\ub2e4. \ub514\ub809\ud1a0\ub9ac &#8216;src\/main\/java\/com\/example\/app&#8217; \uc544\ub798\uc5d0 &#8216;MainActivity.java&#8217; \ud30c\uc77c\uc744 \ub9cc\ub4ed\ub2c8\ub2e4.<\/p>\n<pre><code>package com.example.app;\n\nimport android.os.Bundle;\nimport android.view.View;\nimport android.widget.Button;\nimport android.widget.EditText;\nimport android.widget.TextView;\nimport android.widget.Toast;\nimport androidx.appcompat.app.AppCompatActivity;\n\npublic class MainActivity extends AppCompatActivity {\n\n    private EditText editTextUsername;\n    private EditText editTextPassword;\n    private Button buttonLogin;\n\n    @Override\n    protected void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n        setContentView(R.layout.activity_login);\n\n        editTextUsername = findViewById(R.id.editTextUsername);\n        editTextPassword = findViewById(R.id.editTextPassword);\n        buttonLogin = findViewById(R.id.buttonLogin);\n\n        buttonLogin.setOnClickListener(new View.OnClickListener() {\n            @Override\n            public void onClick(View v) {\n                String username = editTextUsername.getText().toString();\n                String password = editTextPassword.getText().toString();\n\n                if (username.isEmpty() || password.isEmpty()) {\n                    Toast.makeText(MainActivity.this, \"\ubaa8\ub4e0 \ud544\ub4dc\ub97c \uc785\ub825\ud558\uc138\uc694.\", Toast.LENGTH_SHORT).show();\n                } else {\n                    \/\/ \ub85c\uadf8\uc778 \ucc98\ub9ac \ub85c\uc9c1\n                    Toast.makeText(MainActivity.this, \"\ub85c\uadf8\uc778 \uc131\uacf5!\", Toast.LENGTH_SHORT).show();\n                }\n            }\n        });\n    }\n}\n<\/code><\/pre>\n<h2>4. ConstraintLayout\uc758 \uace0\uae09 \uae30\ub2a5<\/h2>\n<p>ConstraintLayout\uc740 \uae30\ubcf8\uc801\uc778 \uc81c\uc57d\uc870\uac74 \uc678\uc5d0\ub3c4 \ub2e4\uc591\ud55c \uace0\uae09 \uae30\ub2a5\uc744 \uc9c0\uc6d0\ud569\ub2c8\ub2e4. \uc5ec\uae30\uc5d0\uc11c\ub294 \uba87 \uac00\uc9c0 \uc8fc\uc694 \uae30\ub2a5\uc744 \uc18c\uac1c\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>4.1 Guideline<\/h3>\n<p>Guideline\uc740 \ubdf0\ub97c \uc815\ub82c\ud558\ub294 \ub370 \ub3c4\uc6c0\uc774 \ub418\ub294 \uc2dc\uac01\uc801\uc778 \uac00\uc774\ub4dc\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc218\ud3c9(Vertical) \ub610\ub294 \uc218\uc9c1(Horizontal) \uac00\uc774\ub4dc\ub97c \uc0dd\uc131\ud558\uc5ec \ubdf0\uc758 \ubc30\uce58 \ubc0f \ud06c\uae30 \uc870\uc808\uc5d0 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>&lt;androidx.constraintlayout.widget.Guideline\n    android:layout_width=\"wrap_content\"\n    android:layout_height=\"wrap_content\"\n    android:orientation=\"vertical\"\n    android:guidePercent=\"0.5\"\/&gt;\n<\/code><\/pre>\n<h3>4.2 Barrier<\/h3>\n<p>Barrier\ub294 \uc5ec\ub7ec \ubdf0\uc5d0 \uc885\uc18d\uc801\uc73c\ub85c \uc124\uc815\ub418\uc5b4 \ubdf0\uc758 \ud06c\uae30\uc5d0 \ub530\ub77c \ub2e4\ub978 \ubdf0\uc758 \uc704\uce58\ub97c \ub3d9\uc801\uc73c\ub85c \uc870\uc815\ud560 \uc218 \uc788\ub3c4\ub85d \ud574\uc90d\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \uc5b4\ub5a4 \ubdf0\uac00 \uc228\uaca8\uc84c\uc744 \ub54c \ub2e4\ub978 \ubdf0\uac00 \uadf8 \uc790\ub9ac\ub97c \ucc28\uc9c0\ud560 \uc218 \uc788\ub3c4\ub85d \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>4.3 Group<\/h3>\n<p>Group\uc744 \uc0ac\uc6a9\ud558\uba74 \uc5ec\ub7ec \uac1c\uc758 \ubdf0\ub97c \ud558\ub098\uc758 \uadf8\ub8f9\uc73c\ub85c \ubb36\uc5b4 \uc77c\uad04\uc801\uc73c\ub85c \uc81c\uc57d \uc870\uac74\uc744 \uc124\uc815\ud558\uac70\ub098 \ubcf4\uc774\uae30\/\uc228\uae30\uae30\ub97c \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>&lt;androidx.constraintlayout.widget.Group\n    android:id=\"@+id\/group\"\n    app:layout_constraintStart_toStartOf=\"parent\"\n    app:layout_constraintEnd_toEndOf=\"parent\"\/&gt;\n<\/code><\/pre>\n<h2>5. \uacb0\ub860<\/h2>\n<p>ConstraintLayout\uc740 \uc548\ub4dc\ub85c\uc774\ub4dc UI \uac1c\ubc1c\uc5d0\uc11c \ub9e4\uc6b0 \uc720\uc6a9\ud55c \ub3c4\uad6c\ub85c, \ubdf0 \uac04\uc758 \uad00\uacc4\ub97c \uc27d\uac8c \uc124\uc815\ud560 \uc218 \uc788\ub3c4\ub85d \ud574\uc90d\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 ConstraintLayout\uc758 \uae30\ubcf8 \uac1c\ub150\uacfc \uc0ac\uc6a9 \ubc29\ubc95, \uadf8\ub9ac\uace0 \uace0\uae09 \uae30\ub2a5\uc744 \ud1b5\ud574 \ubcf5\uc7a1\ud55c \ub808\uc774\uc544\uc6c3\uc744 \ub9cc\ub4dc\ub294 \ubc29\ubc95\uc744 \uc0b4\ud3b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uc2e4\uc81c\ub85c \uc571\uc744 \uac1c\ubc1c\ud560 \ub54c \uc774\ub7ec\ud55c \ub0b4\uc6a9\uc744 \ud65c\uc6a9\ud558\uc5ec \ud6a8\uc728\uc801\uc774\uace0 \ubc18\uc751\ud615 UI\ub97c \uad6c\ud604\ud574\ubcf4\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<p>\uc774\uc81c \uc5ec\ub7ec\ubd84\uc740 ConstraintLayout\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc790\uc2e0\ub9cc\uc758 \ub3c5\ud2b9\ud55c UI\ub97c \uc0dd\uc131\ud560 \uc218 \uc788\ub294 \uc900\ube44\uac00 \ub418\uc5c8\uc2b5\ub2c8\ub2e4. \ub2e4\uc591\ud55c \uc694\uc18c\ub97c \uc870\ud569\ud558\uc5ec \uba4b\uc9c4 \uc571\uc744 \ub9cc\ub4e4\uc5b4 \ubcf4\ub294 \uc990\uac70\uc6c0\uc744 \ub290\uaef4\ubcf4\uc138\uc694!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Android \uc571 \uac1c\ubc1c\uc5d0\uc11c UI\ub97c \uad6c\uc131\ud558\ub294 \ubc29\ubc95\uc740 \uc5ec\ub7ec \uac00\uc9c0\uac00 \uc788\uc73c\uba70, \uadf8\uc911 \ud558\ub098\uac00 ConstraintLayout\uc785\ub2c8\ub2e4. ConstraintLayout\uc740 \ubcf5\uc7a1\ud55c UI \ub808\uc774\uc544\uc6c3\uc744 \uc27d\uac8c \uad6c\uc131\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc8fc\ub294 \uac15\ub825\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 ConstraintLayout\uc744 \uc0ac\uc6a9\ud558\ub294 \uc774\uc720\uc640 \uae30\ubcf8 \uac1c\ub150, \uadf8\ub9ac\uace0 \uc2e4\uc2b5\uc608\uc81c\ub97c \ud1b5\ud574 \uc2e4\uc81c\ub85c \uc5b4\ub5bb\uac8c \uc0ac\uc6a9\ud558\ub294\uc9c0\ub97c \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. ConstraintLayout \uc18c\uac1c ConstraintLayout\uc740 \ub2e4\uc591\ud55c View\ub97c \uc27d\uac8c \ubc30\uce58\ud560 \uc218 \uc788\uac8c \ud574\uc8fc\ub294 \ub808\uc774\uc544\uc6c3\uc785\ub2c8\ub2e4. \uc804\ud1b5\uc801\uc778 \ub808\uc774\uc544\uc6c3 \ubc29\uc2dd\uc5d0\uc11c\ub294 LinearLayout\uc774\ub098 RelativeLayout\uc744 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/30584\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uacc4\uce35 \uad6c\uc870\ub85c \ubc30\uce58 &#8211;  ConstraintLayout&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[36],"tags":[],"class_list":["post-30584","post","type-post","status-publish","format-standard","hentry","category-36"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uacc4\uce35 \uad6c\uc870\ub85c \ubc30\uce58 - ConstraintLayout - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/30584\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uacc4\uce35 \uad6c\uc870\ub85c \ubc30\uce58 - ConstraintLayout - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"Android \uc571 \uac1c\ubc1c\uc5d0\uc11c UI\ub97c \uad6c\uc131\ud558\ub294 \ubc29\ubc95\uc740 \uc5ec\ub7ec \uac00\uc9c0\uac00 \uc788\uc73c\uba70, \uadf8\uc911 \ud558\ub098\uac00 ConstraintLayout\uc785\ub2c8\ub2e4. ConstraintLayout\uc740 \ubcf5\uc7a1\ud55c UI \ub808\uc774\uc544\uc6c3\uc744 \uc27d\uac8c \uad6c\uc131\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc8fc\ub294 \uac15\ub825\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 ConstraintLayout\uc744 \uc0ac\uc6a9\ud558\ub294 \uc774\uc720\uc640 \uae30\ubcf8 \uac1c\ub150, \uadf8\ub9ac\uace0 \uc2e4\uc2b5\uc608\uc81c\ub97c \ud1b5\ud574 \uc2e4\uc81c\ub85c \uc5b4\ub5bb\uac8c \uc0ac\uc6a9\ud558\ub294\uc9c0\ub97c \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. ConstraintLayout \uc18c\uac1c ConstraintLayout\uc740 \ub2e4\uc591\ud55c View\ub97c \uc27d\uac8c \ubc30\uce58\ud560 \uc218 \uc788\uac8c \ud574\uc8fc\ub294 \ub808\uc774\uc544\uc6c3\uc785\ub2c8\ub2e4. \uc804\ud1b5\uc801\uc778 \ub808\uc774\uc544\uc6c3 \ubc29\uc2dd\uc5d0\uc11c\ub294 LinearLayout\uc774\ub098 RelativeLayout\uc744 &hellip; \ub354 \ubcf4\uae30 &quot;\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uacc4\uce35 \uad6c\uc870\ub85c \ubc30\uce58 &#8211; ConstraintLayout&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/30584\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-28T04:01:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:48:06+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/30584\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/30584\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uacc4\uce35 \uad6c\uc870\ub85c \ubc30\uce58 &#8211; ConstraintLayout\",\"datePublished\":\"2024-10-28T04:01:03+00:00\",\"dateModified\":\"2024-11-26T06:48:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/30584\/\"},\"wordCount\":74,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc\uc571 \uac1c\ubc1c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/30584\/\",\"url\":\"https:\/\/atmokpo.com\/w\/30584\/\",\"name\":\"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uacc4\uce35 \uad6c\uc870\ub85c \ubc30\uce58 - ConstraintLayout - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-28T04:01:03+00:00\",\"dateModified\":\"2024-11-26T06:48:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/30584\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/30584\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/30584\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uacc4\uce35 \uad6c\uc870\ub85c \ubc30\uce58 &#8211; ConstraintLayout\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uacc4\uce35 \uad6c\uc870\ub85c \ubc30\uce58 - ConstraintLayout - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/30584\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uacc4\uce35 \uad6c\uc870\ub85c \ubc30\uce58 - ConstraintLayout - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"Android \uc571 \uac1c\ubc1c\uc5d0\uc11c UI\ub97c \uad6c\uc131\ud558\ub294 \ubc29\ubc95\uc740 \uc5ec\ub7ec \uac00\uc9c0\uac00 \uc788\uc73c\uba70, \uadf8\uc911 \ud558\ub098\uac00 ConstraintLayout\uc785\ub2c8\ub2e4. ConstraintLayout\uc740 \ubcf5\uc7a1\ud55c UI \ub808\uc774\uc544\uc6c3\uc744 \uc27d\uac8c \uad6c\uc131\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc8fc\ub294 \uac15\ub825\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 ConstraintLayout\uc744 \uc0ac\uc6a9\ud558\ub294 \uc774\uc720\uc640 \uae30\ubcf8 \uac1c\ub150, \uadf8\ub9ac\uace0 \uc2e4\uc2b5\uc608\uc81c\ub97c \ud1b5\ud574 \uc2e4\uc81c\ub85c \uc5b4\ub5bb\uac8c \uc0ac\uc6a9\ud558\ub294\uc9c0\ub97c \uc790\uc138\ud788 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. ConstraintLayout \uc18c\uac1c ConstraintLayout\uc740 \ub2e4\uc591\ud55c View\ub97c \uc27d\uac8c \ubc30\uce58\ud560 \uc218 \uc788\uac8c \ud574\uc8fc\ub294 \ub808\uc774\uc544\uc6c3\uc785\ub2c8\ub2e4. \uc804\ud1b5\uc801\uc778 \ub808\uc774\uc544\uc6c3 \ubc29\uc2dd\uc5d0\uc11c\ub294 LinearLayout\uc774\ub098 RelativeLayout\uc744 &hellip; \ub354 \ubcf4\uae30 \"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uacc4\uce35 \uad6c\uc870\ub85c \ubc30\uce58 &#8211; ConstraintLayout\"","og_url":"https:\/\/atmokpo.com\/w\/30584\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-28T04:01:03+00:00","article_modified_time":"2024-11-26T06:48:06+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/30584\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/30584\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uacc4\uce35 \uad6c\uc870\ub85c \ubc30\uce58 &#8211; ConstraintLayout","datePublished":"2024-10-28T04:01:03+00:00","dateModified":"2024-11-26T06:48:06+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/30584\/"},"wordCount":74,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc\uc571 \uac1c\ubc1c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/30584\/","url":"https:\/\/atmokpo.com\/w\/30584\/","name":"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uacc4\uce35 \uad6c\uc870\ub85c \ubc30\uce58 - ConstraintLayout - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-28T04:01:03+00:00","dateModified":"2024-11-26T06:48:06+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/30584\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/30584\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/30584\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\uc790\ubc14 \uc548\ub4dc\ub85c\uc774\ub4dc \uc571\uac1c\ubc1c \uac15\uc88c, \uacc4\uce35 \uad6c\uc870\ub85c \ubc30\uce58 &#8211; ConstraintLayout"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/30584","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=30584"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/30584\/revisions"}],"predecessor-version":[{"id":30585,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/30584\/revisions\/30585"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=30584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=30584"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=30584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}