Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Text Shadow Visibility on some text #27

Open
moosabaloch opened this issue Nov 28, 2016 · 4 comments
Open

Text Shadow Visibility on some text #27

moosabaloch opened this issue Nov 28, 2016 · 4 comments

Comments

@moosabaloch
Copy link

moosabaloch commented Nov 28, 2016

screen shot 2016-11-28 at 11 31 38 am
I have added text shadow on expanded text everything is working perfect but you can see the shadow of word urdu on background is not adjusted automatically..
code for style:

<style name="expTitle">
        <item name="android:shadowColor">@color/shadow_text_shadow</item>
        <item name="android:shadowDx">2</item>
        <item name="android:shadowDy">2</item>
        <item name="android:shadowRadius">1</item>
        <item name="android:textSize">23sp</item>
        <item name="android:textColor">@color/white</item>
</style>

Code in activity XML

<android.support.design.widget.AppBarLayout
        android:id="@+id/mainappbar"
        android:layout_width="match_parent"
        android:layout_height="300dp"
        android:fitsSystemWindows="true">

<net.opacapp.multilinecollapsingtoolbar.CollapsingToolbarLayout
            android:id="@+id/maincollapsing"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            app:contentScrim="?attr/colorPrimary"
            app:expandedTitleGravity="center|bottom"
            app:expandedTitleMarginBottom="?attr/actionBarSize"
            app:expandedTitleTextAppearance="@style/expTitle"
            app:layout_scrollFlags="scroll|exitUntilCollapsed"
            app:statusBarScrim="@android:color/transparent"
            app:titleEnabled="true"

            >.....
@johan12345
Copy link
Contributor

Thanks for the bug report. As we don't use any text shadows in our app, we have not tested this library with text shadows and the code for drawing them is unchanged from the original Design Support Library.

As written in the README, we unfortunately can't spend much time to fix problems like this, but pull requests are welcome!

@RaphaelRoyerRivard
Copy link

I'm having the same issue.

@apapalillo
Copy link

Same issue here. Good library, but shadows don't display correctly

@almaz010891
Copy link

I'm having the same issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants