Implemented displaying date below amount to spare left column
This commit is contained in:
parent
bf541bfe80
commit
2ef8a03e95
|
@ -5,28 +5,17 @@
|
|||
android:padding="@dimen/list_item_account_transaction_padding"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txtvwBookingDate"
|
||||
android:layout_width="@dimen/list_item_account_transaction_date_width"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:gravity="center_vertical"
|
||||
/>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_toRightOf="@+id/txtvwBookingDate"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_toLeftOf="@+id/txtvwAmount"
|
||||
android:layout_toEndOf="@+id/txtvwBookingDate"
|
||||
android:layout_toStartOf="@+id/txtvwAmount"
|
||||
android:layout_toLeftOf="@+id/lytAmountAndDate"
|
||||
android:layout_toStartOf="@+id/lytAmountAndDate"
|
||||
android:layout_marginLeft="@dimen/list_item_account_transaction_transaction_text_margin_left_and_right"
|
||||
android:layout_marginStart="@dimen/list_item_account_transaction_transaction_text_margin_left_and_right"
|
||||
android:layout_marginRight="@dimen/list_item_account_transaction_transaction_text_margin_left_and_right"
|
||||
|
@ -64,15 +53,38 @@
|
|||
</LinearLayout>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txtvwAmount"
|
||||
<RelativeLayout
|
||||
android:id="@+id/lytAmountAndDate"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="@dimen/list_item_account_transaction_amount_width"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:gravity="center_vertical|end"
|
||||
android:gravity="center_vertical"
|
||||
>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txtvwAmount"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:gravity="end"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txtvwBookingDate"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_below="@+id/txtvwAmount"
|
||||
android:layout_marginTop="@dimen/list_item_account_transaction_date_margin_top"
|
||||
android:gravity="end"
|
||||
/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
|
@ -16,8 +16,8 @@
|
|||
|
||||
<dimen name="list_item_account_transaction_height">100dp</dimen>
|
||||
<dimen name="list_item_account_transaction_padding">4dp</dimen>
|
||||
<dimen name="list_item_account_transaction_date_width">60dp</dimen>
|
||||
<dimen name="list_item_account_transaction_amount_width">70dp</dimen>
|
||||
<dimen name="list_item_account_transaction_date_margin_top">12dp</dimen>
|
||||
<dimen name="list_item_account_transaction_transaction_text_margin_left_and_right">4dp</dimen>
|
||||
<dimen name="list_item_account_transaction_other_party_name_margin_top_and_bottom">6dp</dimen>
|
||||
|
||||
|
|
Loading…
Reference in New Issue