X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fres%2Flayout%2Factivity_main.xml;h=cce9ad17949b4911359b71090b9b3eccf4347f05;hp=abcf9fb866793ae3cac3153503f2450a17ee00e3;hb=b0a3715e2675b4b02deb8697f00e747ce95f002b;hpb=15ded8214c4afe61c3d46eaed8ce8ef0a43ef417 diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index abcf9fb8..cce9ad17 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -1,18 +1,18 @@ - - - - - - + android:layout_height="match_parent"> - - - - - - + android:layout_gravity="bottom|end" + android:layout_margin="@dimen/fab_margin" + app:backgroundTint="?colorAccent" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:srcCompat="@drawable/svg_thick_plus_white" /> - - - - - - - - - - - - - - - - - - - - - - + android:orientation="vertical" + android:theme="@style/AppTheme" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> + android:layout_height="match_parent" + android:orientation="horizontal" + android:visibility="gone"> - + android:background="@drawable/ic_filter_list_black_24dp" /> - + android:layout_weight="1" /> + android:background="@drawable/ic_clear_black_24dp" + android:backgroundTint="?colorAccent" + android:clickable="true" + android:focusable="true" /> + android:elevation="24dp" + android:orientation="horizontal"> - - + android:id="@+id/transaction_last_update_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingStart="8dp" + android:paddingEnd="8dp" + android:text="@string/transactions_last_update_label" + android:textColor="@android:color/tertiary_text_light" /> - + android:id="@+id/transactions_last_update" + style="@android:style/Widget.DeviceDefault.Light.TextView" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="\?" + android:textColor="@android:color/tertiary_text_light" + tools:ignore="HardcodedText" /> - - + + + android:indeterminate="true" + android:padding="0dp" + android:progressTint="?colorPrimary" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" /> - + android:id="@+id/transaction_list_cancel_download" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:background="@drawable/ic_clear_black_24dp" + android:clickable="true" + android:focusable="true" + android:onClick="onStopTransactionRefreshClick" /> - - + + + + + + + + + + + + + - + - +