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:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/item_card_compact.xml6
-rw-r--r--app/src/main/res/layout/item_card_default.xml20
2 files changed, 10 insertions, 16 deletions
diff --git a/app/src/main/res/layout/item_card_compact.xml b/app/src/main/res/layout/item_card_compact.xml
index d3edfe2ba..3a14b0d43 100644
--- a/app/src/main/res/layout/item_card_compact.xml
+++ b/app/src/main/res/layout/item_card_compact.xml
@@ -22,8 +22,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
- android:paddingTop="@dimen/spacer_1x"
- android:paddingBottom="@dimen/spacer_1x">
+ android:paddingVertical="@dimen/spacer_1x">
<LinearLayout
android:layout_width="match_parent"
@@ -81,8 +80,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacer_1x"
android:animateLayoutChanges="true"
- android:paddingStart="@dimen/spacer_2x"
- android:paddingEnd="@dimen/spacer_2x"
+ android:paddingHorizontal="@dimen/spacer_2x"
app:flexWrap="nowrap"
tools:layout_height="@dimen/avatar_size" />
diff --git a/app/src/main/res/layout/item_card_default.xml b/app/src/main/res/layout/item_card_default.xml
index afc7ee138..7454129f4 100644
--- a/app/src/main/res/layout/item_card_default.xml
+++ b/app/src/main/res/layout/item_card_default.xml
@@ -30,16 +30,15 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
- android:paddingStart="@dimen/spacer_2x"
- android:paddingTop="@dimen/spacer_1x"
- android:paddingEnd="@dimen/spacer_2x">
+ android:paddingHorizontal="@dimen/spacer_2x"
+ android:paddingTop="@dimen/spacer_1x">
<com.google.android.material.textview.MaterialTextView
android:id="@+id/card_title"
android:layout_width="0dp"
android:layout_height="wrap_content"
- android:paddingVertical="2sp"
android:layout_weight="1"
+ android:paddingVertical="2sp"
android:textColor="?attr/colorAccent"
android:textSize="18sp"
tools:ignore="RtlSymmetry"
@@ -73,8 +72,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacer_1x"
android:animateLayoutChanges="true"
- android:paddingStart="@dimen/spacer_2x"
- android:paddingEnd="@dimen/spacer_2x"
+ android:paddingHorizontal="@dimen/spacer_2x"
app:flexWrap="nowrap"
tools:layout_height="@dimen/avatar_size" />
@@ -83,8 +81,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/spacer_1x"
android:baselineAligned="false"
- android:paddingStart="@dimen/spacer_1x"
- android:paddingEnd="@dimen/spacer_1x">
+ android:paddingHorizontal="@dimen/spacer_1x">
<LinearLayout
android:layout_width="0dp"
@@ -129,8 +126,7 @@
android:id="@+id/overlappingAvatars"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/spacer_1x"
- android:layout_marginEnd="@dimen/spacer_1x"
+ android:layout_marginHorizontal="@dimen/spacer_1x"
android:gravity="end"
android:orientation="horizontal"
tools:background="@tools:sample/avatars"
@@ -144,8 +140,8 @@
android:background="?attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/label_menu"
android:padding="@dimen/spacer_1hx"
- app:tint="?attr/colorAccent"
- app:srcCompat="@drawable/ic_menu" />
+ app:srcCompat="@drawable/ic_menu"
+ app:tint="?attr/colorAccent" />
</LinearLayout>
</LinearLayout>
</LinearLayout>