<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: i053322</title>
    <description>The latest articles on DEV Community by i053322 (@yossi).</description>
    <link>https://dev.to/yossi</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F860900%2F3c13bdf6-8e95-4d8e-84ee-de84766f0d8f.png</url>
      <title>DEV Community: i053322</title>
      <link>https://dev.to/yossi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yossi"/>
    <language>en</language>
    <item>
      <title>How I can create background to image</title>
      <dc:creator>i053322</dc:creator>
      <pubDate>Wed, 13 Jul 2022 06:02:15 +0000</pubDate>
      <link>https://dev.to/yossi/how-i-can-create-background-to-image-lab</link>
      <guid>https://dev.to/yossi/how-i-can-create-background-to-image-lab</guid>
      <description>&lt;p&gt;0&lt;/p&gt;

&lt;p&gt;I want to have one raw with 4 images. under each image I want to present short text I have a generic background. In each image I want to have Square with different color&lt;br&gt;
Problems:&lt;/p&gt;

&lt;p&gt;how I can add the backgroundColor color that will be with padding and also in the right size&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import React from 'react';

import { View, Image, StyleSheet , Text } from 'react-native'

function Settings(props) {
    return (
        &amp;lt;View style={styles.container}&amp;gt;
             &amp;lt;View style={[styles.imageView,styles.smallBackground]}&amp;gt;
                &amp;lt;Image
                    style={styles.smallImage}
                    source={require('../assets/DiceSize.png')}
                &amp;gt;&amp;lt;/Image&amp;gt;
                  &amp;lt;View&amp;gt;
                    &amp;lt;Text style={styles.text} &amp;gt;
                        S
                    &amp;lt;/Text&amp;gt;
                    &amp;lt;/View&amp;gt;
            &amp;lt;/View&amp;gt;

            &amp;lt;View style={[styles.imageView,styles.meduimBackground]}&amp;gt;
                &amp;lt;Image
                    style={[styles.meduimImage]}
                    source={require('../assets/DiceSize.png')}
                &amp;gt;&amp;lt;/Image&amp;gt;
                &amp;lt;View&amp;gt;
                 &amp;lt;Text style={styles.text}&amp;gt;
                    M
                &amp;lt;/Text&amp;gt;
                &amp;lt;/View&amp;gt;
            &amp;lt;/View&amp;gt;
            &amp;lt;View style={[styles.imageView,styles.largeBackground]}&amp;gt;
                &amp;lt;Image
                    style={styles.largeImage}
                    source={require('../assets/DiceSize.png')}
                &amp;gt;&amp;lt;/Image&amp;gt;
                 &amp;lt;View&amp;gt;
                &amp;lt;Text style={styles.text}&amp;gt;
                    L
                &amp;lt;/Text&amp;gt;  
                &amp;lt;/View&amp;gt;
            &amp;lt;/View&amp;gt;
            &amp;lt;View style={[styles.imageView,styles.xlargeBackground]}&amp;gt;
                &amp;lt;Image
                    style={styles.xlargeImage}
                    source={require('../assets/DiceSize.png')}
                &amp;gt;&amp;lt;/Image&amp;gt;
                &amp;lt;View&amp;gt;
                &amp;lt;Text style={styles.text}&amp;gt;
                    XL
                &amp;lt;/Text&amp;gt;                  
                &amp;lt;/View&amp;gt;
            &amp;lt;/View&amp;gt;
        &amp;lt;/View&amp;gt;

    );
}

export default Settings;

const styles = StyleSheet.create({
    smallBackground: {
        backgroundColor: 'black',
        width: 80,
        height: 110,
    },
    meduimBackground: {
        backgroundColor: 'black',
        width: 80,
        height: 110,
    },
    largeBackground: {
        backgroundColor: 'black',
        width: 80,
        height: 110,
    },
    xlargeBackground: {
        backgroundColor: 'black',
        width: 90,
        height: 110,
    },
    text:{

        padding: 20,
        color: 'white',
    },
    imageView:{
        paddingLeft: 30,

    },
    container: {
        flex: 1,
        backgroundColor: '#a9a9a9',
        flexDirection:'row',
        alignItems:'center',
      //  justifyContent:'center',
      },
      smallImage:{
        width: 45,
        height: 46,
      },
      meduimImage:{
        width: 52,
        height: 53,
      },
      largeImage: {
        width: 60,
        height: 61,
      },
      xlargeImage: {
        width: 68,
        height: 70,
    }

})
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Ljb8fdaY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cuqrua29x6xp9us1kqy6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Ljb8fdaY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cuqrua29x6xp9us1kqy6.png" alt="Image description" width="693" height="339"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>reactnative</category>
    </item>
    <item>
      <title>How to create layout editor</title>
      <dc:creator>i053322</dc:creator>
      <pubDate>Sun, 03 Jul 2022 13:29:29 +0000</pubDate>
      <link>https://dev.to/yossi/how-to-create-layout-editor-54n0</link>
      <guid>https://dev.to/yossi/how-to-create-layout-editor-54n0</guid>
      <description>&lt;p&gt;Do you know on tool that do layout editor for react-native something like &lt;a href="https://builderx.io/"&gt;https://builderx.io/&lt;/a&gt; ?&lt;br&gt;
The idea that you can drag and drop and then you will get a layout &lt;/p&gt;

</description>
      <category>reactnative</category>
    </item>
    <item>
      <title>How to create Cube</title>
      <dc:creator>i053322</dc:creator>
      <pubDate>Wed, 11 May 2022 11:11:41 +0000</pubDate>
      <link>https://dev.to/yossi/how-to-create-cube-38il</link>
      <guid>https://dev.to/yossi/how-to-create-cube-38il</guid>
      <description>&lt;p&gt;I want to create cube in react native for android and IOS , I saw this blog &lt;br&gt;
&lt;a href="https://medium.com/the-react-native-log/implementing-cube-in-react-native-cb61b9a7e8c3"&gt;https://medium.com/the-react-native-log/implementing-cube-in-react-native-cb61b9a7e8c3&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;is it something new to create cube  ? &lt;br&gt;
I want also to create cube with different images or number and have the option when I press on it to change the cube&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
