Guest User

Content main.xml

a guest
Nov 20th, 2017
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.30 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:layout_width="match_parent"
  4.    android:layout_height="match_parent" android:paddingLeft="10dp"
  5.    android:paddingRight="10dp"
  6.    android:paddingTop="10dp"
  7.    android:background="#ededed"
  8.    android:paddingBottom="10dp">
  9.  
  10.  
  11.     <android.support.v7.widget.SearchView
  12.        android:layout_width="fill_parent"
  13.        android:layout_height="wrap_content"
  14.        android:id="@+id/searchView"/>
  15.  
  16.     <android.support.v7.widget.RecyclerView
  17.        android:id="@+id/my_recycler_view"
  18.        android:layout_width="match_parent"
  19.        android:layout_height="wrap_content"
  20.        android:layout_below="@id/searchView"
  21.        android:descendantFocusability="blocksDescendants"
  22.        android:scrollbars="vertical"/>
  23.  
  24.     <com.google.android.gms.ads.AdView
  25.        xmlns:ads="http://schemas.android.com/apk/res-auto"
  26.        android:id="@+id/adView"
  27.        android:layout_width="wrap_content"
  28.        android:layout_height="wrap_content"
  29.        android:layout_centerHorizontal="true"
  30.        android:layout_alignParentBottom="true"
  31.        ads:adSize="SMART_BANNER"
  32.        ads:adUnitId="@string/banner">
  33.     </com.google.android.gms.ads.AdView>
  34.  
  35.  
  36. </RelativeLayout>
Add Comment
Please, Sign In to add comment