105 lines
4.0 KiB
XML
105 lines
4.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout 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/main"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context=".ui.MainActivity">
|
|
|
|
<TextView
|
|
android:id="@+id/loanOverview"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/loan_overview"
|
|
android:textSize="20sp"
|
|
android:layout_marginTop="30dp"
|
|
android:paddingHorizontal="50dp"
|
|
android:paddingVertical="32dp"
|
|
android:drawablePadding="16dp"
|
|
app:drawableStartCompat="@drawable/loan_overview_24"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
<TextView
|
|
android:id="@+id/fixedCosts"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/fixed_costs"
|
|
android:textSize="20sp"
|
|
android:paddingHorizontal="50dp"
|
|
android:paddingVertical="32dp"
|
|
android:drawablePadding="16dp"
|
|
app:drawableStartCompat="@drawable/fixed_costs_24"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/loanOverview"/>
|
|
|
|
<TextView
|
|
android:id="@+id/bankTransaction"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/bank_Transaction"
|
|
android:textSize="20sp"
|
|
android:paddingHorizontal="50dp"
|
|
android:paddingVertical="32dp"
|
|
android:drawablePadding="16dp"
|
|
app:drawableStartCompat="@drawable/transaction_24"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/fixedCosts"/>
|
|
|
|
<TextView
|
|
android:id="@+id/monthlySummary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/monthly_summary"
|
|
android:textSize="20sp"
|
|
android:paddingHorizontal="50dp"
|
|
android:paddingVertical="32dp"
|
|
android:drawablePadding="16dp"
|
|
app:drawableStartCompat="@drawable/monthly_summary_24"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/bankTransaction"/>
|
|
|
|
<TextView
|
|
android:id="@+id/yearlySummary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/yearly_summary"
|
|
android:textSize="20sp"
|
|
android:paddingHorizontal="50dp"
|
|
android:paddingVertical="32dp"
|
|
android:drawablePadding="16dp"
|
|
app:drawableStartCompat="@drawable/yearly_summary_24"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/monthlySummary"/>
|
|
|
|
<TextView
|
|
android:id="@+id/updateTransaction"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/update_transaction"
|
|
android:textSize="20sp"
|
|
android:layout_marginBottom="30dp"
|
|
android:paddingHorizontal="50dp"
|
|
android:paddingVertical="32dp"
|
|
android:drawablePadding="16dp"
|
|
app:drawableStartCompat="@drawable/update_transaction_24"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/progressBarContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="#80000000"
|
|
android:gravity="center"
|
|
android:visibility="gone">
|
|
|
|
<ProgressBar
|
|
android:id="@+id/progressBar"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |