singleLine to maxLines

This commit is contained in:
Andrew Rabert 2017-03-05 11:34:44 -05:00
parent 416846499a
commit 9fd800acb8
18 changed files with 43 additions and 43 deletions

View File

@ -53,7 +53,7 @@
android:layout_centerHorizontal="true"
android:layout_marginLeft="12dip"
android:layout_marginRight="12dip"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
android:gravity="center_horizontal"
android:textAppearance="?android:attr/textAppearanceMedium"
@ -68,7 +68,7 @@
android:layout_marginBottom="8dip"
android:layout_marginLeft="12dip"
android:layout_marginRight="12dip"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:textColorSecondary"

View File

@ -54,7 +54,7 @@
android:layout_centerHorizontal="true"
android:layout_marginLeft="12dip"
android:layout_marginRight="12dip"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
android:gravity="center_horizontal"
android:textAppearance="?android:attr/textAppearanceMedium"
@ -69,7 +69,7 @@
android:layout_marginBottom="8dip"
android:layout_marginLeft="12dip"
android:layout_marginRight="12dip"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:textColorSecondary"

View File

@ -60,7 +60,7 @@
android:layout_marginLeft="16dip"
android:layout_marginRight="16dip"
android:layout_marginTop="6dp"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
style="?attr/actionbarSubtitleStyle"
android:textColor="?android:textColorSecondary"/>
@ -72,7 +72,7 @@
android:layout_gravity="center_horizontal"
android:layout_marginLeft="16dip"
android:layout_marginRight="16dip"
android:singleLine="true"
android:maxLines="1"
android:textStyle="bold"
style="?attr/actionbarTitleStyle"
android:textColor="?android:textColorPrimary"/>

View File

@ -74,7 +74,7 @@
android:id="@+id/track_name"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:singleLine="true"
android:maxLines="1"
android:text="@string/main.title"
android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever"
@ -92,7 +92,7 @@
android:id="@+id/artist_name"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:singleLine="true"
android:maxLines="1"
android:text="@string/main.artist"
style="?attr/actionbarSubtitleStyle"/>
</LinearLayout>

View File

@ -41,7 +41,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="marquee"
android:text="@string/search.albums"
android:textColor="?android:textColorPrimary"
@ -58,7 +58,7 @@
android:layout_height="wrap_content"
android:textSize="12sp"
android:textColor="?android:textColorSecondary"
android:singleLine="true"
android:maxLines="1"
android:text="@string/search.artists"
android:paddingLeft="@dimen/Card.TextLeftPadding"/>
</LinearLayout>

View File

@ -31,7 +31,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="marquee"
android:paddingBottom="6dip"
android:textColor="?android:textColorPrimary"/>
@ -41,7 +41,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:singleLine="true"
android:maxLines="1"
android:textColor="?android:textColorSecondary"/>
</LinearLayout>

View File

@ -43,7 +43,7 @@
android:paddingLeft="4dip"
android:paddingRight="4dip"
android:paddingTop="4dip"
android:singleLine="true"
android:maxLines="1"
android:gravity="center_horizontal"
android:text="Title"
android:textColor="@color/appwidget_text"
@ -69,7 +69,7 @@
android:minHeight="12sp"
android:paddingLeft="4dip"
android:paddingRight="4dip"
android:singleLine="true"
android:maxLines="1"
android:gravity="center_horizontal"
android:text="Artist"
android:textColor="@color/appwidget_text"

View File

@ -46,7 +46,7 @@
android:paddingRight="4dip"
android:paddingTop="4dip"
android:paddingBottom="2dip"
android:singleLine="true"
android:maxLines="1"
android:gravity="center_horizontal"
android:text="Title"
android:textColor="@color/appwidget_text"
@ -73,7 +73,7 @@
android:paddingLeft="4dip"
android:paddingRight="4dip"
android:paddingBottom="2dip"
android:singleLine="true"
android:maxLines="1"
android:gravity="center_horizontal"
android:text="Artist"
android:textColor="@color/appwidget_text"
@ -90,7 +90,7 @@
android:paddingBottom="2dip"
android:paddingLeft="4dip"
android:paddingRight="4dip"
android:singleLine="true"
android:maxLines="1"
android:gravity="center_horizontal"
android:text="Album"
android:textColor="@color/appwidget_text"

View File

