Comments (15)
DatePicker has a known bug that I fixed in next version. And Material Library is intended to support Android 2.3+ . I think you should set the compatibility to 2.3 as there isn't many devices with Android 2.2.
from material.
Okay & thanx for quick response..!!
On Wed, Apr 1, 2015 at 11:06 AM, Rey Pham [email protected] wrote:
DatePicker has a known bug that I fixed in next version. And Material
Library is intended to support Android 2.3+ . I think you should set the
compatibility to 2.3 as there isn't many devices with Android 2.2.—
Reply to this email directly or view it on GitHub
#12 (comment).
from material.
How can I use Button with RippleEffect without having delay in Click bcoz
in my app on Button click method should be triggered asap..
So can you help me out in this situation??
On Wed, Apr 1, 2015 at 2:32 PM, akshay patel [email protected]
wrote:
Okay & thanx for quick response..!!
On Wed, Apr 1, 2015 at 11:06 AM, Rey Pham [email protected]
wrote:DatePicker has a known bug that I fixed in next version. And Material
Library is intended to support Android 2.3+ . I think you should set the
compatibility to 2.3 as there isn't many devices with Android 2.2.—
Reply to this email directly or view it on GitHub
#12 (comment).
from material.
You can set the delayClick
attribute of Button to false
. Please view this page for details.
from material.
ok and how can I change BackgroundColor of Button ??
On Wed, Apr 1, 2015 at 3:53 PM, Rey Pham [email protected] wrote:
You can set the delayClick attribute of Button to false . Please view this
page https://github.com/rey5137/Material/wiki/Button for details.—
Reply to this email directly or view it on GitHub
#12 (comment).
from material.
In XML is is showing Button with Colored Background but when I run the app
It doesnot show any Background Color ....& I have to use White Color as
Font Color
On Wed, Apr 1, 2015 at 3:58 PM, akshay patel [email protected]
wrote:
ok and how can I change BackgroundColor of Button ??
On Wed, Apr 1, 2015 at 3:53 PM, Rey Pham [email protected] wrote:
You can set the delayClick attribute of Button to false . Please view this
page https://github.com/rey5137/Material/wiki/Button for details.—
Reply to this email directly or view it on GitHub
#12 (comment).
from material.
Did you use the android:background
attribute?
You should use rd_background
attribute instead because Button with create a RippleDrawable object and set it as Button's background, override the value of android:background
attribute.
rd_background
attribute accept color or drawable resourceId value.
from material.
I cannot achieve this as your solution..!!!
Can you provide sample for the same to change Button BackGround Color and
Its FontColor both in example ??
On Wed, Apr 1, 2015 at 4:09 PM, Rey Pham [email protected] wrote:
Did you use the android:background attribute?
You should use rd_background attribute instead because Button with create
a RippleDrawable object and set it as Button's background, override the
value of android:background attribute.
rd_background attribute accept color or drawable resourceId value.—
Reply to this email directly or view it on GitHub
#12 (comment).
from material.
Can you provide me the current xml and Ripple Effect style you use?
from material.
Can you provide one sample please for the same ??
On Wed, Apr 1, 2015 at 4:46 PM, Rey Pham [email protected] wrote:
Can you provide me the current xml and Ripple Effect style you use?
—
Reply to this email directly or view it on GitHub
#12 (comment).
from material.
How can I use Dialog in ActionBarActivity not int Fragment ??
How can I show Dialogue in ActionBarActivity bcoz there is not any method
like builder.show() or builder.dismiss(), so how can I do like this ??
On Wed, Apr 1, 2015 at 4:52 PM, akshay patel [email protected]
wrote:
Can you provide one sample please for the same ??
On Wed, Apr 1, 2015 at 4:46 PM, Rey Pham [email protected] wrote:
Can you provide me the current xml and Ripple Effect style you use?
—
Reply to this email directly or view it on GitHub
#12 (comment).
from material.
How can I show Icon in the Dialogue box ???
On Wed, Apr 1, 2015 at 5:27 PM, akshay patel [email protected]
wrote:
How can I use Dialog in ActionBarActivity not int Fragment ??
How can I show Dialogue in ActionBarActivity bcoz there is not any method
like builder.show() or builder.dismiss(), so how can I do like this ??On Wed, Apr 1, 2015 at 4:52 PM, akshay patel [email protected]
wrote:Can you provide one sample please for the same ??
On Wed, Apr 1, 2015 at 4:46 PM, Rey Pham [email protected]
wrote:Can you provide me the current xml and Ripple Effect style you use?
—
Reply to this email directly or view it on GitHub
#12 (comment).
from material.
About sample, the demo app already has one in Button tab page. You can look at those raised Button in fragment_button.xml
. Here is one of those Ripple style:
<style name="RaiseButtonRippleStyle" parent="Material.Drawable.Ripple.Touch.Light">
<item name="rd_background">@drawable/bg_bt_raise</item>
...
</style>
You can see that I set rd_background
attribute to a 9-patch drawable, in your case it should be a color value. I want to see your current code to know how it didn't work for you.
About using Dialog in Activity, did you mean that you want to show Dialog directly without putting it into a DialogFragment. If so, you just need to create a Dialog object, apply style and call show()
method.
Dialog mDialog = new Dialog(context, styleId);
//apply some style
mDialog.applyStyle(styleId)
.title("Dialog title")
.positiveAction("OK")
.negativeAction("CANCEL");
//show dialog
mDialog.show();
Dialog.Buidler class only need when you want to store styling data and pass it to DialogFragment.
from material.
Here I have to Create Style For each button and I have 15 Button in One
Activity itself ..!!
So how can I do it with Simple Method ..??
BCoz I have to right 15 to 30 time different Style Method like
Where Only "@color/bg_color_btn1" will change So how can I reduce this
tedious task??
On Fri, Apr 3, 2015 at 12:50 PM, Rey Pham [email protected] wrote:
—
Reply to this email directly or view it on GitHub
#12 (comment).
from material.
I have released new 1.1.0 version. Now it will not ignore android:background
as before. Please go to Button Page for more details.
from material.
Related Issues (20)
- Dialog on the mainActivity HOT 1
- findViewById in Dialog with ContentView from a xml
- Failed to resolve with version 1.2.5 HOT 3
- Crashing when creating a Dialog
- pink color on api 27 HOT 3
- ProgressView颜色·
- migrate to AndroidX HOT 1
- Cannot build 1.2.5
- After Cloning Library and Rebuilding showing some errors HOT 1
- i use recyclerview with checkbox radiobutton of your material widgets,and it has ui bug,but when i use android widgets such as radiobutton checkbox,it has no ui bug HOT 1
- WE NEED FORK! HOT 2
- Failed to resolve with version 1.3.0 HOT 3
- 整合包错
- 被选中字体放大
- ERROR: Failed to resolve: com.github.rey5137:material:1.3.0 HOT 21
- Redundant cast when using androidx
- my checkbox didn't coming ..
- e commerce
- Checkboc Issue
- Widgets started showing errors HOT 1
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 material.