Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 21.36 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:tools="http://schemas.android.com/tools"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent"
  6.    xmlns:app="http://schemas.android.com/apk/res-auto"
  7.    android:background="#f1f2f6"
  8.    android:orientation="vertical"
  9.    tools:context=".view.dashboard.piutang.PiUtangDetailActivity">
  10.  
  11.     <include layout="@layout/toolbar" />
  12.  
  13.     <ScrollView
  14.        android:layout_width="match_parent"
  15.        android:layout_height="match_parent"
  16.        >
  17.  
  18.         <LinearLayout
  19.            android:layout_width="match_parent"
  20.            android:layout_height="wrap_content"
  21.            android:orientation="vertical">
  22.  
  23.             <LinearLayout
  24.                android:layout_width="match_parent"
  25.                android:layout_height="wrap_content"
  26.                android:layout_marginTop="@dimen/xtralarge_padding"
  27.                android:layout_marginBottom="@dimen/large_padding"
  28.                android:layout_marginLeft="42dp"
  29.                android:layout_marginRight="42dp"
  30.                android:orientation="vertical"
  31.                android:visibility="visible">
  32.  
  33.                 <LinearLayout
  34.                    android:layout_width="match_parent"
  35.                    android:layout_height="wrap_content"
  36.                    android:orientation="horizontal">
  37.  
  38.                     <ImageView
  39.                        android:id="@+id/redDotPiUtang"
  40.                        android:layout_width="wrap_content"
  41.                        android:layout_height="match_parent"
  42.                        android:gravity="start"
  43.                        android:layout_marginRight="@dimen/medium_padding"
  44.                        android:src="@drawable/ic_oval_detailpiutang"
  45.                        android:layout_marginEnd="@dimen/medium_padding" />
  46.  
  47.                     <TextView
  48.                        android:id="@+id/dotStatue"
  49.                        android:layout_width="match_parent"
  50.                        android:layout_height="match_parent"
  51.                        android:text="Belum Diterima"
  52.                        android:gravity="center_vertical"
  53.                        android:textSize="12sp"/>
  54.  
  55.                 </LinearLayout>
  56.  
  57.                 <TextView
  58.                    android:id="@+id/tvNominalPiUtangUpdated"
  59.                    android:layout_width="wrap_content"
  60.                    android:layout_height="match_parent"
  61.                    android:text="Rp200,000,000"
  62.                    android:textColor="@color/black"
  63.                    android:gravity="center_vertical"
  64.                    android:textSize="32sp"/>
  65.  
  66.                 <View
  67.                    android:layout_width="match_parent"
  68.                    android:layout_height="2dp"
  69.                    android:layout_marginTop="2dp"
  70.                    android:background="#C2C3C6" />
  71.  
  72.                 <TextView
  73.                    android:id="@+id/tvDueDate"
  74.                    android:layout_width="match_parent"
  75.                    android:layout_height="match_parent"
  76.                    android:layout_marginTop="@dimen/small_padding"
  77.                    android:text="Jatuh Tempo: 1 Desember 2017"
  78.                    android:gravity="center_vertical"
  79.                    android:textSize="12sp"/>
  80.  
  81.                 <Button
  82.                    android:id="@+id/payPiUtang"
  83.                    android:layout_width="match_parent"
  84.                    android:layout_height="wrap_content"
  85.                    android:layout_gravity="center_horizontal"
  86.                    android:layout_marginTop="@dimen/large_padding"
  87.                    android:layout_marginBottom="@dimen/medium_padding"
  88.                    android:height="@dimen/action_button_min_height_material"
  89.                    android:background="@drawable/button_detail_piutang"
  90.                    android:text="@string/pay_Piutang"
  91.                    android:fontFamily="@font/varelaround_regular"
  92.                    tools:ignore="MissingPrefix"
  93.                    android:textAllCaps="false"
  94.                    android:textSize="18sp"
  95.                    android:textColor="#185b00" />
  96.  
  97.             </LinearLayout>
  98.  
  99.             <LinearLayout
  100.                android:layout_width="match_parent"
  101.                android:layout_height="wrap_content"
  102.                android:orientation="vertical">
  103.  
  104.                 <android.support.v7.widget.CardView
  105.                    android:id="@+id/firstCard"
  106.                    android:layout_width="match_parent"
  107.                    android:layout_height="wrap_content"
  108.                    android:layout_marginBottom="@dimen/medium_padding"
  109.                    android:paddingBottom="@dimen/large_padding"
  110.                    app:cardElevation="4dp">
  111.  
  112.                     <LinearLayout
  113.                        android:layout_width="match_parent"
  114.                        android:layout_height="wrap_content"
  115.                        android:layout_marginLeft="42dp"
  116.                        android:layout_marginRight="42dp"
  117.                        android:orientation="vertical">
  118.  
  119.                         <TextView
  120.                            android:id="@+id/secondCardInfoDetail"
  121.                            android:layout_width="match_parent"
  122.                            android:layout_height="match_parent"
  123.                            android:layout_marginTop="@dimen/large_padding"
  124.                            android:layout_marginBottom="@dimen/medium_padding"
  125.                            android:text="Transaksi dibuat \n pada 1 Desember 2017 sejumlah Rp 300.000"
  126.                            android:gravity="center_vertical"
  127.                            android:textSize="12sp"/>
  128.  
  129.                         <View
  130.                            android:layout_width="match_parent"
  131.                            android:layout_height="2dp"
  132.                            android:layout_marginBottom="@dimen/small_padding"
  133.                            android:background="#e7e7e9"/>
  134.  
  135.                         <LinearLayout
  136.                            android:layout_width="match_parent"
  137.                            android:layout_height="match_parent"
  138.                            android:layout_marginBottom="@dimen/medium_padding"
  139.                            android:orientation="horizontal">
  140.  
  141.                             <ImageView
  142.                                android:id="@+id/iconTransCategory"
  143.                                android:layout_width="match_parent"
  144.                                android:layout_height="wrap_content"
  145.                                android:layout_gravity="center"
  146.                                android:layout_weight="4"
  147.                                android:src="@drawable/in_kategori_penjualan"
  148.                                android:contentDescription="@string/img_desc"/>
  149.  
  150.                             <LinearLayout
  151.                                android:layout_width="match_parent"
  152.                                android:layout_height="wrap_content"
  153.                                android:layout_weight="1"
  154.                                android:orientation="vertical">
  155.  
  156.                                 <TextView
  157.                                    android:id="@+id/transCategory"
  158.                                    android:layout_width="match_parent"
  159.                                    android:layout_height="wrap_content"
  160.                                    android:layout_marginLeft="@dimen/small_padding"
  161.                                    android:layout_marginRight="@dimen/small_padding"
  162.                                    android:text="@string/kategoriBisnis"
  163.                                    android:textColor="#353a41"
  164.                                    android:textStyle="bold" />
  165.  
  166.                                 <TextView
  167.                                    android:id="@+id/descTransaction"
  168.                                    android:layout_width="match_parent"
  169.                                    android:layout_height="wrap_content"
  170.                                    android:textColor="#353a41"
  171.                                    android:text="@string/hint_description"
  172.                                    android:layout_marginLeft="@dimen/small_padding"
  173.                                    android:layout_marginRight="@dimen/small_padding"
  174.                                    />
  175.  
  176.                             </LinearLayout>
  177.  
  178.                         </LinearLayout>
  179.  
  180.                     </LinearLayout>
  181.  
  182.                 </android.support.v7.widget.CardView>
  183.  
  184.             </LinearLayout>
  185.  
  186.             <TextView
  187.                android:id="@+id/tvHeaderSecondCard"
  188.                android:layout_width="wrap_content"
  189.                android:layout_height="wrap_content"
  190.                android:textSize="13sp"
  191.                android:textStyle="normal"
  192.                android:textColor="#000000"
  193.                android:layout_marginLeft="@dimen/large_padding"
  194.                android:layout_marginRight="@dimen/large_padding"
  195.                android:layout_marginTop="@dimen/large_padding"
  196.                android:layout_marginBottom="@dimen/medium_padding"
  197.                android:paddingTop="@dimen/small_padding"
  198.                android:text="@string/subtitle_detail_pelanggan" />
  199.  
  200.         <LinearLayout
  201.            android:layout_width="match_parent"
  202.            android:layout_height="wrap_content"
  203.            android:orientation="vertical">
  204.  
  205.             <android.support.v7.widget.CardView
  206.                android:id="@+id/secondCard"
  207.                android:layout_width="match_parent"
  208.                android:layout_height="wrap_content"
  209.                android:layout_marginBottom="@dimen/medium_padding"
  210.                android:paddingBottom="@dimen/xtralarge_padding"
  211.                app:cardElevation="4dp">
  212.  
  213.                 <LinearLayout
  214.                    android:layout_width="match_parent"
  215.                    android:layout_height="wrap_content"
  216.                    android:layout_marginLeft="42dp"
  217.                    android:layout_marginRight="42dp"
  218.                    android:layout_marginTop="@dimen/medium_padding"
  219.                    android:layout_marginBottom="@dimen/medium_padding"
  220.                    android:orientation="vertical">
  221.  
  222.                     <LinearLayout
  223.                        android:layout_width="match_parent"
  224.                        android:layout_height="wrap_content"
  225.                        android:orientation="horizontal">
  226.  
  227.                         <ImageView
  228.                            android:id="@+id/iconCSName"
  229.                            android:layout_width="match_parent"
  230.                            android:layout_height="wrap_content"
  231.                            android:layout_gravity="center"
  232.                            android:layout_weight="4"
  233.                            android:src="@drawable/ic_detail_cs_name"
  234.                            android:contentDescription="@string/img_desc"/>
  235.  
  236.                         <LinearLayout
  237.                            android:layout_width="match_parent"
  238.                            android:layout_height="wrap_content"
  239.                            android:layout_weight="1"
  240.                            android:orientation="vertical">
  241.  
  242.                             <TextView
  243.                                android:id="@+id/tvCSName"
  244.                                android:layout_width="match_parent"
  245.                                android:layout_height="wrap_content"
  246.                                android:layout_marginLeft="@dimen/small_padding"
  247.                                android:layout_marginRight="@dimen/small_padding"
  248.                                android:text="@string/kategoriBisnis"
  249.                                android:textColor="#353a41"
  250.                                android:textStyle="bold" />
  251.  
  252.                             <TextView
  253.                                android:id="@+id/tvCSPhone"
  254.                                android:layout_width="match_parent"
  255.                                android:layout_height="wrap_content"
  256.                                android:text="@string/hint_description"
  257.                                android:textColor="#353a41"
  258.                                android:layout_marginLeft="@dimen/small_padding"
  259.                                android:layout_marginRight="@dimen/small_padding" />
  260.  
  261.                         </LinearLayout>
  262.  
  263.                     </LinearLayout>
  264.  
  265.                     <View
  266.                        android:id="@+id/dividerBankAcc"
  267.                        android:layout_width="match_parent"
  268.                        android:layout_height="2dp"
  269.                        android:layout_marginTop="@dimen/small_padding"
  270.                        android:layout_marginBottom="@dimen/small_padding"
  271.                        android:background="#e7e7e9"
  272.                        android:visibility="gone"/>
  273.  
  274.                     <TextView
  275.                        android:id="@+id/labelBankAcc"
  276.                        android:layout_width="match_parent"
  277.                        android:layout_height="wrap_content"
  278.                        android:text="@string/textRekening"
  279.                        android:layout_marginTop="@dimen/small_padding"
  280.                        android:layout_marginBottom="@dimen/small_padding"
  281.                        android:paddingLeft="@dimen/large_padding"
  282.                        android:paddingRight="@dimen/large_padding"
  283.                        android:paddingStart="@dimen/large_padding"
  284.                        android:textSize="14sp"
  285.                        android:visibility="gone"/>
  286.  
  287.                     <TextView
  288.                        android:id="@+id/tvCSBankAcc"
  289.                        android:layout_width="match_parent"
  290.                        android:layout_height="wrap_content"
  291.                        tools:text="MANDIRI - 90 000 2477 3252"
  292.                        android:textSize="16sp"
  293.                        android:textColor="@color/black"
  294.                        android:paddingLeft="@dimen/large_padding"
  295.                        android:paddingRight="@dimen/large_padding"
  296.                        android:paddingStart="@dimen/large_padding"
  297.                        android:paddingTop="4dp"
  298.                        android:paddingBottom="4dp"
  299.                        android:background="#edf2f8"
  300.                        android:letterSpacing="0.02"
  301.                        android:layout_marginTop="@dimen/small_padding"
  302.                        android:layout_marginBottom="@dimen/small_padding"
  303.                        android:layout_marginLeft="@dimen/large_padding"
  304.                        android:layout_marginStart="@dimen/large_padding"
  305.                        android:layout_marginRight="@dimen/large_padding"
  306.                        android:layout_marginEnd="@dimen/large_padding"
  307.                        android:visibility="gone"/>
  308.  
  309.                     <View
  310.                        android:id="@+id/dividerEmailAdd"
  311.                        android:layout_width="match_parent"
  312.                        android:layout_height="2dp"
  313.                        android:layout_marginTop="@dimen/small_padding"
  314.                        android:layout_marginBottom="@dimen/small_padding"
  315.                        android:background="#e7e7e9"
  316.                        android:visibility="gone"/>
  317.  
  318.                     <LinearLayout
  319.                        android:layout_width="match_parent"
  320.                        android:layout_height="wrap_content"
  321.                        android:layout_marginTop="@dimen/medium_padding"
  322.                        android:orientation="horizontal"
  323.                        android:visibility="gone">
  324.  
  325.                         <ImageView
  326.                            android:id="@+id/iconCSemail"
  327.                            android:layout_width="match_parent"
  328.                            android:layout_height="wrap_content"
  329.                            android:layout_gravity="center"
  330.                            android:layout_weight="4"
  331.                            android:src="@drawable/ic_detail_cs_email"/>
  332.  
  333.                         <LinearLayout
  334.                            android:layout_width="match_parent"
  335.                            android:layout_height="wrap_content"
  336.                            android:layout_weight="1"
  337.                            android:layout_gravity="center_vertical"
  338.                            android:orientation="vertical">
  339.  
  340.                             <TextView
  341.                                android:id="@+id/tvCSemail"
  342.                                android:layout_width="match_parent"
  343.                                android:layout_height="wrap_content"
  344.                                android:layout_marginLeft="@dimen/medium_padding"
  345.                                android:layout_marginStart="@dimen/medium_padding"
  346.                                android:text="@string/textRekening"
  347.                                android:textColor="#353a41"
  348.                                android:textSize="14sp" />
  349.  
  350.                         </LinearLayout>
  351.  
  352.  
  353.  
  354.                     </LinearLayout>
  355.  
  356.                     <LinearLayout
  357.                        android:layout_width="match_parent"
  358.                        android:layout_height="wrap_content"
  359.                        android:layout_marginTop="@dimen/medium_padding"
  360.                        android:orientation="horizontal"
  361.                        android:visibility="gone">
  362.  
  363.                         <ImageView
  364.                            android:id="@+id/iconCSAddress"
  365.                            android:layout_width="match_parent"
  366.                            android:layout_height="wrap_content"
  367.                            android:layout_gravity="center"
  368.                            android:layout_weight="4"
  369.                            android:src="@drawable/ic_detail_cs_address"/>
  370.  
  371.                         <LinearLayout
  372.                            android:layout_width="match_parent"
  373.                            android:layout_height="wrap_content"
  374.                            android:layout_weight="1"
  375.                            android:layout_gravity="center_vertical"
  376.                            android:orientation="vertical">
  377.  
  378.                             <TextView
  379.                                android:id="@+id/tvCSaddress"
  380.                                android:layout_width="match_parent"
  381.                                android:layout_height="wrap_content"
  382.                                tools:text="Jalan Saminten 3 no.120"
  383.                                android:layout_marginLeft="@dimen/medium_padding"
  384.                                android:layout_marginStart="@dimen/medium_padding"
  385.                                android:textSize="14sp"
  386.                                android:textColor="#353a41" />
  387.                         </LinearLayout>
  388.  
  389.  
  390.  
  391.                     </LinearLayout>
  392.  
  393.                 </LinearLayout>
  394.  
  395.             </android.support.v7.widget.CardView>
  396.  
  397.             <TextView
  398.                android:id="@+id/tvHeaderThirdCard"
  399.                android:layout_width="wrap_content"
  400.                android:layout_height="wrap_content"
  401.                android:textSize="13sp"
  402.                android:textStyle="normal"
  403.                android:textColor="#000000"
  404.                android:layout_marginLeft="@dimen/large_padding"
  405.                android:layout_marginRight="@dimen/large_padding"
  406.                android:layout_marginTop="@dimen/large_padding"
  407.                android:layout_marginBottom="@dimen/medium_padding"
  408.                android:paddingTop="@dimen/small_padding"
  409.                android:text="@string/subtitle_riwayatPiutang" />
  410.  
  411.             <android.support.v7.widget.CardView
  412.                android:id="@+id/thirdCard"
  413.                android:layout_width="match_parent"
  414.                android:layout_height="wrap_content"
  415.                android:layout_marginBottom="@dimen/medium_padding"
  416.                android:paddingBottom="@dimen/large_padding"
  417.                app:cardElevation="4dp">
  418.  
  419.                 <android.support.v4.widget.NestedScrollView
  420.                    android:layout_width="match_parent"
  421.                    android:layout_height="match_parent"
  422.                    android:layout_marginLeft="40dp"
  423.                    android:layout_marginRight="40dp">
  424.  
  425.                     <LinearLayout
  426.                        android:layout_width="match_parent"
  427.                        android:layout_height="wrap_content"
  428.                        android:orientation="vertical">
  429.  
  430.                         <android.support.v7.widget.RecyclerView
  431.                            android:id="@+id/rvlistInstallment"
  432.                            android:layout_width="match_parent"
  433.                            android:layout_height="wrap_content"
  434.                            android:clipToPadding="false"
  435.                            android:divider="@null"
  436.                            android:dividerHeight="0dp"
  437.                            android:layout_marginTop="@dimen/small_padding"
  438.                            android:layout_marginBottom="@dimen/small_padding"
  439.                            app:elevation="@dimen/medium_padding" />
  440.  
  441.                     </LinearLayout>
  442.  
  443.                 </android.support.v4.widget.NestedScrollView>
  444.  
  445.  
  446.             </android.support.v7.widget.CardView>
  447.  
  448.         </LinearLayout>
  449.  
  450.         </LinearLayout>
  451.  
  452.     </ScrollView>
  453.  
  454. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement