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/widget_create_note.xml')
-rw-r--r--app/src/main/res/layout/widget_create_note.xml20
1 files changed, 6 insertions, 14 deletions
diff --git a/app/src/main/res/layout/widget_create_note.xml b/app/src/main/res/layout/widget_create_note.xml
index 7ef09873..b101f38d 100644
--- a/app/src/main/res/layout/widget_create_note.xml
+++ b/app/src/main/res/layout/widget_create_note.xml
@@ -1,17 +1,9 @@
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/widget_create_note"
- android:layout_width="match_parent"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
+ android:layout_margin="@dimen/widget_margin"
android:clickable="true"
- android:orientation="vertical"
- android:padding="@dimen/widget_margin"
- android:focusable="true">
-
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical|center_horizontal"
- android:background="@drawable/ic_widget_create"
- android:contentDescription="@string/widget_create_note" />
-</LinearLayout> \ No newline at end of file
+ android:contentDescription="@string/widget_create_note"
+ android:focusable="true"
+ android:src="@drawable/ic_widget_create" /> \ No newline at end of file