Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:background="#f1f2f6"
- android:orientation="vertical"
- tools:context=".view.dashboard.piutang.PiUtangDetailActivity">
- <include layout="@layout/toolbar" />
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/xtralarge_padding"
- android:layout_marginBottom="@dimen/large_padding"
- android:layout_marginLeft="42dp"
- android:layout_marginRight="42dp"
- android:orientation="vertical"
- android:visibility="visible">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <ImageView
- android:id="@+id/redDotPiUtang"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="start"
- android:layout_marginRight="@dimen/medium_padding"
- android:src="@drawable/ic_oval_detailpiutang"
- android:layout_marginEnd="@dimen/medium_padding" />
- <TextView
- android:id="@+id/dotStatue"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="Belum Diterima"
- android:gravity="center_vertical"
- android:textSize="12sp"/>
- </LinearLayout>
- <TextView
- android:id="@+id/tvNominalPiUtangUpdated"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:text="Rp200,000,000"
- android:textColor="@color/black"
- android:gravity="center_vertical"
- android:textSize="32sp"/>
- <View
- android:layout_width="match_parent"
- android:layout_height="2dp"
- android:layout_marginTop="2dp"
- android:background="#C2C3C6" />
- <TextView
- android:id="@+id/tvDueDate"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="@dimen/small_padding"
- android:text="Jatuh Tempo: 1 Desember 2017"
- android:gravity="center_vertical"
- android:textSize="12sp"/>
- <Button
- android:id="@+id/payPiUtang"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:layout_marginTop="@dimen/large_padding"
- android:layout_marginBottom="@dimen/medium_padding"
- android:height="@dimen/action_button_min_height_material"
- android:background="@drawable/button_detail_piutang"
- android:text="@string/pay_Piutang"
- android:fontFamily="@font/varelaround_regular"
- tools:ignore="MissingPrefix"
- android:textAllCaps="false"
- android:textSize="18sp"
- android:textColor="#185b00" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <android.support.v7.widget.CardView
- android:id="@+id/firstCard"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="@dimen/medium_padding"
- android:paddingBottom="@dimen/large_padding"
- app:cardElevation="4dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="42dp"
- android:layout_marginRight="42dp"
- android:orientation="vertical">
- <TextView
- android:id="@+id/secondCardInfoDetail"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="@dimen/large_padding"
- android:layout_marginBottom="@dimen/medium_padding"
- android:text="Transaksi dibuat \n pada 1 Desember 2017 sejumlah Rp 300.000"
- android:gravity="center_vertical"
- android:textSize="12sp"/>
- <View
- android:layout_width="match_parent"
- android:layout_height="2dp"
- android:layout_marginBottom="@dimen/small_padding"
- android:background="#e7e7e9"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginBottom="@dimen/medium_padding"
- android:orientation="horizontal">
- <ImageView
- android:id="@+id/iconTransCategory"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_weight="4"
- android:src="@drawable/in_kategori_penjualan"
- android:contentDescription="@string/img_desc"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:id="@+id/transCategory"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/small_padding"
- android:layout_marginRight="@dimen/small_padding"
- android:text="@string/kategoriBisnis"
- android:textColor="#353a41"
- android:textStyle="bold" />
- <TextView
- android:id="@+id/descTransaction"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textColor="#353a41"
- android:text="@string/hint_description"
- android:layout_marginLeft="@dimen/small_padding"
- android:layout_marginRight="@dimen/small_padding"
- />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- </android.support.v7.widget.CardView>
- </LinearLayout>
- <TextView
- android:id="@+id/tvHeaderSecondCard"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textSize="13sp"
- android:textStyle="normal"
- android:textColor="#000000"
- android:layout_marginLeft="@dimen/large_padding"
- android:layout_marginRight="@dimen/large_padding"
- android:layout_marginTop="@dimen/large_padding"
- android:layout_marginBottom="@dimen/medium_padding"
- android:paddingTop="@dimen/small_padding"
- android:text="@string/subtitle_detail_pelanggan" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <android.support.v7.widget.CardView
- android:id="@+id/secondCard"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="@dimen/medium_padding"
- android:paddingBottom="@dimen/xtralarge_padding"
- app:cardElevation="4dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="42dp"
- android:layout_marginRight="42dp"
- android:layout_marginTop="@dimen/medium_padding"
- android:layout_marginBottom="@dimen/medium_padding"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <ImageView
- android:id="@+id/iconCSName"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_weight="4"
- android:src="@drawable/ic_detail_cs_name"
- android:contentDescription="@string/img_desc"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:id="@+id/tvCSName"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/small_padding"
- android:layout_marginRight="@dimen/small_padding"
- android:text="@string/kategoriBisnis"
- android:textColor="#353a41"
- android:textStyle="bold" />
- <TextView
- android:id="@+id/tvCSPhone"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/hint_description"
- android:textColor="#353a41"
- android:layout_marginLeft="@dimen/small_padding"
- android:layout_marginRight="@dimen/small_padding" />
- </LinearLayout>
- </LinearLayout>
- <View
- android:id="@+id/dividerBankAcc"
- android:layout_width="match_parent"
- android:layout_height="2dp"
- android:layout_marginTop="@dimen/small_padding"
- android:layout_marginBottom="@dimen/small_padding"
- android:background="#e7e7e9"
- android:visibility="gone"/>
- <TextView
- android:id="@+id/labelBankAcc"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/textRekening"
- android:layout_marginTop="@dimen/small_padding"
- android:layout_marginBottom="@dimen/small_padding"
- android:paddingLeft="@dimen/large_padding"
- android:paddingRight="@dimen/large_padding"
- android:paddingStart="@dimen/large_padding"
- android:textSize="14sp"
- android:visibility="gone"/>
- <TextView
- android:id="@+id/tvCSBankAcc"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- tools:text="MANDIRI - 90 000 2477 3252"
- android:textSize="16sp"
- android:textColor="@color/black"
- android:paddingLeft="@dimen/large_padding"
- android:paddingRight="@dimen/large_padding"
- android:paddingStart="@dimen/large_padding"
- android:paddingTop="4dp"
- android:paddingBottom="4dp"
- android:background="#edf2f8"
- android:letterSpacing="0.02"
- android:layout_marginTop="@dimen/small_padding"
- android:layout_marginBottom="@dimen/small_padding"
- android:layout_marginLeft="@dimen/large_padding"
- android:layout_marginStart="@dimen/large_padding"
- android:layout_marginRight="@dimen/large_padding"
- android:layout_marginEnd="@dimen/large_padding"
- android:visibility="gone"/>
- <View
- android:id="@+id/dividerEmailAdd"
- android:layout_width="match_parent"
- android:layout_height="2dp"
- android:layout_marginTop="@dimen/small_padding"
- android:layout_marginBottom="@dimen/small_padding"
- android:background="#e7e7e9"
- android:visibility="gone"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/medium_padding"
- android:orientation="horizontal"
- android:visibility="gone">
- <ImageView
- android:id="@+id/iconCSemail"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_weight="4"
- android:src="@drawable/ic_detail_cs_email"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:layout_gravity="center_vertical"
- android:orientation="vertical">
- <TextView
- android:id="@+id/tvCSemail"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/medium_padding"
- android:layout_marginStart="@dimen/medium_padding"
- android:text="@string/textRekening"
- android:textColor="#353a41"
- android:textSize="14sp" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/medium_padding"
- android:orientation="horizontal"
- android:visibility="gone">
- <ImageView
- android:id="@+id/iconCSAddress"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_weight="4"
- android:src="@drawable/ic_detail_cs_address"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:layout_gravity="center_vertical"
- android:orientation="vertical">
- <TextView
- android:id="@+id/tvCSaddress"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- tools:text="Jalan Saminten 3 no.120"
- android:layout_marginLeft="@dimen/medium_padding"
- android:layout_marginStart="@dimen/medium_padding"
- android:textSize="14sp"
- android:textColor="#353a41" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- </android.support.v7.widget.CardView>
- <TextView
- android:id="@+id/tvHeaderThirdCard"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textSize="13sp"
- android:textStyle="normal"
- android:textColor="#000000"
- android:layout_marginLeft="@dimen/large_padding"
- android:layout_marginRight="@dimen/large_padding"
- android:layout_marginTop="@dimen/large_padding"
- android:layout_marginBottom="@dimen/medium_padding"
- android:paddingTop="@dimen/small_padding"
- android:text="@string/subtitle_riwayatPiutang" />
- <android.support.v7.widget.CardView
- android:id="@+id/thirdCard"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="@dimen/medium_padding"
- android:paddingBottom="@dimen/large_padding"
- app:cardElevation="4dp">
- <android.support.v4.widget.NestedScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginLeft="40dp"
- android:layout_marginRight="40dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <android.support.v7.widget.RecyclerView
- android:id="@+id/rvlistInstallment"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:clipToPadding="false"
- android:divider="@null"
- android:dividerHeight="0dp"
- android:layout_marginTop="@dimen/small_padding"
- android:layout_marginBottom="@dimen/small_padding"
- app:elevation="@dimen/medium_padding" />
- </LinearLayout>
- </android.support.v4.widget.NestedScrollView>
- </android.support.v7.widget.CardView>
- </LinearLayout>
- </LinearLayout>
- </ScrollView>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement