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

github.com/stefan-niedermann/nextcloud-deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Niedermann <info@niedermann.it>2020-04-29 10:59:08 +0300
committerNiedermann IT-Dienstleistungen <stefan-niedermann@users.noreply.github.com>2020-05-02 18:11:04 +0300
commitb48a3cb3e8df4ffb9cc85da3ce78515c1c0ab9ee (patch)
treec92675e32a817635ac8d717aafc7a731f11f345c /app/src/main/res/layout
parent0b8cd951f55d89cf2550c01fb84c7f59ecea5b5e (diff)
Adjust all dialog paddings
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/dialog_add_comment.xml2
-rw-r--r--app/src/main/res/layout/dialog_board_manage_labels.xml2
-rw-r--r--app/src/main/res/layout/dialog_board_share.xml8
-rw-r--r--app/src/main/res/layout/dialog_stack_create.xml2
-rw-r--r--app/src/main/res/layout/dialog_text_color_input.xml2
-rw-r--r--app/src/main/res/layout/fragment_about_contribution_tab.xml3
-rw-r--r--app/src/main/res/layout/fragment_about_credits_tab.xml9
-rw-r--r--app/src/main/res/layout/fragment_about_license_tab.xml3
-rw-r--r--app/src/main/res/layout/item_access_control.xml3
-rw-r--r--app/src/main/res/layout/item_access_control_owner.xml3
-rw-r--r--app/src/main/res/layout/item_filter_label.xml9
-rw-r--r--app/src/main/res/layout/item_filter_user.xml3
12 files changed, 16 insertions, 33 deletions
diff --git a/app/src/main/res/layout/dialog_add_comment.xml b/app/src/main/res/layout/dialog_add_comment.xml
index c1fe90feb..1172943f4 100644
--- a/app/src/main/res/layout/dialog_add_comment.xml
+++ b/app/src/main/res/layout/dialog_add_comment.xml
@@ -2,7 +2,7 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:padding="@dimen/spacer_2x">
+ android:padding="?attr/dialogPreferredPadding">
<EditText
android:id="@+id/input"
diff --git a/app/src/main/res/layout/dialog_board_manage_labels.xml b/app/src/main/res/layout/dialog_board_manage_labels.xml
index 6581effb0..0792d8094 100644
--- a/app/src/main/res/layout/dialog_board_manage_labels.xml
+++ b/app/src/main/res/layout/dialog_board_manage_labels.xml
@@ -10,6 +10,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/spacer_2x"
android:orientation="horizontal">
<EditText
@@ -37,7 +38,6 @@
android:id="@+id/labels"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:paddingTop="@dimen/spacer_2x"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
tools:listitem="@layout/item_manage_label" />
</LinearLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/dialog_board_share.xml b/app/src/main/res/layout/dialog_board_share.xml
index fb7f146b7..e2b58c20f 100644
--- a/app/src/main/res/layout/dialog_board_share.xml
+++ b/app/src/main/res/layout/dialog_board_share.xml
@@ -4,15 +4,15 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:orientation="vertical">
+ android:orientation="vertical"
+ android:padding="?attr/dialogPreferredPadding">
<it.niedermann.nextcloud.deck.ui.view.ToggleAutoCompleteTextView
android:id="@+id/people"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/spacer_2x"
android:completionThreshold="1"
- android:layout_margin="@dimen/spacer_2x"
- android:layout_marginBottom="0dp"
android:hint="@string/hint_assign_people"
android:inputType="text" />
@@ -20,8 +20,6 @@
android:id="@+id/peopleList"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:padding="@dimen/spacer_2x"
- android:paddingTop="0dp"
android:scrollbarStyle="outsideOverlay"
android:scrollbars="vertical"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
diff --git a/app/src/main/res/layout/dialog_stack_create.xml b/app/src/main/res/layout/dialog_stack_create.xml
index 32db9b8c0..2f8a273b4 100644
--- a/app/src/main/res/layout/dialog_stack_create.xml
+++ b/app/src/main/res/layout/dialog_stack_create.xml
@@ -2,7 +2,7 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:padding="@dimen/spacer_2x">
+ android:padding="?attr/dialogPreferredPadding">
<EditText
android:id="@+id/input"
diff --git a/app/src/main/res/layout/dialog_text_color_input.xml b/app/src/main/res/layout/dialog_text_color_input.xml
index 321a9c1f0..fdaed6874 100644
--- a/app/src/main/res/layout/dialog_text_color_input.xml
+++ b/app/src/main/res/layout/dialog_text_color_input.xml
@@ -4,7 +4,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
- android:padding="@dimen/spacer_2x">
+ android:padding="?attr/dialogPreferredPadding">
<EditText
android:id="@+id/input"
diff --git a/app/src/main/res/layout/fragment_about_contribution_tab.xml b/app/src/main/res/layout/fragment_about_contribution_tab.xml
index dde29fd18..84a667e06 100644
--- a/app/src/main/res/layout/fragment_about_contribution_tab.xml
+++ b/app/src/main/res/layout/fragment_about_contribution_tab.xml
@@ -17,7 +17,6 @@
<TextView
android:id="@+id/about_source"
- style="?android:attr/editTextPreferenceStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:autoLink="web"
@@ -32,7 +31,6 @@
<TextView
android:id="@+id/about_issues"
- style="?android:attr/editTextPreferenceStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:autoLink="web"
@@ -47,7 +45,6 @@
<TextView
android:id="@+id/about_translate"
- style="?android:attr/editTextPreferenceStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:autoLink="web"
diff --git a/app/src/main/res/layout/fragment_about_credits_tab.xml b/app/src/main/res/layout/fragment_about_credits_tab.xml
index db2fc4aa6..cb2e4e1a3 100644
--- a/app/src/main/res/layout/fragment_about_credits_tab.xml
+++ b/app/src/main/res/layout/fragment_about_credits_tab.xml
@@ -27,7 +27,6 @@
android:layout_height="wrap_content">
<TextView
- style="?android:attr/editTextPreferenceStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="10dp"
@@ -38,7 +37,6 @@
<TextView
android:id="@+id/last_background_sync"
- style="?android:attr/editTextPreferenceStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="10dp"
@@ -56,7 +54,6 @@
<TextView
android:id="@+id/about_version"
- style="?android:attr/editTextPreferenceStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="10dp"
@@ -68,7 +65,6 @@
android:layout_height="wrap_content">
<TextView
- style="?android:attr/editTextPreferenceStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="10dp"
@@ -79,7 +75,6 @@
<TextView
android:id="@+id/about_server_app_version"
- style="?android:attr/editTextPreferenceStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="10dp"
@@ -98,7 +93,6 @@
<TextView
android:id="@+id/about_maintainer"
- style="?android:attr/editTextPreferenceStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="10dp"
@@ -111,7 +105,6 @@
android:text="@string/about_developers_title" />
<TextView
- style="?android:attr/editTextPreferenceStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="10dp"
@@ -125,7 +118,6 @@
<TextView
android:id="@+id/about_translators"
- style="?android:attr/editTextPreferenceStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="10dp"
@@ -138,7 +130,6 @@
android:text="@string/about_testers_title" />
<TextView
- style="?android:attr/editTextPreferenceStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="10dp"
diff --git a/app/src/main/res/layout/fragment_about_license_tab.xml b/app/src/main/res/layout/fragment_about_license_tab.xml
index 456058149..aac8e79a0 100644
--- a/app/src/main/res/layout/fragment_about_license_tab.xml
+++ b/app/src/main/res/layout/fragment_about_license_tab.xml
@@ -16,7 +16,6 @@
android:text="@string/about_app_license_title" />
<TextView
- style="?android:attr/editTextPreferenceStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="10dp"
@@ -38,7 +37,6 @@
<TextView
android:id="@+id/about_icons_disclaimer_app_icon"
- style="?android:attr/editTextPreferenceStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="10dp"
@@ -46,7 +44,6 @@
<TextView
android:id="@+id/about_icons_disclaimer_mdi_icons"
- style="?android:attr/editTextPreferenceStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="10dp"
diff --git a/app/src/main/res/layout/item_access_control.xml b/app/src/main/res/layout/item_access_control.xml
index ce0fc4ef3..87a0910b8 100644
--- a/app/src/main/res/layout/item_access_control.xml
+++ b/app/src/main/res/layout/item_access_control.xml
@@ -5,7 +5,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
- android:padding="@dimen/spacer_2x">
+ android:paddingTop="@dimen/spacer_2x"
+ android:paddingBottom="@dimen/spacer_2x">
<ImageView
android:id="@+id/avatar"
diff --git a/app/src/main/res/layout/item_access_control_owner.xml b/app/src/main/res/layout/item_access_control_owner.xml
index 786bdc1ca..1e70e8b50 100644
--- a/app/src/main/res/layout/item_access_control_owner.xml
+++ b/app/src/main/res/layout/item_access_control_owner.xml
@@ -5,7 +5,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
- android:padding="@dimen/spacer_2x">
+ android:paddingTop="@dimen/spacer_2x"
+ android:paddingBottom="@dimen/spacer_2x">
<ImageView
android:id="@+id/avatar"
diff --git a/app/src/main/res/layout/item_filter_label.xml b/app/src/main/res/layout/item_filter_label.xml
index 07561f64e..57870eb2c 100644
--- a/app/src/main/res/layout/item_filter_label.xml
+++ b/app/src/main/res/layout/item_filter_label.xml
@@ -5,11 +5,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
- android:orientation="horizontal"
- android:paddingStart="@dimen/spacer_1x"
- android:paddingLeft="@dimen/spacer_1x"
- android:paddingEnd="@dimen/spacer_1x"
- android:paddingRight="@dimen/spacer_1x">
+ android:orientation="horizontal">
<com.google.android.material.chip.Chip
android:id="@+id/label"
@@ -25,6 +21,7 @@
android:layout_marginLeft="@dimen/spacer_1x"
app:srcCompat="@drawable/selected"
app:layout_alignSelf="center"
- app:layout_flexShrink="0" />
+ app:layout_flexShrink="0"
+ tools:src="@drawable/ic_check_grey600_24dp" />
</com.google.android.flexbox.FlexboxLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/item_filter_user.xml b/app/src/main/res/layout/item_filter_user.xml
index 043f4416f..cb18d8013 100644
--- a/app/src/main/res/layout/item_filter_user.xml
+++ b/app/src/main/res/layout/item_filter_user.xml
@@ -6,7 +6,8 @@
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:orientation="horizontal"
- android:padding="@dimen/spacer_1x">
+ android:paddingTop="@dimen/spacer_1x"
+ android:paddingBottom="@dimen/spacer_1x">
<FrameLayout
android:layout_width="wrap_content"