adenhidayat

mainmenu

Mar 11th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.11 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:layout_width="match_parent"
  4.    android:layout_height="150dp"
  5.    xmlns:tool="http://schemas.android.com/tools"
  6.    android:layout_margin="5dp"
  7.    android:id="@+id/mainmenuicon">
  8.  
  9.     <LinearLayout
  10.        android:layout_width="match_parent"
  11.        android:layout_height="match_parent"
  12.        android:orientation="vertical">
  13.         <ImageView
  14.            android:layout_width="100dp"
  15.            android:layout_height="100dp"
  16.            android:layout_gravity="center"
  17.            android:layout_marginTop="10dp"
  18.            android:padding="10dp"
  19.            android:src="@drawable/ic_facebook"/>
  20.         <TextView
  21.            android:layout_width="wrap_content"
  22.            android:layout_height="wrap_content"
  23.            android:gravity="center"
  24.            android:layout_gravity="center"
  25.            android:textSize="20sp"
  26.            android:textStyle="bold"
  27.            tool:text="Contoh"/>
  28.     </LinearLayout>
  29.  
  30. </android.support.v7.widget.CardView>
Advertisement
Add Comment
Please, Sign In to add comment