Advertisement
russofinn

Layout XML

Aug 3rd, 2017
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.74 KB | None | 0 0
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.    xmlns:tools="http://schemas.android.com/tools"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent"
  6.    app:layout_behavior="@string/appbar_scrolling_view_behavior"
  7.    tools:context="android.first.activities.DashboardActivity">
  8.    
  9.     <RelativeLayout
  10.        android:id="@+id/relativeLayout3"
  11.        android:layout_width="match_parent"
  12.        android:layout_height="wrap_content">
  13.  
  14.         <android.support.v7.widget.CardView
  15.            android:id="@+id/cardview"
  16.            android:layout_width="match_parent"
  17.            android:layout_height="wrap_content"
  18.            android:padding="50dp">
  19.  
  20.         <TextView
  21.            android:id="@+id/ads_title"
  22.            android:layout_width="wrap_content"
  23.            android:layout_height="wrap_content"
  24.            android:layout_margin="10dp"
  25.            android:text="Melhores preços" />
  26.  
  27.             <LinearLayout
  28.                android:layout_width="match_parent"
  29.                android:layout_height="wrap_content"
  30.                android:layout_below="@+id/cardview">
  31.  
  32.  
  33.                 <android.support.v7.widget.RecyclerView
  34.                    android:id="@+id/recycler_ads"
  35.                    android:layout_width="match_parent"
  36.                    android:layout_height="wrap_content"
  37.                    android:layout_marginLeft="5dp"
  38.                    android:layout_marginRight="5dp"
  39.                    android:layout_marginTop="40dp"
  40.                    android:scrollbars="none" />
  41.  
  42.             </LinearLayout>
  43.         </android.support.v7.widget.CardView>
  44.     </RelativeLayout>
  45. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement