nafiefn_10

activity_zoom.xml

May 1st, 2021
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.92 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"
  5.    xmlns:tools="http://schemas.android.com/tools"
  6.    tools:context=".ZoomActivity">
  7.  
  8.     <ImageView
  9.        android:id="@+id/gambarZoom"
  10.        android:layout_width="200dp"
  11.        android:layout_height="200dp"
  12.        android:layout_centerInParent="true"
  13.        android:layout_marginBottom="10dp"
  14.        tools:ignore="ContentDescription"/>
  15.     <TextView
  16.        android:id="@+id/namaZoom"
  17.        android:layout_width="wrap_content"
  18.        android:layout_height="wrap_content"
  19.        android:layout_below="@id/gambarZoom"
  20.        android:layout_centerHorizontal="true"
  21.        android:fontFamily="monospace"
  22.        android:text="Nama"
  23.        android:textStyle="bold"
  24.        android:textSize="30sp"/>
  25. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment