mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-24 03:42:15 +00:00
Add: Delete and edit buttons to repo sheet
This commit is contained in:
parent
072f8cd5d0
commit
55184a7829
@ -1,5 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||||
|
|
||||||
<data>
|
<data>
|
||||||
|
|
||||||
@ -172,6 +173,27 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
|
<com.google.android.material.button.MaterialButton
|
||||||
|
android:id="@+id/delete"
|
||||||
|
style="@style/ThemeOverlay.Material3.Button.ElevatedButton"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="52dp"
|
||||||
|
android:layout_marginHorizontal="4dp"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:text="@string/delete"
|
||||||
|
android:textColor="?colorSurface"
|
||||||
|
app:backgroundTint="?colorError" />
|
||||||
|
|
||||||
|
<com.google.android.material.button.MaterialButton
|
||||||
|
android:id="@+id/edit_repository"
|
||||||
|
style="@style/ThemeOverlay.Material3.Button.ElevatedButton"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="52dp"
|
||||||
|
android:layout_marginHorizontal="4dp"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:backgroundTint="?colorPrimary"
|
||||||
|
android:text="@string/edit_repository"
|
||||||
|
android:textColor="?colorSurface" />
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||||
</com.google.android.material.circularreveal.CircularRevealFrameLayout>
|
</com.google.android.material.circularreveal.CircularRevealFrameLayout>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user