@ -46,7 +46,7 @@
android:minHeight="16sp"
android:paddingLeft="5dip"
android:paddingRight="5dip"
android:singleLine="true"
android:maxLines="1"
android:textColor="@color/appwidget_text"
android:textSize="16sp"
android:text="Title"
@ -73,7 +73,7 @@
android:minHeight="12sp"
android:paddingBottom="2dip"
android:paddingLeft="5dip"
android:singleLine="true"
android:maxLines="1"
android:text="Artist"
android:layout_gravity="center_horizontal"
android:gravity="center"

View File

@ -47,7 +47,7 @@
android:minHeight="16sp"
android:paddingLeft="5dip"
android:paddingRight="5dip"
android:singleLine="true"
android:maxLines="1"
android:textColor="@color/appwidget_text"
android:textSize="16sp"
android:text="Title"
@ -74,7 +74,7 @@
android:minHeight="12sp"
android:paddingBottom="2dip"
android:paddingLeft="5dip"
android:singleLine="true"
android:maxLines="1"
android:text="Artist"
android:layout_gravity="center_horizontal"
android:gravity="center"

View File

@ -20,7 +20,7 @@
android:paddingLeft="10dip"
android:paddingRight="3dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="marquee"
android:textColor="?android:textColorPrimary"/>

View File

@ -28,7 +28,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:textAppearance="?android:attr/textAppearanceMedium"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="marquee"
android:textColor="?android:textColorPrimary"
android:paddingLeft="@dimen/Card.TextLeftPadding"/>

View File

@ -15,7 +15,7 @@
android:paddingLeft="6dip"
android:paddingRight="6dip"
android:minHeight="50dip"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="marquee"
android:background="@android:color/transparent"
android:textColor="?android:textColorPrimary"/>

View File

@ -28,7 +28,7 @@
android:layout_gravity="left"
android:ellipsize="marquee"
android:focusable="true"
android:singleLine="true" />
android:maxLines="1" />
<TextView
android:id="@+id/notification_artist"
@ -38,7 +38,7 @@
android:layout_gravity="left"
android:ellipsize="end"
android:scrollHorizontally="true"
android:singleLine="true" />
android:maxLines="1" />
<TextView
android:id="@+id/notification_album"

View File

@ -32,7 +32,7 @@
android:layout_gravity="left|center_vertical"
android:ellipsize="marquee"
android:focusable="true"
android:singleLine="true" />
android:maxLines="1" />
<ImageButton
android:id="@+id/notification_close"
@ -52,7 +52,7 @@
android:layout_gravity="left"
android:ellipsize="end"
android:scrollHorizontally="true"
android:singleLine="true" />
android:maxLines="1" />
<TextView
android:id="@+id/notification_album"
@ -62,7 +62,7 @@
android:layout_gravity="left"
android:ellipsize="end"
android:scrollHorizontally="true"
android:singleLine="true"
android:maxLines="1"
android:paddingBottom="10dp"/>
<ImageView

View File

@ -11,7 +11,7 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:singleLine="true"/>
android:maxLines="1"/>
<CheckBox
android:id="@+id/save_playlist_overwrite"

View File

@ -25,7 +25,7 @@
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textStyle="bold"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever"
android:scrollHorizontally="true"
@ -44,7 +44,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
android:textColor="?android:textColorPrimary"/>
@ -55,7 +55,7 @@
android:layout_height="wrap_content"
android:paddingTop="14dip"
android:textAppearance="?android:attr/textAppearanceSmall"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="none"
android:textColor="?android:textColorSecondary"/>
@ -65,7 +65,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="none"
android:textColor="?android:textColorSecondary"/>

View File

@ -35,7 +35,7 @@
android:layout_weight="1"
android:layout_gravity="left|top"
android:textAppearance="?android:attr/textAppearanceMedium"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="marquee"
android:paddingLeft="6dip"
android:paddingRight="6dip"
@ -83,7 +83,7 @@
android:layout_weight="1"
android:layout_gravity="left|center_vertical"
android:textAppearance="?android:attr/textAppearanceSmall"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="middle"
android:paddingLeft="6dip"
android:textColor="?android:textColorSecondary"/>
@ -94,7 +94,7 @@
android:layout_height="wrap_content"
android:layout_gravity="right|center_vertical"
android:textAppearance="?android:attr/textAppearanceSmall"
android:singleLine="true"
android:maxLines="1"
android:paddingLeft="3dip"
android:paddingRight="4dip"
android:textColor="?android:textColorSecondary"/>