Skip to content
Snippets Groups Projects
Commit 37a7a2d1 authored by rayhanp1402's avatar rayhanp1402
Browse files

feat: Transaction CRUD layout

parent c17c5ca2
3 merge requests!13Release,!11proper save for gmail,!6Transaction
......@@ -3,7 +3,20 @@
<component name="deploymentTargetDropDown">
<value>
<entry key="app">
<State />
<State>
<targetSelectedWithDropDown>
<Target>
<type value="QUICK_BOOT_TARGET" />
<deviceKey>
<Key>
<type value="VIRTUAL_DEVICE_PATH" />
<value value="C:\Users\Rayhan Hanif\.android\avd\Pixel_3a_API_34_extension_level_7_x86_64.avd" />
</Key>
</deviceKey>
</Target>
</targetSelectedWithDropDown>
<timeTargetWasSelectedWithDropDown value="2024-03-15T01:38:58.658981800Z" />
</State>
</entry>
</value>
</component>
......
<?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"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ui.transactions.TransactionsFragment">
android:orientation="vertical"
android:padding="16dp">
<TextView
android:id="@+id/text_transactions"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/textfield_label_judul" />
<EditText
android:id="@+id/editText_judul"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/textfield_label_nominal" />
<EditText
android:id="@+id/editText_nominal"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/textfield_label_kategori" />
<EditText
android:id="@+id/editText_kategori"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/textfield_label_lokasi" />
<EditText
android:id="@+id/editText_lokasi"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<Button
android:id="@+id/button_simpan"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="8dp"
android:textAlignment="center"
android:textSize="20sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
android:text="@string/button_save" />
</LinearLayout>
\ No newline at end of file
......@@ -14,4 +14,9 @@
<string name="invalid_username">Not a valid email</string>
<string name="invalid_password">Password must be >5 characters</string>
<string name="login_failed">"Login failed"</string>
<string name="textfield_label_judul">"Judul"</string>
<string name="textfield_label_nominal">"Nominal"</string>
<string name="textfield_label_kategori">"Kategori"</string>
<string name="textfield_label_lokasi">"Lokasi"</string>
<string name="button_save">"Simpan"</string>
</resources>
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment