Comments (6)
I can use it normally. It works well on cardView.
here is my code
<android.support.v7.widget.CardView
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:id="@+id/card_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
card_view:cardBackgroundColor="@android:color/white"
android:layout_marginTop="200dp"
android:layout_centerHorizontal="true"
android:layout_marginBottom="5dp"
card_view:cardCornerRadius="10dp"
card_view:cardElevation="24dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:id="@+id/image_view"
android:layout_width="375dp"
android:layout_height="160dp"
android:layout_gravity="center_horizontal"
android:scaleType="centerCrop" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="51dp"
android:orientation="vertical">
<TextView
android:id="@+id/title_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="pavel"
android:layout_margin="8dp"
android:maxLines="3" />
<com.sackcentury.shinebuttonlib.ShineButton
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_centerInParent="true"
android:id="@+id/po_image8"
app:btn_color="#FF6666"
app:btn_fill_color="#999933"
app:siShape="@raw/heart"
android:layout_gravity="right"
android:layout_centerVertical="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"/>
<TextView
android:id="@+id/movie_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="robin"
android:layout_margin="8dp"
android:layout_alignParentBottom="true"
/>
</RelativeLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
</LinearLayout>
</LinearLayout>
</android.support.v7.widget.CardView>
from shinebutton.
Sorry bro still now this is not working.
<android.support.v7.widget.CardView xmlns:card_view="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/tools"
android:id="@+id/card_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
card_view:cardBackgroundColor="@android:color/white"
android:layout_centerHorizontal="true"
android:layout_marginBottom="5dp"
card_view:cardCornerRadius="10dp"
card_view:cardElevation="24dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:id="@+id/image_view"
android:layout_width="375dp"
android:layout_height="160dp"
android:layout_gravity="center_horizontal"
android:scaleType="centerCrop" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="51dp"
android:orientation="vertical">
<TextView
android:id="@+id/title_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="pavel"
android:layout_margin="8dp"
android:maxLines="3" />
<com.sackcentury.shinebuttonlib.ShineButton
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_centerInParent="true"
android:id="@+id/po_image8"
app:btn_color="#FF6666"
app:btn_fill_color="#999933"
app:siShape="@raw/heart"
android:layout_gravity="right"
android:layout_centerVertical="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"/>
<TextView
android:id="@+id/movie_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="robin"
android:layout_margin="8dp"
android:layout_alignParentBottom="true"
/>
</RelativeLayout>
</LinearLayout>
</android.support.v7.widget.CardView>
from shinebutton.
I think the problem is here i am using
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/tools"
this into xml file
from shinebutton.
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/tools"
Use them in any places ?remove them and try.
from shinebutton.
No it's not working if you can post your hole code then it will helpful for me to solve it.
from shinebutton.
Check out this commit 8d7518f
from shinebutton.
Related Issues (20)
- Need help
- Not clickable HOT 2
- It is not working with SVG? HOT 1
- can i rotate like button to dislike button?
- Animation doesn't work when FLAG_LAYOUT_NO_LIMITS is enabled
- Animation dos not work while keyboard is open. HOT 1
- Shine Animation location is different. HOT 2
- status
- Button not showing in API 26 and above
- when it used on Android P,the ring was out of position HOT 11
- Draw bug? HOT 1
- i want to use my custom picture in raw folder but it doesnt work HOT 1
- 无法更换点击后的图片 HOT 3
- How to set this button to clicked?
- Two Different SRC
- ShineView didn't remove after shine finished. HOT 1
- not removing shining effect after click to shine
- update dependecies maven central
- Please update the dependencies HOT 1
- Update dependecies maven central HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shinebutton.