Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 8f921063 authored by Ido Ben-Hur's avatar Ido Ben-Hur
Browse files

ThemePicker: Allow text scroll in options title

Change-Id: I4f7318a1ebfb59d0a158695acaa3e9fc61d094a6
parent 53cfc442
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -49,6 +49,7 @@
        android:textAppearance="@style/OptionTitleTextAppearance"
        android:singleLine="true"
        android:scrollHorizontally="true"
        android:focusable="true"
        android:ellipsize="marquee"
        android:marqueeRepeatLimit="marquee_forever"/>
</LinearLayout>
+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@
        android:textAppearance="@style/OptionTitleTextAppearance"
        android:singleLine="true"
        android:scrollHorizontally="true"
        android:focusable="true"
        android:ellipsize="marquee"
        android:marqueeRepeatLimit="marquee_forever"/>
</LinearLayout>
+1 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@
        android:textAppearance="@style/OptionTitleTextAppearance"
        android:singleLine="true"
        android:scrollHorizontally="true"
        android:focusable="true"
        android:ellipsize="marquee"
        android:marqueeRepeatLimit="marquee_forever"/>
</LinearLayout>
+3 −0
Original line number Diff line number Diff line
@@ -207,6 +207,7 @@ public class OptionSelectorController<T extends CustomizationOption<T>> {
                }
                if (holder.labelView != null) {
                    holder.labelView.setText(option.getTitle());
                    holder.labelView.setSelected(true);
                }
                holder.itemView.setActivated(option.equals(mSelectedOption));
                option.bindThumbnailTile(holder.tileView);
@@ -383,6 +384,7 @@ public class OptionSelectorController<T extends CustomizationOption<T>> {
            if (labelView != null && !TextUtils.isEmpty(labelView.getText())) {
                labelView.setAccessibilityPaneTitle(cd);
                labelView.setContentDescription(cd);
                labelView.setSelected(true);
            } else if (tileView != null) {
                tileView.setAccessibilityPaneTitle(cd);
                tileView.setContentDescription(cd);
@@ -393,6 +395,7 @@ public class OptionSelectorController<T extends CustomizationOption<T>> {
            if (labelView != null && !TextUtils.isEmpty(labelView.getText())) {
                labelView.setAccessibilityPaneTitle(title);
                labelView.setContentDescription(title);
                labelView.setSelected(true);
            } else if (tileView != null) {
                tileView.setAccessibilityPaneTitle(title);
                tileView.setContentDescription(title);