X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fres%2Flayout%2Factivity_main.xml;h=43a1132a8aee541ff28c65a38f41d8db48fd29dc;hp=dacbcea8866eb46eb52c174ec736c6270f294035;hb=6f804160edb545b4cb774932cd0cd6b06ed79559;hpb=0628b3f6f00212726a03842dff2b169adb64c64c diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index dacbcea8..43a1132a 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -46,7 +46,7 @@ android:layout_height="wrap_content" android:layout_gravity="bottom|end" android:layout_margin="@dimen/fab_margin" - android:onClick="fab_new_transaction_clicked" + android:onClick="fabNewTransactionClicked" app:backgroundTint="@color/colorPrimary" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" @@ -57,10 +57,39 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" + android:theme="@style/AppTheme" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> + + + + + + + + + + @@ -107,8 +136,7 @@ android:padding="0dp" android:progressTint="@color/colorPrimary" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@+id/transaction_list_head" /> + app:layout_constraintStart_toStartOf="parent" /> + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintTop_toBottomOf="@+id/main_header"> @@ -150,116 +177,128 @@ android:fitsSystemWindows="true" android:theme="@style/ThemeOverlay.AppCompat.Light"> - + android:layout_marginBottom="0dp" + android:orientation="vertical"> - + android:divider="@drawable/list_divider" + android:elevation="2dp" + android:orientation="vertical" + android:showDividers="beginning" + app:layout_constraintBottom_toBottomOf="parent"> - - - + android:layout_weight="1" + android:drawableStart="@drawable/ic_view_list_black_24dp" + android:onClick="navProfilesClicked" + android:text="@string/profiles" /> - + - + - + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - +