Advertisement
Guest User

fragment_bentuk_rumus.xml

a guest
Jan 20th, 2019
744
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.32 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.     xmlns:tools="http://schemas.android.com/tools"
  4.     android:layout_width="match_parent"
  5.     android:layout_height="match_parent"
  6.     tools:context=".BentukRumus">
  7.  
  8.     <!-- TODO: Update blank fragment layout -->
  9. <LinearLayout
  10.     android:layout_width="match_parent"
  11.     android:layout_height="wrap_content"
  12.     android:orientation="vertical"
  13.   >
  14.  
  15.     <android.support.v7.widget.CardView
  16.         android:layout_width="match_parent"
  17.         android:layout_height="220dp"
  18.         android:layout_margin="16dp">
  19.         <LinearLayout
  20.             android:layout_width="match_parent"
  21.             android:layout_height="wrap_content"
  22.             android:orientation="vertical"
  23.             >
  24.  
  25.             <TextView
  26.                 android:layout_width="match_parent"
  27.                 android:layout_height="wrap_content"
  28.                 android:text="Persegi"
  29.                 android:textAlignment="center"
  30.                 android:textSize="19sp"
  31.                 android:textColor="#000"
  32.                 android:layout_marginBottom="10dp"
  33.                 />
  34.  
  35.             <TextView
  36.             android:layout_width="match_parent"
  37.             android:layout_height="wrap_content"
  38.             android:id="@+id/txt_persegi"
  39.             android:textAlignment="center"
  40.             />
  41.  
  42.         </LinearLayout>
  43.  
  44.     </android.support.v7.widget.CardView>
  45.  
  46.     <android.support.v7.widget.CardView
  47.         android:layout_width="match_parent"
  48.         android:layout_height="220dp"
  49.         android:layout_margin="16dp">
  50. <LinearLayout
  51.     android:layout_width="match_parent"
  52.     android:layout_height="wrap_content"
  53.     android:orientation="vertical"
  54.     >
  55.     <TextView
  56.         android:layout_width="match_parent"
  57.         android:layout_height="wrap_content"
  58.         android:text="Segitiga"
  59.         android:textAlignment="center"
  60.         android:textSize="19sp"
  61.         android:textColor="#000"
  62.         android:layout_marginBottom="10dp"
  63.  
  64.         />
  65.  
  66.         <TextView
  67.     android:layout_width="match_parent"
  68.     android:layout_height="wrap_content"
  69.     android:id="@+id/txt_segitiga"
  70. android:textAlignment="center"
  71.     />
  72. </LinearLayout>
  73.     </android.support.v7.widget.CardView>
  74.  
  75. </LinearLayout>
  76. </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement