| <?xml version="1.0" encoding="utf-8"?> |
| <androidx.coordinatorlayout.widget.CoordinatorLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| xmlns:tools="http://schemas.android.com/tools" |
| android:id="@+id/clPayroll" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:orientation="vertical" |
| android:visibility="visible"> |
| |
| <androidx.cardview.widget.CardView |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| android:id="@+id/cvPayroll" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:background="@color/white" |
| android:clickable="true" |
| android:foreground="?android:attr/selectableItemBackground" |
| android:visibility="visible" |
| app:cardElevation="4dp"> |
| |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:orientation="vertical" |
| android:padding="@dimen/layout_padding_16dp"> |
| |
| <TextView |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:paddingBottom="@dimen/layout_padding_4dp" |
| android:text="@string/details" |
| android:textColor="@color/colorSecondaryText" |
| android:textSize="@dimen/text_size_12sp" /> |
| |
| |
| <LinearLayout |
| android:id="@+id/llAccount" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal" |
| android:paddingBottom="@dimen/layout_padding_16dp"> |
| |
| <ImageView |
| style="@style/circleLayout" |
| android:layout_width="35dp" |
| android:layout_height="35dp" |
| android:layout_gravity="center" |
| app:srcCompat="@drawable/ic_account_balance_black_24dp" /> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginLeft="@dimen/layout_padding_8dp" |
| android:layout_marginStart="@dimen/layout_padding_8dp" |
| android:orientation="vertical"> |
| |
| <TextView |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/account" /> |
| |
| <TextView |
| android:id="@+id/tvAccount" |
| style="@style/Base.TextAppearance.AppCompat.Small" |
| android:layout_width="wrap_content" |
| android:layout_height="match_parent" |
| android:textSize="@dimen/text_size_12sp" |
| tools:text="account number" /> |
| |
| </LinearLayout> |
| |
| |
| </LinearLayout> |
| |
| <LinearLayout |
| android:id="@+id/llCreatedBy" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal" |
| android:paddingBottom="@dimen/layout_padding_16dp"> |
| |
| <ImageView |
| style="@style/circleLayout" |
| android:layout_width="35dp" |
| android:layout_height="35dp" |
| android:layout_gravity="center" |
| app:srcCompat="@drawable/ic_account_balance_wallet_black_24dp" /> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginLeft="@dimen/layout_padding_8dp" |
| android:layout_marginStart="@dimen/layout_padding_8dp" |
| android:orientation="vertical"> |
| |
| <TextView |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/created_by" /> |
| |
| <TextView |
| android:id="@+id/tvCreatedBy" |
| style="@style/Base.TextAppearance.AppCompat.Small" |
| android:layout_width="wrap_content" |
| android:layout_height="match_parent" |
| android:textSize="@dimen/text_size_12sp" |
| tools:text="created by" /> |
| |
| </LinearLayout> |
| |
| |
| </LinearLayout> |
| |
| <LinearLayout |
| android:id="@+id/llLastModifiedBy" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal" |
| android:paddingBottom="@dimen/layout_padding_16dp"> |
| |
| <ImageView |
| style="@style/circleLayout" |
| android:layout_width="35dp" |
| android:layout_height="35dp" |
| android:layout_gravity="center" |
| app:srcCompat="@drawable/ic_account_balance_wallet_black_24dp" /> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginLeft="@dimen/layout_padding_8dp" |
| android:layout_marginStart="@dimen/layout_padding_8dp" |
| android:orientation="vertical"> |
| |
| <TextView |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/last_modified_by" /> |
| |
| <TextView |
| android:id="@+id/tvLastModifiedBy" |
| style="@style/Base.TextAppearance.AppCompat.Small" |
| android:layout_width="wrap_content" |
| android:layout_height="match_parent" |
| android:textSize="@dimen/text_size_12sp" |
| tools:text="last modified by" /> |
| |
| </LinearLayout> |
| |
| |
| </LinearLayout> |
| |
| <LinearLayout |
| android:id="@+id/llPayrollAllocations" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:orientation="horizontal"> |
| |
| <ImageView |
| style="@style/circleLayout" |
| android:layout_width="35dp" |
| android:layout_height="35dp" |
| android:layout_gravity="center" |
| app:srcCompat="@drawable/ic_people_black_24dp" /> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:layout_marginLeft="@dimen/layout_padding_8dp" |
| android:layout_marginStart="@dimen/layout_padding_8dp" |
| android:orientation="vertical"> |
| |
| <TextView |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/payroll_allocation" /> |
| |
| <TextView |
| android:id="@+id/tvPayrollAllocations" |
| style="@style/Base.TextAppearance.AppCompat.Small" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:textSize="@dimen/text_size_12sp" |
| tools:text=" account1\n account2" /> |
| |
| </LinearLayout> |
| |
| </LinearLayout> |
| |
| </LinearLayout> |
| |
| |
| </androidx.cardview.widget.CardView> |
| |
| <include |
| android:id="@+id/layoutError" |
| layout="@layout/layout_exception_handler" |
| android:visibility="gone" /> |
| |
| <com.google.android.material.floatingactionbutton.FloatingActionButton |
| android:clickable="true" |
| android:focusable="true" |
| android:id="@+id/fabEditPayroll" |
| android:layout_gravity="bottom|end" |
| android:layout_height="wrap_content" |
| android:layout_margin="@dimen/fab_margin" |
| android:layout_width="wrap_content" |
| android:tint="@color/white" |
| app:srcCompat="@drawable/ic_edit_black_24dp"/> |
| |
| </androidx.coordinatorlayout.widget.CoordinatorLayout> |