X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fres%2Flayout%2Factivity_main.xml;h=3114bba18d8b5902447b72b89084684472b0bb25;hp=dacbcea8866eb46eb52c174ec736c6270f294035;hb=5098d2ce5cdf9389872bd4df7b77f5739d5064c2;hpb=0628b3f6f00212726a03842dff2b169adb64c64c diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index dacbcea8..3114bba1 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,136 @@ 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" /> - + - + - + + + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - +