Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stefan-niedermann/nextcloud-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/item_notes_list_note_item_grid.xml13
-rw-r--r--app/src/main/res/layout/item_notes_list_note_item_grid_only_title.xml13
-rw-r--r--app/src/main/res/layout/item_notes_list_note_item_with_excerpt.xml12
-rw-r--r--app/src/main/res/layout/item_notes_list_note_item_without_excerpt.xml12
4 files changed, 48 insertions, 2 deletions
diff --git a/app/src/main/res/layout/item_notes_list_note_item_grid.xml b/app/src/main/res/layout/item_notes_list_note_item_grid.xml
index ecdea4ca..0139ce63 100644
--- a/app/src/main/res/layout/item_notes_list_note_item_grid.xml
+++ b/app/src/main/res/layout/item_notes_list_note_item_grid.xml
@@ -102,5 +102,16 @@
tools:text="@tools:sample/lorem/random" />
</FrameLayout>
</LinearLayout>
+
+ <com.google.android.material.button.MaterialButton
+ android:id="@+id/noteActions"
+ style="@style/Widget.Material3.Button.IconButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom|end"
+ android:contentDescription="@string/note_actions"
+ app:icon="@drawable/ic_dots_vertical"
+ app:iconTint="?android:textColorPrimary"
+ app:rippleColor="@color/fg_secondary" />
</LinearLayout>
-</com.google.android.material.card.MaterialCardView> \ No newline at end of file
+</com.google.android.material.card.MaterialCardView>
diff --git a/app/src/main/res/layout/item_notes_list_note_item_grid_only_title.xml b/app/src/main/res/layout/item_notes_list_note_item_grid_only_title.xml
index f60e5292..2a7b1f3a 100644
--- a/app/src/main/res/layout/item_notes_list_note_item_grid_only_title.xml
+++ b/app/src/main/res/layout/item_notes_list_note_item_grid_only_title.xml
@@ -56,5 +56,16 @@
android:textColor="@color/fg_default"
tools:maxLength="50"
tools:text="@tools:sample/lorem/random" />
+
+ <com.google.android.material.button.MaterialButton
+ android:id="@+id/noteActions"
+ style="@style/Widget.Material3.Button.IconButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom|end"
+ android:contentDescription="@string/note_actions"
+ app:icon="@drawable/ic_dots_vertical"
+ app:iconTint="?android:textColorPrimary"
+ app:rippleColor="@color/fg_secondary" />
</LinearLayout>
-</com.google.android.material.card.MaterialCardView> \ No newline at end of file
+</com.google.android.material.card.MaterialCardView>
diff --git a/app/src/main/res/layout/item_notes_list_note_item_with_excerpt.xml b/app/src/main/res/layout/item_notes_list_note_item_with_excerpt.xml
index 384a674b..542df48f 100644
--- a/app/src/main/res/layout/item_notes_list_note_item_with_excerpt.xml
+++ b/app/src/main/res/layout/item_notes_list_note_item_with_excerpt.xml
@@ -116,6 +116,18 @@
tools:text="@tools:sample/lorem/random" />
</LinearLayout>
</LinearLayout>
+
+ <com.google.android.material.button.MaterialButton
+ android:id="@+id/noteActions"
+ style="@style/Widget.Material3.Button.IconButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:contentDescription="@string/note_actions"
+ app:icon="@drawable/ic_dots_vertical"
+ app:iconTint="?android:textColorPrimary"
+ app:rippleColor="@color/fg_secondary" />
+
</LinearLayout>
</FrameLayout>
diff --git a/app/src/main/res/layout/item_notes_list_note_item_without_excerpt.xml b/app/src/main/res/layout/item_notes_list_note_item_without_excerpt.xml
index f7e42863..874dd48b 100644
--- a/app/src/main/res/layout/item_notes_list_note_item_without_excerpt.xml
+++ b/app/src/main/res/layout/item_notes_list_note_item_without_excerpt.xml
@@ -88,6 +88,18 @@
android:textSize="@dimen/secondary_font_size"
tools:maxLength="15"
tools:text="@tools:sample/lorem/random" />
+
+ <com.google.android.material.button.MaterialButton
+ android:id="@+id/noteActions"
+ style="@style/Widget.Material3.Button.IconButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:contentDescription="@string/note_actions"
+ app:icon="@drawable/ic_dots_vertical"
+ app:iconTint="?android:textColorPrimary"
+ app:rippleColor="@color/fg_secondary" />
+
</LinearLayout>
</FrameLayout>