title: Reuse styles in iOS
body: <p>Is there a way to reuse styles in an iOS app as it's done in android?
  (or other approach, css-like, for example)</p>
  
  <p>Like this:</p>
  
  <p>styles.xml</p>
  
  <pre><code>&lt;style name="SplashTheme" parent="@style/Theme.AppCompat.Light.NoActionBar"&gt;
      &lt;item name="android:windowBackground"&gt;@android:color/black&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;!-- Base application theme. --&gt;
  &lt;style name="AppTheme" parent="@style/Theme.AppCompat.Light.NoActionBar"&gt;
      &lt;item name="android:windowBackground"&gt;@color/AppBackground&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;!-- Search Bar --&gt;
  &lt;style name="AppTheme.SearchBar" parent="AppTheme"&gt;
      &lt;item name="android:layout_width"&gt;match_parent&lt;/item&gt;
      &lt;item name="android:layout_height"&gt;@dimen/searchBarSize&lt;/item&gt;
      &lt;item name="android:background"&gt;@drawable/search_bar_background&lt;/item&gt;
      &lt;item name="android:layout_alignParentTop"&gt;true&lt;/item&gt;
      &lt;item name="android:layout_alignParentLeft"&gt;true&lt;/item&gt;
  &lt;/style&gt;
  //...
  </code></pre>
  
  <p>activity.xml</p>
  
  <pre><code>&lt;LinearLayout
      android:layout_below="@id/searchBar"
      style="@style/AppTheme.Table"
      &gt;
      //...
  &lt;/LinearLayout&gt;
  </code></pre>