Removed gray background, white space is enough to distinguish elements and looks way better

This commit is contained in:
dankito 2020-10-03 03:16:37 +02:00
parent 97b78bd8c4
commit 3c5f63dcd2
2 changed files with 4 additions and 11 deletions

View File

@ -18,13 +18,14 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_marginBottom="@dimen/fragment_account_transaction_transactions_summary_margin_bottom"
>
<RelativeLayout
android:id="@+id/lytTransactionsSummary"
android:layout_width="match_parent"
android:layout_height="@dimen/fragment_account_transaction_transactions_summary_height"
android:layout_marginTop="4dp"
android:layout_marginTop="@dimen/fragment_account_transaction_transactions_summary_margin_top"
android:layout_marginLeft="@dimen/fragment_account_transaction_margin_start_and_end"
android:layout_marginStart="@dimen/fragment_account_transaction_margin_start_and_end"
android:layout_marginRight="@dimen/fragment_account_transaction_margin_start_and_end"
@ -57,21 +58,11 @@
</RelativeLayout>
<View
android:id="@+id/summaryAndTransactionsListDivider"
android:layout_width="match_parent"
android:layout_height="2dp"
android:paddingLeft="-12dp"
android:paddingRight="-12dp"
android:background="@color/formSectionDivideColor"
/>
<RelativeLayout
android:id="@+id/lytTopFetchAllTransactions"
android:layout_width="match_parent"
android:layout_height="@dimen/fragment_account_transaction_fetch_all_transactions_layout_height"
android:gravity="center"
android:background="@color/formSectionDivideColor"
>
<Button

View File

@ -48,6 +48,8 @@
<dimen name="fragment_account_transaction_margin_start_and_end">4dp</dimen>
<dimen name="fragment_account_transaction_transactions_summary_height">24dp</dimen>
<dimen name="fragment_account_transaction_transactions_summary_margin_top">4dp</dimen>
<dimen name="fragment_account_transaction_transactions_summary_margin_bottom">6dp</dimen>
<dimen name="fragment_account_transaction_fetch_transactions_button_height">40dp</dimen>
<dimen name="fragment_account_transaction_fetch_transactions_button_margin_top">18dp</dimen>
<dimen name="fragment_account_transaction_add_account_button_height">40dp</dimen>