mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
fix Combining Ellipsize and Maxlines (lint)
This commit is contained in:
parent
334a6852c6
commit
21d1c56e4d
13 changed files with 24 additions and 25 deletions
|
@ -50,7 +50,7 @@
|
|||
android:layout_gravity="center_vertical"
|
||||
android:textAppearance="?android:attr/textAppearanceLargePopupMenu"
|
||||
android:duplicateParentState="true"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="marquee"
|
||||
android:fadingEdge="horizontal" />
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
android:checkMark="?android:attr/listChoiceIndicatorMultiple"
|
||||
android:ellipsize="marquee"
|
||||
android:gravity="center_vertical"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="?android:attr/textAppearanceListItem"/>
|
||||
|
||||
</LinearLayout>
|
|
@ -34,7 +34,7 @@
|
|||
android:text="@string/share_with_edit_title"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Title"
|
||||
android:padding="@dimen/standard_padding"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="middle"
|
||||
/>
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
android:text="@string/username"
|
||||
android:id="@+id/userOrGroupName"
|
||||
android:layout_margin="12dp"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="middle"
|
||||
android:textColor="@color/black"/>
|
||||
</LinearLayout>
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
ownCloud Android client application
|
||||
Copyright (C) 2015 ownCloud Inc.
|
||||
|
@ -94,7 +93,7 @@
|
|||
android:layout_marginRight="@dimen/standard_quarter_margin"
|
||||
android:ellipsize="middle"
|
||||
android:gravity="center_horizontal"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="@string/placeholder_filename"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/grid_item_text_size" />
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
android:layout_marginLeft="@dimen/zero"
|
||||
android:layout_marginRight="@dimen/standard_quarter_margin"
|
||||
android:ellipsize="middle"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="@string/placeholder_filename"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/two_line_primary_text_size" />
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
<TextView android:id="@+id/title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="marquee"
|
||||
android:fadingEdge="horizontal"
|
||||
style="@style/Theme.ownCloud.NotificationText.Title"
|
||||
|
@ -46,7 +46,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/standard_eighth_margin_negative"
|
||||
android:layout_marginBottom="@dimen/standard_eighth_margin_negative"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:fadingEdge="horizontal"
|
||||
android:ellipsize="marquee"
|
||||
style="@style/Theme.ownCloud.NotificationText.Content"
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
android:layout_toEndOf="@+id/shareFileIcon"
|
||||
android:layout_toRightOf="@+id/shareFileIcon"
|
||||
android:ellipsize="middle"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="@string/placeholder_filename"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/two_line_primary_text_size"/>
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
android:layout_marginBottom="@dimen/standard_half_margin"
|
||||
android:layout_marginLeft="@dimen/standard_half_margin"
|
||||
android:textColor="@color/textColor"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="middle"
|
||||
android:layout_gravity="center_vertical"/>
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="middle"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:paddingBottom="@dimen/standard_half_padding"
|
||||
android:paddingRight="@dimen/standard_double_padding"
|
||||
android:paddingTop="@dimen/standard_half_padding"
|
||||
|
@ -100,7 +100,7 @@
|
|||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="middle"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:paddingBottom="@dimen/standard_half_padding"
|
||||
android:paddingRight="@dimen/standard_double_padding"
|
||||
android:paddingTop="@dimen/standard_half_padding"
|
||||
|
@ -134,7 +134,7 @@
|
|||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="middle"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:paddingBottom="@dimen/standard_half_padding"
|
||||
android:paddingRight="@dimen/standard_double_padding"
|
||||
android:paddingTop="@dimen/standard_half_padding"
|
||||
|
@ -167,7 +167,7 @@
|
|||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="middle"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:paddingBottom="@dimen/standard_half_padding"
|
||||
android:paddingRight="@dimen/standard_double_padding"
|
||||
android:paddingTop="@dimen/standard_half_padding"
|
||||
|
@ -202,7 +202,7 @@
|
|||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="middle"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:paddingBottom="@dimen/standard_half_padding"
|
||||
android:paddingRight="@dimen/standard_double_padding"
|
||||
android:paddingTop="@dimen/standard_half_padding"
|
||||
|
@ -235,7 +235,7 @@
|
|||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="middle"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:paddingBottom="@dimen/standard_half_padding"
|
||||
android:paddingRight="@dimen/standard_double_padding"
|
||||
android:paddingTop="@dimen/standard_half_padding"
|
||||
|
|
|
@ -224,7 +224,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="marquee"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="@string/auto_upload_on_wifi"
|
||||
android:textAppearance="?attr/textAppearanceListItem"/>
|
||||
|
||||
|
@ -271,7 +271,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="marquee"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="@string/instant_upload_on_charging"
|
||||
android:textAppearance="?attr/textAppearanceListItem"/>
|
||||
|
||||
|
@ -318,7 +318,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="marquee"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="@string/prefs_instant_upload_path_use_subfolders_title"
|
||||
android:textAppearance="?attr/textAppearanceListItem"/>
|
||||
|
||||
|
@ -373,7 +373,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="marquee"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="@string/prefs_instant_behaviour_title"
|
||||
android:textAppearance="?attr/textAppearanceListItem"/>
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:ellipsize="middle"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/textColor"
|
||||
android:text="@string/placeholder_filename"
|
||||
android:textSize="@dimen/two_line_primary_text_size" />
|
||||
|
@ -53,7 +53,7 @@
|
|||
android:gravity="left"
|
||||
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
||||
android:ellipsize="middle"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="@string/placeholder_filesize"
|
||||
android:textSize="@dimen/upload_list_item_text_size"/>
|
||||
<TextView
|
||||
|
@ -97,7 +97,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/list_item_lastmod_and_filesize_text"
|
||||
android:ellipsize="middle"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="@string/instant_upload_path"
|
||||
android:textSize="@dimen/upload_list_item_text_size_independent"/>
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
android:layout_marginLeft="@dimen/zero"
|
||||
android:layout_marginRight="@dimen/standard_quarter_margin"
|
||||
android:ellipsize="middle"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="TextView"
|
||||
android:textColor="@color/textColor"
|
||||
android:textSize="@dimen/two_line_primary_text_size" />
|
||||
|
|
Loading…
Reference in a new issue