{"id":2177,"date":"2025-01-24T09:58:08","date_gmt":"2025-01-24T07:58:08","guid":{"rendered":"https:\/\/epicmarketing.co.il\/notebook\/?p=2177"},"modified":"2025-01-26T15:17:04","modified_gmt":"2025-01-26T13:17:04","slug":"dynamic-user-interfaces","status":"publish","type":"post","link":"https:\/\/epicmarketing.co.il\/notebook\/dynamic-user-interfaces\/","title":{"rendered":"Dynamic User Interfaces"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u05e8\u05d0\u05d9\u05e0\u05d5 \u05d0\u05d9\u05da <a href=\"https:\/\/epicmarketing.co.il\/notebook\/react-native-layout\/\">\u05dc\u05e2\u05e6\u05d1 \u05d0\u05ea \u05d4\u05de\u05e1\u05da \u05e2\u05dd flexbox<\/a>. \u05d9\u05e9 \u05d1\u05e2\u05d9\u05d4 \u05d0\u05d7\u05ea, \u05d0\u05e0\u05d7\u05e0\u05d5 \u05de\u05d1\u05e6\u05e2\u05d9\u05dd \u05d0\u05ea \u05d4\u05e2\u05d9\u05e6\u05d5\u05d1 \u05d5\u05e8\u05d5\u05d0\u05d9\u05dd \u05d0\u05d5\u05ea\u05d5 \u05d1\u05de\u05db\u05e9\u05d9\u05e8 \u05dc\u05d3\u05d5\u05d2\u05de\u05d0, \u05dc\u05d0 \u05db\u05dc \u05d4\u05de\u05db\u05e9\u05d9\u05e8\u05d9\u05dd \u05d6\u05d4\u05d9\u05dd \u05d5\u05d9\u05e6\u05d9\u05d2\u05d5 \u05d0\u05ea \u05d4\u05de\u05e1\u05da \u05d1\u05d0\u05d5\u05ea\u05d4 \u05d4\u05e6\u05d5\u05e8\u05d4. \u05d4\u05de\u05e1\u05db\u05d9\u05dd \u05d9\u05db\u05d5\u05dc\u05d9\u05dd \u05dc\u05d4\u05d9\u05d5\u05ea \u05d2\u05d3\u05d5\u05dc\u05d9\u05dd \u05d0\u05d5 \u05e7\u05d8\u05e0\u05d9\u05dd \u05d9\u05d5\u05ea\u05e8 \u05d5\u05e8\u05d5\u05e6\u05d9\u05dd \u05dc\u05d9\u05e6\u05d5\u05e8 \u05e2\u05d9\u05e6\u05d5\u05d1 \u05e8\u05e1\u05e4\u05d5\u05e0\u05e1\u05d9\u05d1\u05d9.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d2\u05dd \u05d1\u05d0\u05d5\u05ea\u05d5 \u05d4\u05de\u05db\u05e9\u05d9\u05e8, \u05de\u05e9\u05ea\u05de\u05e9 \u05d9\u05db\u05d5\u05dc \u05dc\u05e1\u05d5\u05d1\u05d1 \u05d0\u05ea \u05d4\u05de\u05db\u05e9\u05d9\u05e8 \u05d5\u05dc\u05e6\u05e4\u05d5\u05ea \u05d1\u05ea\u05d5\u05db\u05df \u05e2\u05dd \u05de\u05db\u05e9\u05d9\u05e8 \u05de\u05d0\u05d5\u05e0\u05da \u05d0\u05d5 \u05de\u05d0\u05d5\u05d6\u05df.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Dimensions API<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05ea\u05d7\u05d9\u05dc \u05e2\u05dd \u05e7\u05d5\u05d3 \u05e4\u05e9\u05d5\u05d8 \u05e9\u05dc \u05e7\u05d5\u05e4\u05e1\u05d0 \u05db\u05d7\u05d5\u05dc\u05d4 \u05e2\u05dc \u05e8\u05e7\u05e2 \u05e1\u05d2\u05d5\u05dc.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nexport default function Index() {\n  return (\n    &lt;View style={styles.container}&gt;\n      &lt;View style={styles.box}&gt;\n        &lt;Text style={styles.text}&gt;Welcome!&lt;\/Text&gt;\n      &lt;\/View&gt;\n    &lt;\/View&gt;\n  );\n}\n\nconst styles = StyleSheet.create({\n  container:{ \n    flex: 1,\n    backgroundColor: &quot;purple&quot;,\n    alignItems: &quot;center&quot;,\n    justifyContent: &quot;center&quot;\n  },\n\n  box:{\n    width: 300,\n    height: 300,\n    backgroundColor: &quot;lightblue&quot;,\n    alignItems: &quot;center&quot;,\n    justifyContent: &quot;center&quot;\n  },\n\n  text:{\n    fontSize: 24\n  }\n}) \n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05db\u05db\u05d4 \u05d6\u05d4 \u05e0\u05e8\u05d0\u05d4:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"354\" height=\"759\" src=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/01\/Screenshot-2025-01-24-093116.png\" alt=\"\" class=\"wp-image-2179\" style=\"width:215px;height:auto\" srcset=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/01\/Screenshot-2025-01-24-093116.png 354w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/01\/Screenshot-2025-01-24-093116-140x300.png 140w\" sizes=\"(max-width: 354px) 100vw, 354px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05dd \u05e0\u05e1\u05ea\u05db\u05dc \u05e2\u05dc \u05ea\u05e6\u05d5\u05d2\u05d4 \u05e9\u05dc iPad, \u05d6\u05d4 \u05d9\u05e8\u05d0\u05d4 \u05db\u05db\u05d4:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" width=\"561\" height=\"750\" src=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/01\/Screenshot-2025-01-24-093348.png\" alt=\"\" class=\"wp-image-2180\" style=\"width:443px;height:auto\" srcset=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/01\/Screenshot-2025-01-24-093348.png 561w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/01\/Screenshot-2025-01-24-093348-224x300.png 224w\" sizes=\"(max-width: 561px) 100vw, 561px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05e4\u05d5\u05e0\u05d8 \u05e7\u05d8\u05df \u05d5\u05d4\u05e7\u05d5\u05e4\u05e1\u05d0 \u05d4\u05e4\u05e0\u05d9\u05de\u05d9\u05ea \u05e9\u05dc \u05de\u05d5\u05ea\u05d0\u05de\u05ea.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1\u05d0\u05d7\u05d5\u05d6\u05d9\u05dd:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; highlight: [2,3]; title: ; notranslate\" title=\"\">\nbox:{\n    width: &quot;70%&quot;,\n    height: &quot;40%&quot;,\n    backgroundColor: &quot;lightblue&quot;,\n    alignItems: &quot;center&quot;,\n    justifyContent: &quot;center&quot;\n},\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05d1\u05dc \u05d4\u05d1\u05e2\u05d9\u05d4 \u05d4\u05d9\u05d0 \u05e9\u05d4\u05de\u05e1\u05db\u05d9\u05dd \u05dc\u05d0 \u05d2\u05d3\u05dc\u05d9\u05dd \u05d1\u05d0\u05d5\u05ea\u05d5 \u05d4\u05d9\u05d7\u05e1 \u05d1\u05d9\u05df \u05d4\u05e8\u05d5\u05d7\u05d1 \u05dc\u05d2\u05d5\u05d1\u05d4, \u05d5\u05dc\u05db\u05df \u05d4\u05ea\u05e6\u05d5\u05d2\u05d4 \u05e2\u05d3\u05d9\u05d9\u05df \u05dc\u05d0 \u05de\u05ea\u05d0\u05d9\u05de\u05d4. \u05d5\u05d9\u05e9 \u05d2\u05dd \u05d0\u05ea \u05d4\u05e2\u05e0\u05d9\u05d9\u05df \u05e9\u05dc \u05d2\u05d5\u05d3\u05dc \u05d4\u05e4\u05d5\u05e0\u05d8. \u05d1\u05e9\u05d1\u05d9\u05dc \u05d6\u05d4 \u05e0\u05e9\u05ea\u05de\u05e9 \u05d1-Dimensions API.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d9\u05d9\u05d1\u05d0 \u05d0\u05ea Dimensions \u05dc\u05ea\u05d5\u05db\u05e0\u05d9\u05ea \u05d5\u05e0\u05e7\u05d1\u05dc \u05d0\u05ea \u05d4\u05d2\u05d5\u05d3\u05dc \u05e9\u05dc \u05d4\u05d7\u05dc\u05d5\u05df. \u05e0\u05e9\u05ea\u05de\u05e9 \u05d1\u05de\u05d9\u05d3\u05d5\u05ea \u05d4\u05d0\u05dc\u05d4 \u05dc\u05e7\u05d1\u05d5\u05e2 \u05d3\u05d9\u05e0\u05de\u05d9\u05ea \u05d0\u05ea \u05d4\u05d2\u05d5\u05d3\u05dc \u05e9\u05dc \u05d4\u05e8\u05db\u05d9\u05d1\u05d9\u05dd \u05d1\u05d7\u05dc\u05d5\u05df.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; highlight: [1,13,14,25,26,33]; title: ; notranslate\" title=\"\">\nimport { View, StyleSheet, Text, Dimensions } from &quot;react-native&quot;;\n\nexport default function Index() {\n  return (\n    &lt;View style={styles.container}&gt;\n      &lt;View style={styles.box}&gt;\n        &lt;Text style={styles.text}&gt;Welcome!&lt;\/Text&gt;\n      &lt;\/View&gt;\n    &lt;\/View&gt;\n  );\n}\n\nconst windowWidth = Dimensions.get(&quot;window&quot;).width;\nconst windowHeight = Dimensions.get(&quot;window&quot;).height;\n\nconst styles = StyleSheet.create({\n  container:{ \n    flex: 1,\n    backgroundColor: &quot;purple&quot;,\n    alignItems: &quot;center&quot;,\n    justifyContent: &quot;center&quot;\n  },\n\n  box:{\n    width: windowWidth &gt; 500 ? &quot;70%&quot; : &quot;90%&quot;,\n    height: windowHeight &gt; 600 ? &quot;60%&quot; : &quot;90%&quot;,\n    backgroundColor: &quot;lightblue&quot;,\n    alignItems: &quot;center&quot;,\n    justifyContent: &quot;center&quot;\n  },\n\n  text:{\n    fontSize: windowWidth &gt; 500 ? 50 : 24\n  }\n}) \n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Dimensions API Drawback<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05e4\u05ea\u05e8\u05d5\u05df \u05e9\u05dc \u05e9\u05d9\u05de\u05d5\u05e9 \u05d1-Dimensions \u05dc\u05d0 \u05de\u05d5\u05de\u05dc\u05e5 \u05de\u05db\u05d9\u05d5\u05d5\u05df \u05e9\u05d9\u05e9 \u05d0\u05d9\u05ea\u05d5 \u05d1\u05e2\u05d9\u05d4. \u05d0\u05dd \u05de\u05e9\u05e0\u05d9\u05dd \u05d0\u05ea \u05d4\u05db\u05d9\u05d5\u05d5\u05df \u05e9\u05dc \u05d4\u05de\u05e1\u05da, Dimensions \u05dc\u05d0 \u05de\u05ea\u05e2\u05d3\u05db\u05df \u05d5\u05dc\u05d0 \u05de\u05e9\u05e0\u05d4 \u05d0\u05ea \u05d2\u05d5\u05d3\u05dc \u05d4\u05e8\u05db\u05d9\u05d1\u05d9\u05dd \u05d1\u05d4\u05ea\u05d0\u05dd.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d1\u05e7\u05d5\u05d1\u05e5 app.json \u05d9\u05e9 \u05d4\u05d2\u05d3\u05e8\u05d4 \u05e9\u05dc:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n&quot;orientation&quot;: &quot;portrait&quot;,\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05db\u05d3\u05d9 \u05e9\u05ea\u05d5\u05db\u05df \u05d4\u05de\u05e1\u05da \u05d9\u05e9\u05ea\u05e0\u05d4 \u05e2\u05dd \u05d4\u05e1\u05d9\u05d1\u05d5\u05d1, \u05e6\u05e8\u05d9\u05da \u05dc\u05e2\u05d3\u05db\u05df \u05d0\u05ea \u05d4\u05e2\u05e8\u05da \u05dc-default.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05db\u05d3\u05d9 \u05dc\u05d4\u05ea\u05de\u05d5\u05d3\u05d3 \u05e2\u05dd \u05d4\u05e1\u05d9\u05d1\u05d5\u05d1 \u05e9\u05dc \u05d4\u05de\u05e1\u05da, \u05e0\u05ea\u05d7\u05d9\u05dc \u05d1\u05d9\u05d9\u05d1\u05d5\u05d0 \u05e9\u05dc useState \u05d5-useEffect.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nimport { useState, useEffect } from &quot;react&quot;;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d9\u05e6\u05d5\u05e8 \u05d0\u05d5\u05d1\u05d9\u05d9\u05e7\u05d8 states \u05e9\u05d9\u05d0\u05d7\u05e1\u05df \u05d0\u05ea \u05d2\u05d5\u05d3\u05dc \u05d4\u05de\u05e1\u05da. \u05d0\u05d7\u05e8 \u05db\u05da \u05e0\u05d9\u05e6\u05d5\u05e8 \u05de\u05e9\u05ea\u05e0\u05d4 \u05e9\u05de\u05d0\u05d6\u05d9\u05df \u05dc\u05e9\u05d9\u05e0\u05d5\u05d9 \u05d1\u05d2\u05d3\u05dc\u05d9\u05dd.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nconst &#x5B;dimensions, setDimensions] = useState({\n  window: Dimensions.get(&quot;window&quot;)\n})\n\nuseEffect(() =&gt; {\n  const subscription = Dimensions.addEventListener(&quot;change&quot;, ({window}) =&gt; {\n    setDimensions({window});\n  })\n  return () =&gt; subscription?.remove();\n})\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d0\u05d7\u05e1\u05df \u05d0\u05ea \u05d4\u05d2\u05d3\u05dc\u05d9\u05dd \u05e9\u05d4\u05d5\u05e6\u05d0\u05e0\u05d5:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nconst { window } = dimensions;\nconst windowWidth = window.width;\nconst windowHeight = window.height;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d5\u05e0\u05e9\u05ea\u05de\u05e9 \u05d1\u05d4\u05dd \u05d1\u05e2\u05d9\u05e6\u05d5\u05d1. \u05db\u05db\u05d4 \u05e0\u05e8\u05d0\u05d4 \u05d4\u05e7\u05d5\u05d3 \u05d4\u05e9\u05dc\u05dd:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nimport { useState, useEffect } from &quot;react&quot;;\nimport { View, StyleSheet, Text, Dimensions } from &quot;react-native&quot;;\n\nexport default function Index() {\n  const &#x5B;dimensions, setDimensions] = useState({\n    window: Dimensions.get(&quot;window&quot;)\n  })\n\n  useEffect(() =&gt; {\n    const subscription = Dimensions.addEventListener(&quot;change&quot;, ({window}) =&gt; {\n      setDimensions({window});\n    })\n    return () =&gt; subscription?.remove();\n  })\n\n  const { window } = dimensions;\n  const windowWidth = window.width;\n  const windowHeight = window.height;\n\n  return (\n    &lt;View style={styles.container}&gt;\n      &lt;View style={&#x5B;\n        styles.box, {\n            width: windowWidth &gt; 500 ? &quot;70%&quot; : &quot;90%&quot;,\n            height: windowHeight &gt; 600 ? &quot;60%&quot; : &quot;90%&quot;\n          }\n        ]}&gt;\n        &lt;Text style={{fontSize: windowWidth &gt; 500 ? 50 : 24}}&gt;Welcome!&lt;\/Text&gt;\n      &lt;\/View&gt;\n    &lt;\/View&gt;\n  );\n}\n\nconst styles = StyleSheet.create({\n  container:{ \n    flex: 1,\n    backgroundColor: &quot;purple&quot;,\n    alignItems: &quot;center&quot;,\n    justifyContent: &quot;center&quot;\n  },\n\n  box:{\n    backgroundColor: &quot;lightblue&quot;,\n    alignItems: &quot;center&quot;,\n    justifyContent: &quot;center&quot;\n  },\n}) \n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e2\u05db\u05e9\u05d9\u05d5 \u05d9\u05e9 \u05e9\u05d9\u05e0\u05d5\u05d9 \u05d3\u05d9\u05e0\u05de\u05d9 \u05e9\u05dc \u05d4\u05d2\u05d3\u05dc\u05d9\u05dd, \u05d0\u05d1\u05dc \u05d4\u05e7\u05d5\u05d3 \u05e7\u05e6\u05ea \u05e2\u05de\u05d5\u05e1. \u05d9\u05e9 \u05d3\u05e8\u05da \u05e4\u05e9\u05d5\u05d8\u05d4 \u05d9\u05d5\u05ea\u05e8 \u05dc\u05d4\u05e9\u05d9\u05d2 \u05d0\u05ea \u05d4\u05de\u05d8\u05e8\u05d4.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">useWindowDimensions<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d9\u05d9\u05d1\u05d0 \u05d0\u05ea \u05e1\u05d9\u05e4\u05e8\u05d9\u05d9\u05ea useWindowDimensions \u05de\u05ea\u05d5\u05da react-native \u05d5\u05d0\u05ea\u05d7\u05dc \u05d0\u05ea \u05d4\u05d2\u05d3\u05dc\u05d9\u05dd \u05de\u05ea\u05d5\u05da \u05d4\u05e1\u05e4\u05e8\u05d9\u05d9\u05d4.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nimport { View, StyleSheet, Text, useWindowDimensions } from &quot;react-native&quot;;\n\nexport default function Index() { \n  const windowWidth = useWindowDimensions().width\n  const windowHeight = useWindowDimensions().height\n  ...\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d6\u05d0\u05ea \u05d4\u05d2\u05d9\u05e9\u05d4 \u05d4\u05de\u05d4\u05d9\u05e8\u05d4 \u05d5\u05d4\u05de\u05d5\u05de\u05dc\u05e6\u05ea.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">SafeAreaView<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05ea\u05d7\u05d9\u05dc \u05e2\u05dd \u05d4\u05e6\u05d2\u05d4 \u05e9\u05dc \u05d4\u05de\u05d9\u05dc\u05d4 welcome \u05d1\u05e8\u05d0\u05e9 \u05d4\u05de\u05e1\u05da.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nimport { View, StyleSheet, Text } from &quot;react-native&quot;;\n\nexport default function Index() { \n  return (\n    &lt;View style={styles.container}&gt;\n      &lt;View style={ styles.box }&gt;\n        &lt;Text style={ styles.text }&gt;Welcome!&lt;\/Text&gt;\n      &lt;\/View&gt;\n    &lt;\/View&gt;\n  );\n}\n\nconst styles = StyleSheet.create({\n  container:{ \n    flex: 1,\n    backgroundColor: &quot;lightblue&quot;,\n  },\n\n  box:{\n    padding: 20,\n  },\n\n  text: {\n    fontSize: 24,\n    fontWeight: &quot;bold&quot;,\n    textAlign: &quot;center&quot;\n  }\n}) \n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05d1\u05e2\u05d9\u05d4 \u05d4\u05d9\u05d0, \u05e9\u05d1\u05d2\u05dc\u05dc \u05e9\u05d4\u05d8\u05e7\u05e1\u05d8 \u05de\u05d5\u05e6\u05d2 \u05dc\u05de\u05e2\u05dc\u05d4, \u05d1\u05d7\u05dc\u05e7 \u05de\u05d4\u05de\u05e1\u05db\u05d9\u05dd \u05dc\u05d0 \u05d9\u05e8\u05d0\u05d5 \u05d0\u05d5\u05ea\u05d5 \u05db\u05d9 \u05d4\u05d5\u05d0 \u05d9\u05d4\u05d9\u05d4 \u05de\u05ea\u05d7\u05ea \u05dc\u05e8\u05db\u05d9\u05d1\u05d9\u05dd \u05e9\u05e0\u05de\u05e6\u05d0\u05d9\u05dd \u05d1\u05e8\u05d0\u05e9 \u05d4\u05de\u05e9\u05da \u05db\u05de\u05d5 \u05e2\u05d3\u05e9\u05d4 \u05e9\u05dc \u05de\u05e6\u05dc\u05de\u05d4. \u05d0\u05dd \u05e0\u05d5\u05e1\u05d9\u05e3 \u05e8\u05d5\u05d5\u05d7 \u05dc\u05de\u05e2\u05dc\u05d4, \u05e0\u05e8\u05d0\u05d4 \u05d0\u05ea \u05d4\u05d8\u05e7\u05e1\u05d8, \u05d0\u05d1\u05dc \u05d0\u05d6 \u05d4\u05d5\u05d0 \u05d9\u05d4\u05d9\u05d4 \u05e0\u05de\u05d5\u05da \u05de\u05d9\u05d3\u05d9 \u05e2\u05dd \u05e8\u05d5\u05d5\u05d7 \u05de\u05d9\u05d5\u05ea\u05e8 \u05d1\u05d7\u05dc\u05e7 \u05de\u05d4\u05de\u05e1\u05db\u05d9\u05dd.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e0\u05d7\u05e0\u05d5 \u05e8\u05d5\u05e6\u05d9\u05dd \u05dc\u05d4\u05d1\u05d9\u05df \u05de\u05d4 \u05d4\u05e9\u05d8\u05d7 \u05d4\u05d1\u05d8\u05d5\u05d7 \u05e9\u05dc \u05d4\u05de\u05e1\u05da \u05e9\u05d1\u05d5 \u05e0\u05e6\u05d9\u05d2 \u05d0\u05ea \u05d4\u05ea\u05d5\u05db\u05df.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d9\u05d9\u05d1\u05d0 \u05d0\u05ea SafeAreaView \u05de\u05ea\u05d5\u05da react-native \u05d5\u05e0\u05e2\u05d8\u05d5\u05e3 \u05d0\u05ea \u05db\u05dc \u05d4\u05ea\u05d5\u05db\u05df \u05d1\u05e8\u05db\u05d9\u05d1.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; highlight: [1,5,11]; title: ; notranslate\" title=\"\">\nimport { View, StyleSheet, Text, SafeAreaView } from &quot;react-native&quot;;\n\nexport default function Index() { \n  return (\n    &lt;SafeAreaView style={styles.safeContainer}&gt;\n      &lt;View style={styles.container}&gt;\n        &lt;View style={ styles.box }&gt;\n          &lt;Text style={ styles.text }&gt;Welcome!&lt;\/Text&gt;\n        &lt;\/View&gt;\n      &lt;\/View&gt;\n    &lt;\/SafeAreaView&gt;\n  );\n}\n\nconst styles = StyleSheet.create({\n  safeContainer: {\n    flex: 1\n  },\n  ...\n})\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05ea\u05d5\u05db\u05df \u05d9\u05d5\u05e6\u05d2 \u05e2\u05dc \u05d9\u05d3\u05d9 SafeAreaView \u05dc\u05e4\u05d9 \u05de\u05e7\u05d5\u05dd \u05d4\u05ea\u05e6\u05d5\u05d2\u05d4 \u05d4\u05d0\u05e4\u05e9\u05e8\u05d9 \u05d1\u05de\u05e1\u05da. \u05db\u05d3\u05d9 \u05dc\u05d4\u05de\u05e0\u05d9 \u05de\u05de\u05e1\u05d2\u05e8\u05ea \u05dc\u05d1\u05e0\u05d4 \u05de\u05e1\u05d1\u05d9\u05d1 \u05dc\u05ea\u05d5\u05db\u05df, \u05d0\u05e4\u05e9\u05e8 \u05dc\u05e9\u05d9\u05dd \u05d0\u05ea \u05e6\u05d1\u05e2 \u05d4\u05e8\u05e7\u05e2 \u05e9\u05dc \u05d4\u05de\u05e1\u05da \u05d2\u05dd \u05d1-safeContainer.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Platform Specific Code<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e0\u05d7\u05e0\u05d5 \u05de\u05e9\u05ea\u05de\u05e9\u05d9\u05dd \u05d1\u05e7\u05d5\u05d3 \u05e9\u05d8\u05d5\u05d1 \u05dc\u05db\u05dc \u05d4\u05e4\u05dc\u05d8\u05e4\u05d5\u05e8\u05de\u05d5\u05ea, \u05d0\u05d1\u05dc \u05d9\u05e9 \u05de\u05e7\u05e8\u05d9\u05dd \u05e9\u05d1\u05d4\u05dd \u05e0\u05e8\u05e6\u05d4 \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1\u05e7\u05d5\u05d3 \u05e1\u05e4\u05e6\u05d9\u05e4\u05d9 \u05dc\u05de\u05e2\u05e8\u05db\u05ea \u05de\u05e1\u05d5\u05d9\u05d9\u05de\u05ea.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Platform Module<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e1\u05e4\u05e8\u05d9\u05d9\u05ea Platform \u05de\u05d0\u05ea\u05e8\u05ea \u05d0\u05ea \u05d4\u05e4\u05dc\u05d8\u05e4\u05d5\u05e8\u05de\u05d4 \u05e9\u05d1\u05d4 \u05de\u05e9\u05ea\u05de\u05e9\u05d9\u05dd.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05dc\u05e9\u05d9\u05de\u05d5\u05e9 \u05d1\u05e7\u05d5\u05d3 \u05e1\u05e4\u05e6\u05d9\u05e4\u05d9 \u05dc\u05e1\u05e4\u05e8\u05d9\u05d9\u05d4, \u05e0\u05d6\u05d4\u05d4 \u05d0\u05ea \u05d4\u05de\u05e2\u05e8\u05db\u05ea \u05d5\u05e0\u05ea\u05e0\u05d4 \u05d0\u05ea \u05d4\u05e7\u05d5\u05d3.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nmarginTop: Platform.OS === &quot;android&quot; ? 25 : 0,\nmarginTop: Platform.OS === &quot;ios&quot; ? 30 : 0\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05e9\u05d9\u05de\u05d5\u05e9 \u05de\u05ea\u05d0\u05d9\u05dd \u05dc\u05e9\u05d9\u05e0\u05d5\u05d9\u05d9\u05dd \u05e7\u05d8\u05e0\u05d9\u05dd. \u05d0\u05dd \u05d9\u05e9 \u05e9\u05d9\u05e0\u05d5\u05d9 \u05d2\u05d3\u05d5\u05dc \u05d9\u05d5\u05ea\u05e8 \u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1\u05d3\u05e8\u05da \u05d4\u05d6\u05d0\u05ea:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\ntext: {\n    ...Platform.select({\n      ios: {\n        color: &quot;white&quot;,\n        fontSise: 30\n      },\n      android: {\n        color: &quot;red&quot;,\n        fontSise: 12\n      }\n    }),\n    fontWeight: &quot;bold&quot;,\n    textAlign: &quot;center&quot;\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05dc\u05de\u05d1\u05e0\u05d9\u05dd \u05de\u05d5\u05e8\u05db\u05d1\u05d9\u05dd \u05d9\u05d5\u05ea\u05e8, \u05d1\u05d4\u05dd \u05d9\u05e9 \u05d4\u05e8\u05d1\u05d4 \u05d4\u05d1\u05d3\u05dc\u05d9\u05dd \u05d1\u05d9\u05df \u05d4\u05e4\u05dc\u05d8\u05e4\u05d5\u05e8\u05de\u05d5\u05ea, \u05db\u05d3\u05d0\u05d9 \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1\u05e7\u05d1\u05e6\u05d9\u05dd \u05e9\u05d5\u05e0\u05d9\u05dd \u05dc\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d5\u05ea.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e7\u05d5\u05d1\u05e5 \u05dc-IOS \u05d9\u05d4\u05d9\u05d4 \u05d1\u05e9\u05dd: CustomComp.ios.js \u05d5\u05e7\u05d5\u05d1\u05e5 CustomComp.andriod.js \u05dc\u05d0\u05e0\u05d3\u05e8\u05d5\u05d0\u05d9\u05d3.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d9\u05d9\u05d1\u05d0 \u05d0\u05ea \u05d4\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05d4\u05de\u05ea\u05d5\u05d0\u05de\u05ea \u05de\u05ea\u05d5\u05da \u05d4\u05ea\u05d9\u05e7\u05d9\u05d9\u05d4 \u05e9\u05de\u05db\u05d9\u05dc\u05d4 \u05d0\u05ea \u05e9\u05e0\u05d9 \u05d4\u05e7\u05d1\u05e6\u05d9\u05dd:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nimport CustomComp from &#039;.\/components\/CustomComp\/CustomComp&#039;\n\nexport default function Index() { \n  ...\n  &lt;CustomComp&gt;&lt;\/CustomComp&gt;\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">react \u05d9\u05d1\u05d7\u05e8 \u05d0\u05ea \u05d4\u05e7\u05d5\u05d1\u05e5 \u05d4\u05de\u05ea\u05d0\u05d9\u05dd \u05dc\u05e4\u05dc\u05d8\u05e4\u05d5\u05e8\u05de\u05d4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u05e8\u05d0\u05d9\u05e0\u05d5 \u05d0\u05d9\u05da \u05dc\u05e2\u05e6\u05d1 \u05d0\u05ea \u05d4\u05de\u05e1\u05da \u05e2\u05dd flexbox. \u05d9\u05e9 \u05d1\u05e2\u05d9\u05d4 \u05d0\u05d7\u05ea, \u05d0\u05e0\u05d7\u05e0\u05d5 \u05de\u05d1\u05e6\u05e2\u05d9\u05dd \u05d0\u05ea \u05d4\u05e2\u05d9\u05e6\u05d5\u05d1 \u05d5\u05e8\u05d5\u05d0\u05d9\u05dd \u05d0\u05d5\u05ea\u05d5 \u05d1\u05de\u05db\u05e9\u05d9\u05e8 \u05dc\u05d3\u05d5\u05d2\u05de\u05d0, \u05dc\u05d0 \u05db\u05dc \u05d4\u05de\u05db\u05e9\u05d9\u05e8\u05d9\u05dd \u05d6\u05d4\u05d9\u05dd \u05d5\u05d9\u05e6\u05d9\u05d2\u05d5 \u05d0\u05ea \u05d4\u05de\u05e1\u05da \u05d1\u05d0\u05d5\u05ea\u05d4 \u05d4\u05e6\u05d5\u05e8\u05d4. \u05d4\u05de\u05e1\u05db\u05d9\u05dd \u05d9\u05db\u05d5\u05dc\u05d9\u05dd \u05dc\u05d4\u05d9\u05d5\u05ea \u05d2\u05d3\u05d5\u05dc\u05d9\u05dd \u05d0\u05d5 \u05e7\u05d8\u05e0\u05d9\u05dd \u05d9\u05d5\u05ea\u05e8 \u05d5\u05e8\u05d5\u05e6\u05d9\u05dd \u05dc\u05d9\u05e6\u05d5\u05e8 \u05e2\u05d9\u05e6\u05d5\u05d1 \u05e8\u05e1\u05e4\u05d5\u05e0\u05e1\u05d9\u05d1\u05d9. \u05d2\u05dd \u05d1\u05d0\u05d5\u05ea\u05d5 \u05d4\u05de\u05db\u05e9\u05d9\u05e8, \u05de\u05e9\u05ea\u05de\u05e9 \u05d9\u05db\u05d5\u05dc \u05dc\u05e1\u05d5\u05d1\u05d1 \u05d0\u05ea \u05d4\u05de\u05db\u05e9\u05d9\u05e8 \u05d5\u05dc\u05e6\u05e4\u05d5\u05ea \u05d1\u05ea\u05d5\u05db\u05df \u05e2\u05dd \u05de\u05db\u05e9\u05d9\u05e8 \u05de\u05d0\u05d5\u05e0\u05da \u05d0\u05d5 \u05de\u05d0\u05d5\u05d6\u05df. Dimensions API [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","_jetpack_memberships_contains_paid_content":false,"ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[80],"tags":[],"class_list":["post-2177","post","type-post","status-publish","format-standard","hentry","category-react-native","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Dynamic User Interfaces - Code Notebook<\/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:\/\/epicmarketing.co.il\/notebook\/dynamic-user-interfaces\/\" \/>\n<meta property=\"og:locale\" content=\"he_IL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Dynamic User Interfaces - Code Notebook\" \/>\n<meta property=\"og:description\" content=\"\u05e8\u05d0\u05d9\u05e0\u05d5 \u05d0\u05d9\u05da \u05dc\u05e2\u05e6\u05d1 \u05d0\u05ea \u05d4\u05de\u05e1\u05da \u05e2\u05dd flexbox. \u05d9\u05e9 \u05d1\u05e2\u05d9\u05d4 \u05d0\u05d7\u05ea, \u05d0\u05e0\u05d7\u05e0\u05d5 \u05de\u05d1\u05e6\u05e2\u05d9\u05dd \u05d0\u05ea \u05d4\u05e2\u05d9\u05e6\u05d5\u05d1 \u05d5\u05e8\u05d5\u05d0\u05d9\u05dd \u05d0\u05d5\u05ea\u05d5 \u05d1\u05de\u05db\u05e9\u05d9\u05e8 \u05dc\u05d3\u05d5\u05d2\u05de\u05d0, \u05dc\u05d0 \u05db\u05dc \u05d4\u05de\u05db\u05e9\u05d9\u05e8\u05d9\u05dd \u05d6\u05d4\u05d9\u05dd \u05d5\u05d9\u05e6\u05d9\u05d2\u05d5 \u05d0\u05ea \u05d4\u05de\u05e1\u05da \u05d1\u05d0\u05d5\u05ea\u05d4 \u05d4\u05e6\u05d5\u05e8\u05d4. \u05d4\u05de\u05e1\u05db\u05d9\u05dd \u05d9\u05db\u05d5\u05dc\u05d9\u05dd \u05dc\u05d4\u05d9\u05d5\u05ea \u05d2\u05d3\u05d5\u05dc\u05d9\u05dd \u05d0\u05d5 \u05e7\u05d8\u05e0\u05d9\u05dd \u05d9\u05d5\u05ea\u05e8 \u05d5\u05e8\u05d5\u05e6\u05d9\u05dd \u05dc\u05d9\u05e6\u05d5\u05e8 \u05e2\u05d9\u05e6\u05d5\u05d1 \u05e8\u05e1\u05e4\u05d5\u05e0\u05e1\u05d9\u05d1\u05d9. \u05d2\u05dd \u05d1\u05d0\u05d5\u05ea\u05d5 \u05d4\u05de\u05db\u05e9\u05d9\u05e8, \u05de\u05e9\u05ea\u05de\u05e9 \u05d9\u05db\u05d5\u05dc \u05dc\u05e1\u05d5\u05d1\u05d1 \u05d0\u05ea \u05d4\u05de\u05db\u05e9\u05d9\u05e8 \u05d5\u05dc\u05e6\u05e4\u05d5\u05ea \u05d1\u05ea\u05d5\u05db\u05df \u05e2\u05dd \u05de\u05db\u05e9\u05d9\u05e8 \u05de\u05d0\u05d5\u05e0\u05da \u05d0\u05d5 \u05de\u05d0\u05d5\u05d6\u05df. Dimensions API [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/epicmarketing.co.il\/notebook\/dynamic-user-interfaces\/\" \/>\n<meta property=\"og:site_name\" content=\"Code Notebook\" \/>\n<meta property=\"article:published_time\" content=\"2025-01-24T07:58:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-26T13:17:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/01\/Screenshot-2025-01-24-093116.png\" \/>\n\t<meta property=\"og:image:width\" content=\"354\" \/>\n\t<meta property=\"og:image:height\" content=\"759\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"kerendanino\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u05e0\u05db\u05ea\u05d1 \u05e2\u05dc \u05d9\u05d3\" \/>\n\t<meta name=\"twitter:data1\" content=\"kerendanino\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u05d6\u05de\u05df \u05e7\u05e8\u05d9\u05d0\u05d4 \u05de\u05d5\u05e2\u05e8\u05da\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u05d3\u05e7\u05d5\u05ea\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/dynamic-user-interfaces\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/dynamic-user-interfaces\\\/\"},\"author\":{\"name\":\"kerendanino\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/person\\\/195dfc625818eadda7903d456890e24c\"},\"headline\":\"Dynamic User Interfaces\",\"datePublished\":\"2025-01-24T07:58:08+00:00\",\"dateModified\":\"2025-01-26T13:17:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/dynamic-user-interfaces\\\/\"},\"wordCount\":44,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/dynamic-user-interfaces\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/Screenshot-2025-01-24-093116.png\",\"articleSection\":[\"React Native\"],\"inLanguage\":\"he-IL\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/dynamic-user-interfaces\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/dynamic-user-interfaces\\\/\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/dynamic-user-interfaces\\\/\",\"name\":\"Dynamic User Interfaces - Code Notebook\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/dynamic-user-interfaces\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/dynamic-user-interfaces\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/Screenshot-2025-01-24-093116.png\",\"datePublished\":\"2025-01-24T07:58:08+00:00\",\"dateModified\":\"2025-01-26T13:17:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/dynamic-user-interfaces\\\/#breadcrumb\"},\"inLanguage\":\"he-IL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/dynamic-user-interfaces\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"he-IL\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/dynamic-user-interfaces\\\/#primaryimage\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/Screenshot-2025-01-24-093116.png\",\"contentUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2025\\\/01\\\/Screenshot-2025-01-24-093116.png\",\"width\":354,\"height\":759},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/dynamic-user-interfaces\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Dynamic User Interfaces\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#website\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\",\"name\":\"Code Notebook\",\"description\":\"Easy coding\",\"publisher\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"he-IL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\",\"name\":\"Code Notebook\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"he-IL\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo-epic-marketing-05.png\",\"contentUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo-epic-marketing-05.png\",\"width\":3626,\"height\":1942,\"caption\":\"Code Notebook\"},\"image\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/person\\\/195dfc625818eadda7903d456890e24c\",\"name\":\"kerendanino\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"he-IL\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"caption\":\"kerendanino\"},\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/author\\\/kerendanino\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Dynamic User Interfaces - Code Notebook","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:\/\/epicmarketing.co.il\/notebook\/dynamic-user-interfaces\/","og_locale":"he_IL","og_type":"article","og_title":"Dynamic User Interfaces - Code Notebook","og_description":"\u05e8\u05d0\u05d9\u05e0\u05d5 \u05d0\u05d9\u05da \u05dc\u05e2\u05e6\u05d1 \u05d0\u05ea \u05d4\u05de\u05e1\u05da \u05e2\u05dd flexbox. \u05d9\u05e9 \u05d1\u05e2\u05d9\u05d4 \u05d0\u05d7\u05ea, \u05d0\u05e0\u05d7\u05e0\u05d5 \u05de\u05d1\u05e6\u05e2\u05d9\u05dd \u05d0\u05ea \u05d4\u05e2\u05d9\u05e6\u05d5\u05d1 \u05d5\u05e8\u05d5\u05d0\u05d9\u05dd \u05d0\u05d5\u05ea\u05d5 \u05d1\u05de\u05db\u05e9\u05d9\u05e8 \u05dc\u05d3\u05d5\u05d2\u05de\u05d0, \u05dc\u05d0 \u05db\u05dc \u05d4\u05de\u05db\u05e9\u05d9\u05e8\u05d9\u05dd \u05d6\u05d4\u05d9\u05dd \u05d5\u05d9\u05e6\u05d9\u05d2\u05d5 \u05d0\u05ea \u05d4\u05de\u05e1\u05da \u05d1\u05d0\u05d5\u05ea\u05d4 \u05d4\u05e6\u05d5\u05e8\u05d4. \u05d4\u05de\u05e1\u05db\u05d9\u05dd \u05d9\u05db\u05d5\u05dc\u05d9\u05dd \u05dc\u05d4\u05d9\u05d5\u05ea \u05d2\u05d3\u05d5\u05dc\u05d9\u05dd \u05d0\u05d5 \u05e7\u05d8\u05e0\u05d9\u05dd \u05d9\u05d5\u05ea\u05e8 \u05d5\u05e8\u05d5\u05e6\u05d9\u05dd \u05dc\u05d9\u05e6\u05d5\u05e8 \u05e2\u05d9\u05e6\u05d5\u05d1 \u05e8\u05e1\u05e4\u05d5\u05e0\u05e1\u05d9\u05d1\u05d9. \u05d2\u05dd \u05d1\u05d0\u05d5\u05ea\u05d5 \u05d4\u05de\u05db\u05e9\u05d9\u05e8, \u05de\u05e9\u05ea\u05de\u05e9 \u05d9\u05db\u05d5\u05dc \u05dc\u05e1\u05d5\u05d1\u05d1 \u05d0\u05ea \u05d4\u05de\u05db\u05e9\u05d9\u05e8 \u05d5\u05dc\u05e6\u05e4\u05d5\u05ea \u05d1\u05ea\u05d5\u05db\u05df \u05e2\u05dd \u05de\u05db\u05e9\u05d9\u05e8 \u05de\u05d0\u05d5\u05e0\u05da \u05d0\u05d5 \u05de\u05d0\u05d5\u05d6\u05df. Dimensions API [&hellip;]","og_url":"https:\/\/epicmarketing.co.il\/notebook\/dynamic-user-interfaces\/","og_site_name":"Code Notebook","article_published_time":"2025-01-24T07:58:08+00:00","article_modified_time":"2025-01-26T13:17:04+00:00","og_image":[{"width":354,"height":759,"url":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/01\/Screenshot-2025-01-24-093116.png","type":"image\/png"}],"author":"kerendanino","twitter_card":"summary_large_image","twitter_misc":{"\u05e0\u05db\u05ea\u05d1 \u05e2\u05dc \u05d9\u05d3":"kerendanino","\u05d6\u05de\u05df \u05e7\u05e8\u05d9\u05d0\u05d4 \u05de\u05d5\u05e2\u05e8\u05da":"3 \u05d3\u05e7\u05d5\u05ea"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/epicmarketing.co.il\/notebook\/dynamic-user-interfaces\/#article","isPartOf":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/dynamic-user-interfaces\/"},"author":{"name":"kerendanino","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/person\/195dfc625818eadda7903d456890e24c"},"headline":"Dynamic User Interfaces","datePublished":"2025-01-24T07:58:08+00:00","dateModified":"2025-01-26T13:17:04+00:00","mainEntityOfPage":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/dynamic-user-interfaces\/"},"wordCount":44,"commentCount":0,"publisher":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization"},"image":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/dynamic-user-interfaces\/#primaryimage"},"thumbnailUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/01\/Screenshot-2025-01-24-093116.png","articleSection":["React Native"],"inLanguage":"he-IL","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/epicmarketing.co.il\/notebook\/dynamic-user-interfaces\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/epicmarketing.co.il\/notebook\/dynamic-user-interfaces\/","url":"https:\/\/epicmarketing.co.il\/notebook\/dynamic-user-interfaces\/","name":"Dynamic User Interfaces - Code Notebook","isPartOf":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#website"},"primaryImageOfPage":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/dynamic-user-interfaces\/#primaryimage"},"image":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/dynamic-user-interfaces\/#primaryimage"},"thumbnailUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/01\/Screenshot-2025-01-24-093116.png","datePublished":"2025-01-24T07:58:08+00:00","dateModified":"2025-01-26T13:17:04+00:00","breadcrumb":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/dynamic-user-interfaces\/#breadcrumb"},"inLanguage":"he-IL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/epicmarketing.co.il\/notebook\/dynamic-user-interfaces\/"]}]},{"@type":"ImageObject","inLanguage":"he-IL","@id":"https:\/\/epicmarketing.co.il\/notebook\/dynamic-user-interfaces\/#primaryimage","url":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/01\/Screenshot-2025-01-24-093116.png","contentUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/01\/Screenshot-2025-01-24-093116.png","width":354,"height":759},{"@type":"BreadcrumbList","@id":"https:\/\/epicmarketing.co.il\/notebook\/dynamic-user-interfaces\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/epicmarketing.co.il\/notebook\/"},{"@type":"ListItem","position":2,"name":"Dynamic User Interfaces"}]},{"@type":"WebSite","@id":"https:\/\/epicmarketing.co.il\/notebook\/#website","url":"https:\/\/epicmarketing.co.il\/notebook\/","name":"Code Notebook","description":"Easy coding","publisher":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/epicmarketing.co.il\/notebook\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"he-IL"},{"@type":"Organization","@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization","name":"Code Notebook","url":"https:\/\/epicmarketing.co.il\/notebook\/","logo":{"@type":"ImageObject","inLanguage":"he-IL","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/logo\/image\/","url":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/07\/logo-epic-marketing-05.png","contentUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/07\/logo-epic-marketing-05.png","width":3626,"height":1942,"caption":"Code Notebook"},"image":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/person\/195dfc625818eadda7903d456890e24c","name":"kerendanino","image":{"@type":"ImageObject","inLanguage":"he-IL","@id":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","caption":"kerendanino"},"url":"https:\/\/epicmarketing.co.il\/notebook\/author\/kerendanino\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/2177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/comments?post=2177"}],"version-history":[{"count":6,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/2177\/revisions"}],"predecessor-version":[{"id":2188,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/2177\/revisions\/2188"}],"wp:attachment":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/media?parent=2177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/categories?post=2177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/tags?post=2177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}