Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 11.63 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    tools:context=".DetailActivity">
  8.  
  9.  
  10.     <LinearLayout
  11.        android:layout_width="match_parent"
  12.        android:layout_height="wrap_content"
  13.        android:orientation="vertical"
  14.        android:padding="20dp">
  15.  
  16.         <ImageView
  17.            android:layout_width="200dp"
  18.            android:layout_height="200dp"
  19.            android:layout_gravity="center"
  20.            android:src="@drawable/ic_account_circle" />
  21.  
  22.         <LinearLayout
  23.            android:layout_width="match_parent"
  24.            android:layout_height="wrap_content"
  25.            android:layout_marginTop="10dp">
  26.  
  27.             <ImageView
  28.                android:layout_width="50dp"
  29.                android:layout_height="50dp"
  30.                android:layout_gravity="center"
  31.                android:src="@mipmap/ic_launcher" />
  32.  
  33.             <LinearLayout
  34.                android:layout_width="match_parent"
  35.                android:layout_height="wrap_content"
  36.                android:orientation="vertical"
  37.                android:padding="10dp">
  38.  
  39.                 <TextView
  40.                    android:layout_width="wrap_content"
  41.                    android:layout_height="wrap_content"
  42.                    android:text="Nama" />
  43.  
  44.                 <TextView
  45.                    android:id="@+id/tv_nama"
  46.                    android:layout_width="wrap_content"
  47.                    android:layout_height="wrap_content"
  48.                    android:text="Nama"
  49.                    android:textAppearance="@style/TextAppearance.AppCompat.Large" />
  50.  
  51.             </LinearLayout>
  52.  
  53.         </LinearLayout>
  54.  
  55.         <View
  56.            android:layout_width="match_parent"
  57.            android:layout_height="1dp"
  58.            android:layout_marginTop="5dp"
  59.            android:background="@color/colorPrimary" />
  60.  
  61.         <LinearLayout
  62.            android:layout_width="match_parent"
  63.            android:layout_height="wrap_content"
  64.            android:layout_marginTop="10dp">
  65.  
  66.             <ImageView
  67.                android:layout_width="50dp"
  68.                android:layout_height="50dp"
  69.                android:layout_gravity="center"
  70.                android:src="@mipmap/ic_launcher" />
  71.  
  72.             <LinearLayout
  73.                android:layout_width="match_parent"
  74.                android:layout_height="wrap_content"
  75.                android:orientation="vertical"
  76.                android:padding="10dp">
  77.  
  78.                 <TextView
  79.                    android:layout_width="wrap_content"
  80.                    android:layout_height="wrap_content"
  81.                    android:text="No Hp" />
  82.  
  83.                 <TextView
  84.                    android:id="@+id/tv_no_hp"
  85.                    android:layout_width="wrap_content"
  86.                    android:layout_height="wrap_content"
  87.                    android:text="Nama"
  88.                    android:textAppearance="@style/TextAppearance.AppCompat.Large" />
  89.  
  90.             </LinearLayout>
  91.  
  92.         </LinearLayout>
  93.  
  94.         <View
  95.            android:layout_width="match_parent"
  96.            android:layout_height="1dp"
  97.            android:layout_marginTop="5dp"
  98.            android:background="@color/colorPrimary" />
  99.  
  100.         <LinearLayout
  101.            android:layout_width="match_parent"
  102.            android:layout_height="wrap_content"
  103.            android:layout_marginTop="10dp">
  104.  
  105.             <ImageView
  106.                android:layout_width="50dp"
  107.                android:layout_height="50dp"
  108.                android:layout_gravity="center"
  109.                android:src="@mipmap/ic_launcher" />
  110.  
  111.             <LinearLayout
  112.                android:layout_width="match_parent"
  113.                android:layout_height="wrap_content"
  114.                android:orientation="vertical"
  115.                android:padding="10dp">
  116.  
  117.                 <TextView
  118.                    android:layout_width="wrap_content"
  119.                    android:layout_height="wrap_content"
  120.                    android:text="Email" />
  121.  
  122.                 <TextView
  123.                    android:id="@+id/tv_email"
  124.                    android:layout_width="wrap_content"
  125.                    android:layout_height="wrap_content"
  126.                    android:text="Nama"
  127.                    android:textAppearance="@style/TextAppearance.AppCompat.Large" />
  128.  
  129.             </LinearLayout>
  130.  
  131.         </LinearLayout>
  132.  
  133.         <View
  134.            android:layout_width="match_parent"
  135.            android:layout_height="1dp"
  136.            android:layout_marginTop="5dp"
  137.            android:background="@color/colorPrimary" />
  138.  
  139.         <LinearLayout
  140.            android:layout_width="match_parent"
  141.            android:layout_height="wrap_content"
  142.            android:layout_marginTop="10dp">
  143.  
  144.             <ImageView
  145.                android:layout_width="50dp"
  146.                android:layout_height="50dp"
  147.                android:layout_gravity="center"
  148.                android:src="@mipmap/ic_launcher" />
  149.  
  150.             <LinearLayout
  151.                android:layout_width="match_parent"
  152.                android:layout_height="wrap_content"
  153.                android:orientation="vertical"
  154.                android:padding="10dp">
  155.  
  156.                 <TextView
  157.                    android:layout_width="wrap_content"
  158.                    android:layout_height="wrap_content"
  159.                    android:text="Tanggal Lahir" />
  160.  
  161.                 <TextView
  162.                    android:id="@+id/tv_tanggal"
  163.                    android:layout_width="wrap_content"
  164.                    android:layout_height="wrap_content"
  165.                    android:text="Nama"
  166.                    android:textAppearance="@style/TextAppearance.AppCompat.Large" />
  167.  
  168.             </LinearLayout>
  169.  
  170.         </LinearLayout>
  171.  
  172.         <View
  173.            android:layout_width="match_parent"
  174.            android:layout_height="1dp"
  175.            android:layout_marginTop="5dp"
  176.            android:background="@color/colorPrimary" />
  177.  
  178.         <LinearLayout
  179.            android:layout_width="match_parent"
  180.            android:layout_height="wrap_content"
  181.            android:layout_marginTop="10dp">
  182.  
  183.             <ImageView
  184.                android:layout_width="50dp"
  185.                android:layout_height="50dp"
  186.                android:layout_gravity="center"
  187.                android:src="@mipmap/ic_launcher" />
  188.  
  189.             <LinearLayout
  190.                android:layout_width="match_parent"
  191.                android:layout_height="wrap_content"
  192.                android:orientation="vertical"
  193.                android:padding="10dp">
  194.  
  195.                 <TextView
  196.                    android:layout_width="wrap_content"
  197.                    android:layout_height="wrap_content"
  198.                    android:text="Gender" />
  199.  
  200.                 <TextView
  201.                    android:id="@+id/tv_gender"
  202.                    android:layout_width="wrap_content"
  203.                    android:layout_height="wrap_content"
  204.                    android:text="Nama"
  205.                    android:textAppearance="@style/TextAppearance.AppCompat.Large" />
  206.  
  207.             </LinearLayout>
  208.  
  209.         </LinearLayout>
  210.  
  211.         <View
  212.            android:layout_width="match_parent"
  213.            android:layout_height="1dp"
  214.            android:layout_marginTop="5dp"
  215.            android:background="@color/colorPrimary" />
  216.  
  217.         <LinearLayout
  218.            android:layout_width="match_parent"
  219.            android:layout_height="wrap_content"
  220.            android:layout_marginTop="10dp">
  221.  
  222.             <ImageView
  223.                android:layout_width="50dp"
  224.                android:layout_height="50dp"
  225.                android:layout_gravity="center"
  226.                android:src="@mipmap/ic_launcher" />
  227.  
  228.             <LinearLayout
  229.                android:layout_width="match_parent"
  230.                android:layout_height="wrap_content"
  231.                android:orientation="vertical"
  232.                android:padding="10dp">
  233.  
  234.                 <TextView
  235.                    android:layout_width="wrap_content"
  236.                    android:layout_height="wrap_content"
  237.                    android:text="Hobi" />
  238.  
  239.                 <TextView
  240.                    android:id="@+id/tv_hobi"
  241.                    android:layout_width="wrap_content"
  242.                    android:layout_height="wrap_content"
  243.                    android:text="Nama"
  244.                    android:textAppearance="@style/TextAppearance.AppCompat.Large" />
  245.  
  246.             </LinearLayout>
  247.  
  248.         </LinearLayout>
  249.  
  250.         <View
  251.            android:layout_width="match_parent"
  252.            android:layout_height="1dp"
  253.            android:layout_marginTop="5dp"
  254.            android:background="@color/colorPrimary" />
  255.  
  256.         <LinearLayout
  257.            android:layout_width="match_parent"
  258.            android:layout_height="wrap_content"
  259.            android:layout_marginTop="10dp">
  260.  
  261.             <ImageView
  262.                android:layout_width="50dp"
  263.                android:layout_height="50dp"
  264.                android:layout_gravity="center"
  265.                android:src="@mipmap/ic_launcher" />
  266.  
  267.             <LinearLayout
  268.                android:layout_width="match_parent"
  269.                android:layout_height="wrap_content"
  270.                android:orientation="vertical"
  271.                android:padding="10dp">
  272.  
  273.                 <TextView
  274.                    android:layout_width="wrap_content"
  275.                    android:layout_height="wrap_content"
  276.                    android:text="Jenjang" />
  277.  
  278.                 <TextView
  279.                    android:id="@+id/tv_jenjang"
  280.                    android:layout_width="wrap_content"
  281.                    android:layout_height="wrap_content"
  282.                    android:text="Nama"
  283.                    android:textAppearance="@style/TextAppearance.AppCompat.Large" />
  284.  
  285.             </LinearLayout>
  286.  
  287.         </LinearLayout>
  288.  
  289.         <View
  290.            android:layout_width="match_parent"
  291.            android:layout_height="1dp"
  292.            android:layout_marginTop="5dp"
  293.            android:background="@color/colorPrimary" />
  294.  
  295.  
  296.         <LinearLayout
  297.            android:layout_width="match_parent"
  298.            android:layout_height="wrap_content"
  299.            android:layout_marginTop="10dp">
  300.  
  301.             <ImageView
  302.                android:layout_width="50dp"
  303.                android:layout_height="50dp"
  304.                android:layout_gravity="center"
  305.                android:src="@mipmap/ic_launcher" />
  306.  
  307.             <LinearLayout
  308.                android:layout_width="match_parent"
  309.                android:layout_height="wrap_content"
  310.                android:orientation="vertical"
  311.                android:padding="10dp">
  312.  
  313.                 <TextView
  314.                    android:layout_width="wrap_content"
  315.                    android:layout_height="wrap_content"
  316.                    android:text="Alamat" />
  317.  
  318.                 <TextView
  319.                    android:id="@+id/tv_alamat"
  320.                    android:layout_width="wrap_content"
  321.                    android:layout_height="wrap_content"
  322.                    android:text="Nama"
  323.                    android:textAppearance="@style/TextAppearance.AppCompat.Large" />
  324.  
  325.             </LinearLayout>
  326.  
  327.         </LinearLayout>
  328.  
  329.         <View
  330.            android:layout_width="match_parent"
  331.            android:layout_height="1dp"
  332.            android:layout_marginTop="5dp"
  333.            android:background="@color/colorPrimary" />
  334.     </LinearLayout>
  335. </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement