X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fres%2Flayout%2Factivity_main.xml;h=0f66ac3859d5d4773a67d40805bea8dba8003d33;hp=dacbcea8866eb46eb52c174ec736c6270f294035;hb=7ff1c26d71d1f13fab1d7e1dc93c0d9469b64236;hpb=0628b3f6f00212726a03842dff2b169adb64c64c diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index dacbcea8..0f66ac38 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"> + + + + + + + + + + @@ -126,10 +155,9 @@ android:id="@+id/root_frame" android:layout_width="match_parent" android:layout_height="0dp" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintTop_toBottomOf="@+id/main_header" app:layout_behavior="@string/appbar_scrolling_view_behavior" - > + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintTop_toBottomOf="@+id/main_header"> @@ -150,116 +178,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" /> - + - + - + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - +