Advertisement
Guest User

main.xml

a guest
Mar 1st, 2015
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.78 KB | None | 0 0
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"    
  2.     xmlns:tools="http://schemas.android.com/ tools"
  3.     xmlns:card_view="http://schemas.android.com/apk/res-auto"
  4.     android:layout_width="wrap_content"
  5.     android:layout_height="wrap_content">
  6.  
  7.     <android.support.v7.widget.CardView
  8.        xmlns:card_view="http://schemas.android.com/apk/res-auto"
  9.        android:id="@+id/card_view"
  10.        android:layout_gravity="center"
  11.        android:layout_width="200dp"
  12.        android:layout_height="200dp">
  13.  
  14.         <TextView
  15.            android:id="@+id/text_view"
  16.            android:layout_width="match_parent"
  17.            android:layout_height="match_parent"
  18.             android:text="@string/hello_world" />
  19.        
  20.     </android.support.v7.widget.CardView>
  21.    
  22. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement