Coder Social home page Coder Social logo

Comments (4)

yzheka avatar yzheka commented on August 23, 2024

Just add some padding to SearchOrbView

from leanback-showcase.

aglt avatar aglt commented on August 23, 2024

@yzheka the problem is not that the orb it self is being clipped off, the problem is that the drop shadow is square when the orb has focus. So changing the padding does not solve anything.
image

from leanback-showcase.

yzheka avatar yzheka commented on August 23, 2024

I've added 16dp padding and it is solved problem for me (I also set clipToPadding=false and clipChildern=false)

from leanback-showcase.

aglt avatar aglt commented on August 23, 2024

Yes, clipChildren="false" and clipToPadding="false" is what I was missing.. This solves the issue! Thanks!

    <android.support.v17.leanback.widget.SearchOrbView
        android:id="@+id/search_orb_view"
        android:layout_height="wrap_content"
        android:layout_width="wrap_content"
        android:transitionGroup="true"
        android:layout_gravity="center_vertical|start"
        android:layout_marginTop="8dp"
        android:clipChildren="false"
        android:clipToPadding="false"
        android:padding="16dp" />

from leanback-showcase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.