Advertisement
Guest User

Untitled

a guest
Sep 26th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 11.29 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout 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.    android:orientation="vertical"
  8.    tools:context=".DetailActivity"
  9.    android:padding="10dp">
  10.  
  11.     <ImageView
  12.        android:layout_width="100dp"
  13.        android:layout_height="100dp"
  14.        android:layout_gravity="center"
  15.        android:src="@drawable/ic_account"
  16.        android:layout_marginBottom="10dp"/>
  17.  
  18.     <ScrollView
  19.        android:layout_width="match_parent"
  20.        android:layout_height="wrap_content"
  21.        android:layout_weight="1">
  22.         <LinearLayout
  23.            android:layout_width="match_parent"
  24.            android:layout_height="wrap_content"
  25.            android:orientation="vertical">
  26.  
  27.             <LinearLayout
  28.                android:layout_width="match_parent"
  29.                android:layout_height="wrap_content"
  30.                android:orientation="horizontal">
  31.                 <ImageView
  32.                    android:layout_width="70dp"
  33.                    android:layout_height="70dp"
  34.                    android:src="@drawable/ic_bookmark"/>
  35.                 <LinearLayout
  36.                    android:layout_width="wrap_content"
  37.                    android:layout_height="wrap_content"
  38.                    android:orientation="vertical"
  39.                    android:layout_weight="1"
  40.                    android:padding="10dp">
  41.                     <TextView
  42.                        android:layout_width="wrap_content"
  43.                        android:layout_height="wrap_content"
  44.                        android:text="Nama"/>
  45.                     <TextView
  46.                        android:id="@+id/nama_tv"
  47.                        android:layout_width="wrap_content"
  48.                        android:layout_height="wrap_content"
  49.                        android:textAppearance="@android:style/TextAppearance.Large"
  50.                        android:textStyle="bold"
  51.                        android:text="Nama"/>
  52.                 </LinearLayout>
  53.             </LinearLayout>
  54.  
  55.             <LinearLayout
  56.                android:layout_width="match_parent"
  57.                android:layout_height="wrap_content"
  58.                android:orientation="horizontal">
  59.                 <ImageView
  60.                    android:layout_width="70dp"
  61.                    android:layout_height="70dp"
  62.                    android:src="@drawable/ic_phone"/>
  63.                 <LinearLayout
  64.                    android:layout_width="wrap_content"
  65.                    android:layout_height="wrap_content"
  66.                    android:orientation="vertical"
  67.                    android:layout_weight="1"
  68.                    android:padding="10dp">
  69.                     <TextView
  70.                        android:layout_width="wrap_content"
  71.                        android:layout_height="wrap_content"
  72.                        android:text="No. HP"/>
  73.                     <TextView
  74.                        android:id="@+id/no_hp_tv"
  75.                        android:layout_width="wrap_content"
  76.                        android:layout_height="wrap_content"
  77.                        android:textAppearance="@android:style/TextAppearance.Large"
  78.                        android:textStyle="bold"
  79.                        android:text="Nama"/>
  80.                 </LinearLayout>
  81.             </LinearLayout>
  82.            
  83.             <LinearLayout
  84.                android:layout_width="match_parent"
  85.                android:layout_height="wrap_content"
  86.                android:orientation="horizontal">
  87.                 <ImageView
  88.                    android:layout_width="70dp"
  89.                    android:layout_height="70dp"
  90.                    android:src="@drawable/ic_favorite"/>
  91.                 <LinearLayout
  92.                    android:layout_width="wrap_content"
  93.                    android:layout_height="wrap_content"
  94.                    android:orientation="vertical"
  95.                    android:layout_weight="1"
  96.                    android:padding="10dp">
  97.                     <TextView
  98.                        android:layout_width="wrap_content"
  99.                        android:layout_height="wrap_content"
  100.                        android:text="Gender"/>
  101.                     <TextView
  102.                        android:id="@+id/gender_tv"
  103.                        android:layout_width="wrap_content"
  104.                        android:layout_height="wrap_content"
  105.                        android:textAppearance="@android:style/TextAppearance.Large"
  106.                        android:textStyle="bold"
  107.                        android:text="Nama"/>
  108.                 </LinearLayout>
  109.             </LinearLayout>
  110.  
  111.             <LinearLayout
  112.                android:layout_width="match_parent"
  113.                android:layout_height="wrap_content"
  114.                android:orientation="horizontal">
  115.                 <ImageView
  116.                    android:layout_width="70dp"
  117.                    android:layout_height="70dp"
  118.                    android:src="@drawable/ic_flight"/>
  119.                 <LinearLayout
  120.                    android:layout_width="wrap_content"
  121.                    android:layout_height="wrap_content"
  122.                    android:orientation="vertical"
  123.                    android:layout_weight="1"
  124.                    android:padding="10dp">
  125.                     <TextView
  126.                        android:layout_width="wrap_content"
  127.                        android:layout_height="wrap_content"
  128.                        android:text="Jenjang"/>
  129.                     <TextView
  130.                        android:id="@+id/jenjang_tv"
  131.                        android:layout_width="wrap_content"
  132.                        android:layout_height="wrap_content"
  133.                        android:textAppearance="@android:style/TextAppearance.Large"
  134.                        android:textStyle="bold"
  135.                        android:text="Nama"/>
  136.                 </LinearLayout>
  137.             </LinearLayout>
  138.  
  139.             <LinearLayout
  140.                android:layout_width="match_parent"
  141.                android:layout_height="wrap_content"
  142.                android:orientation="horizontal">
  143.                 <ImageView
  144.                    android:layout_width="70dp"
  145.                    android:layout_height="70dp"
  146.                    android:src="@drawable/ic_mail"/>
  147.                 <LinearLayout
  148.                    android:layout_width="wrap_content"
  149.                    android:layout_height="wrap_content"
  150.                    android:orientation="vertical"
  151.                    android:layout_weight="1"
  152.                    android:padding="10dp">
  153.                     <TextView
  154.                        android:layout_width="wrap_content"
  155.                        android:layout_height="wrap_content"
  156.                        android:text="Email"/>
  157.                     <TextView
  158.                        android:id="@+id/email_tv"
  159.                        android:layout_width="wrap_content"
  160.                        android:layout_height="wrap_content"
  161.                        android:textAppearance="@android:style/TextAppearance.Large"
  162.                        android:textStyle="bold"
  163.                        android:text="Nama"/>
  164.                 </LinearLayout>
  165.             </LinearLayout>
  166.  
  167.             <LinearLayout
  168.                android:layout_width="match_parent"
  169.                android:layout_height="wrap_content"
  170.                android:orientation="horizontal">
  171.                 <ImageView
  172.                    android:layout_width="70dp"
  173.                    android:layout_height="70dp"
  174.                    android:src="@drawable/ic_date"/>
  175.                 <LinearLayout
  176.                    android:layout_width="wrap_content"
  177.                    android:layout_height="wrap_content"
  178.                    android:orientation="vertical"
  179.                    android:layout_weight="1"
  180.                    android:padding="10dp">
  181.                     <TextView
  182.                        android:layout_width="wrap_content"
  183.                        android:layout_height="wrap_content"
  184.                        android:text="Tangal Lahir"/>
  185.                     <TextView
  186.                        android:id="@+id/tgl_lahir_tv"
  187.                        android:layout_width="wrap_content"
  188.                        android:layout_height="wrap_content"
  189.                        android:textAppearance="@android:style/TextAppearance.Large"
  190.                        android:textStyle="bold"
  191.                        android:text="Nama"/>
  192.                 </LinearLayout>
  193.             </LinearLayout>
  194.  
  195.             <LinearLayout
  196.                android:layout_width="match_parent"
  197.                android:layout_height="wrap_content"
  198.                android:orientation="horizontal">
  199.                 <ImageView
  200.                    android:layout_width="70dp"
  201.                    android:layout_height="70dp"
  202.                    android:src="@drawable/ic_fitness"/>
  203.                 <LinearLayout
  204.                    android:layout_width="wrap_content"
  205.                    android:layout_height="wrap_content"
  206.                    android:orientation="vertical"
  207.                    android:layout_weight="1"
  208.                    android:padding="10dp">
  209.                     <TextView
  210.                        android:layout_width="wrap_content"
  211.                        android:layout_height="wrap_content"
  212.                        android:text="Hobi"/>
  213.                     <TextView
  214.                        android:id="@+id/hobi_tv"
  215.                        android:layout_width="wrap_content"
  216.                        android:layout_height="wrap_content"
  217.                        android:textAppearance="@android:style/TextAppearance.Large"
  218.                        android:textStyle="bold"
  219.                        android:text="Nama"/>
  220.                 </LinearLayout>
  221.             </LinearLayout>
  222.  
  223.             <LinearLayout
  224.                android:layout_width="match_parent"
  225.                android:layout_height="wrap_content"
  226.                android:orientation="horizontal">
  227.                 <ImageView
  228.                    android:layout_width="70dp"
  229.                    android:layout_height="70dp"
  230.                    android:src="@drawable/ic_location"/>
  231.                 <LinearLayout
  232.                    android:layout_width="wrap_content"
  233.                    android:layout_height="wrap_content"
  234.                    android:orientation="vertical"
  235.                    android:layout_weight="1"
  236.                    android:padding="10dp">
  237.                     <TextView
  238.                        android:layout_width="wrap_content"
  239.                        android:layout_height="wrap_content"
  240.                        android:text="Alamat"/>
  241.                     <TextView
  242.                        android:id="@+id/alamat_tv"
  243.                        android:layout_width="wrap_content"
  244.                        android:layout_height="wrap_content"
  245.                        android:textAppearance="@android:style/TextAppearance.Large"
  246.                        android:textStyle="bold"
  247.                        android:text="Nama"/>
  248.                 </LinearLayout>
  249.             </LinearLayout>
  250.            
  251.         </LinearLayout>
  252.     </ScrollView>
  253. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement