<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Nisan Kardem MEŞE on Medium]]></title>
        <description><![CDATA[Stories by Nisan Kardem MEŞE on Medium]]></description>
        <link>https://medium.com/@kardem33?source=rss-9b6f2f2c3330------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_ppbS-Zg4wLLZsDzT1Dtyw.jpeg</url>
            <title>Stories by Nisan Kardem MEŞE on Medium</title>
            <link>https://medium.com/@kardem33?source=rss-9b6f2f2c3330------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 15:54:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kardem33/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[JETPACK COMPOSE LAYOUT]]></title>
            <link>https://medium.com/ibtech/jetpack-compose-layout-2a0c7bec1bbe?source=rss-9b6f2f2c3330------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a0c7bec1bbe</guid>
            <dc:creator><![CDATA[Nisan Kardem MEŞE]]></dc:creator>
            <pubDate>Mon, 15 Aug 2022 10:55:39 GMT</pubDate>
            <atom:updated>2022-09-02T13:32:50.574Z</atom:updated>
            <content:encoded><![CDATA[<p>Merhaba,</p><p>Bu yazımda Layout’un ne olduğunu, Jetpack Compose Layout’un XML Layout’tan farkını ve nasıl kullanıldığını anlatacağım.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lOqo8f24TNf6HHo89Tuvig.png" /></figure><p>XML Layout ile projeler geliştirilirken nesnelerin istenilen yere konumlandırılması için ViewGroup ile extend edilmiş Layout kullanılır. Jetpack Compose’da ise Layout ile birlikte nesneleri içlerine konumlandırmak için Composable içerikler alan, Composable fonksiyonlar kullanılır.</p><p>Compose’da üç temel Layout vardır: Row, Column, Box.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qvVIrTf8PUVapQb9GH7qxQ.png" /></figure><h4>ROW</h4><p>Nesneler emulatörde yan yana görünsün istenilirse Row Layout’u kullanılır. Yani her eklenen nesne bir öncekinin yanında kendine yer bulur.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/737f558aa6a07730f6da99a0b9f5829e/href">https://medium.com/media/737f558aa6a07730f6da99a0b9f5829e/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/423/1*aG0jn0JDynx4krvonQBqRw.png" /></figure><blockquote><strong><em>İçerik Düzenlemesi</em></strong></blockquote><p>Satırdaki içeriğin yatay düzenlemesini ayarlamak için horizontalArrangement kullanılır.</p><p><strong>Arrangement.SpaceEvenly : </strong>Emulatörün solundan sıralamaya başlar.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fe2fe4297772c8ae4d19a5ce5e4f35e1/href">https://medium.com/media/fe2fe4297772c8ae4d19a5ce5e4f35e1/href</a></iframe><p><strong>Arrangement.Center : </strong>Emulatörün ortasından sıralamaya başlar.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/11ec92ae76b86f562cbff846d5ee71a7/href">https://medium.com/media/11ec92ae76b86f562cbff846d5ee71a7/href</a></iframe><p><strong>Arrangement.End : </strong>Emulatörün sağından sıralamaya başlar.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/706fb06b08c832712d864b891d9e76c8/href">https://medium.com/media/706fb06b08c832712d864b891d9e76c8/href</a></iframe><p>Row Layout’u XML’ de LinearLayout’a karşılık gelir.</p><h4>COLUMN</h4><p>Nesneler emulatörde alt alta görünsün istenilirse Column Layout’u kullanılır. Yani her eklenen nesne bir öncekinin altında kendine yer bulur.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e7f6982b6aa662682d909fa70fb987e5/href">https://medium.com/media/e7f6982b6aa662682d909fa70fb987e5/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*BVmxBYnRlKNwxQVxrSFyrw.png" /></figure><blockquote><strong>İçerik Düzenlemesi</strong></blockquote><p>Sütundaki içeriğin yatay düzenlemesini ayarlamak için horizontalAlignment kullanılır.</p><p><strong>Alignment.Start : </strong>Emulatörün üstünden sıralamaya başlar.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0590309bc57cf4ea801d3c11baae8e1a/href">https://medium.com/media/0590309bc57cf4ea801d3c11baae8e1a/href</a></iframe><p><strong>Alignment.CenterHorizontally : </strong>Emulatörün ortasından sıralamaya başlar.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/47161f8997bfb8c308c676affdb0238d/href">https://medium.com/media/47161f8997bfb8c308c676affdb0238d/href</a></iframe><p><strong>Alignment.End : </strong>Emulatörün altından sıralamaya başlar.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e905682055b3ce3f9033b6f400e942fd/href">https://medium.com/media/e905682055b3ce3f9033b6f400e942fd/href</a></iframe><p>Sütundaki içeriğin dikey düzenlemesini ayarlamak için verticalArrangement kullanılır.</p><p><strong>Arrangement.Top : </strong>Emulatörün üstünden sıralamaya başlar.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6ef4952a24e7f1cb4a0db292114e07a9/href">https://medium.com/media/6ef4952a24e7f1cb4a0db292114e07a9/href</a></iframe><p><strong>Arrangement.Center : </strong>Emulatörün ortasından sıralamaya başlar.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/43a48c7a0d8275ab56391fe44b0495ae/href">https://medium.com/media/43a48c7a0d8275ab56391fe44b0495ae/href</a></iframe><p><strong>Arrangement.Bottom : </strong>Emulatörün altından sıralamaya başlar.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6853058086e5f40246e8152c51d0fd00/href">https://medium.com/media/6853058086e5f40246e8152c51d0fd00/href</a></iframe><p>Column Layout’u XML’de dikey yönlendirmeli LinearLayout’a karşılık gelir.</p><h4>BOX</h4><p>Nesneler yan yana veya alt alta sıralanmak istenilmezse, örneğin öne arkaya, iç içe vb. gibi karışık sıralanmak istenilirse Box Layout’u kullanılır. Box bu beceriyi Alignment kullanarak gerçekleştirir.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0699a92e4305ae2888c784bba1fbcc1c/href">https://medium.com/media/0699a92e4305ae2888c784bba1fbcc1c/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/423/1*32mgYN0cMcbXzyd9ZTwcLw.png" /></figure><p>Box Layout’u XML’de FrameLayout’a karşılık gelir.</p><h4>LAYOUTLAR’IN KARIŞIK KULLANILMASI</h4><p>Bir Layout başka bir Layout içinde konumlandırıldığında bu iç içe bir Layout oluşturur ve istenilen görünüm elde edilebilir.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/273a8cc5c97714f179fd6234ee49084b/href">https://medium.com/media/273a8cc5c97714f179fd6234ee49084b/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/623/1*CbdJfjSvdzgsqZwuYrExyA.png" /></figure><p>Bu örnek koddan anlaşılacağı üzere;</p><p>Aslında tüm renkler Row ve Box Layout’u kullanılarak yan yana sıralanmış. Fakat bu Layout’un içinde de Column Layout’u kullanılmış, mavi ve sarı renk alt alta gelecek şekilde birbirine bağlanmış. Bu yüzden sarı renk diğerlerinin altında görünmüş.</p><p>Yazım burada sona eriyor, başka yazılarda görüşmek üzere. Umarım faydalı olmuştur.</p><p>Okuduğunuz için teşekkürler!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a0c7bec1bbe" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ibtech/jetpack-compose-layout-2a0c7bec1bbe">JETPACK COMPOSE LAYOUT</a> was originally published in <a href="https://medium.com/ibtech">IBTech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>