Comments (6)
import flash.display.GradientType;
import mx.core.mx_internal;
use namespace mx_internal;
override protected function drawBackground(unscaledWidth:Number, unscaledHeight:Number):void
{
super.drawBackground(unscaledWidth, unscaledHeight);
colorMatrix.createGradientBox(unscaledWidth, unscaledHeight, Math.PI /2,0,0);
graphics.beginGradientFill(GradientType.LINEAR, [0x120CCA,0xBB00D1], [1,1],[0, 255],colorMatrix);
graphics.drawRect(0, 0, unscaledWidth, unscaledHeight);
graphics.endFill();
}
from flex-android-material-skins.
the old actionbar component used a gradient color, which is very similar to what you were looking for. The old tabbedViewNavigator component used images for the buttons.
you could look at that for a start.
from flex-android-material-skins.
Can you help me with changing the size of the tab bar? Is there a way to set the ButtonBarSkin height in
measuredWidth = dataGroup.measuredWidth; measuredHeight = dataGroup.measuredHeight;
via CSS or another way? If I hardcode it it works, but I don't think this is the best option.
The left is what I currently have. The right is what I am trying to achieve
I need some help to understand how to change the size the overall size of tabbar and icons.
Thank you.
from flex-android-material-skins.
I had actually worked on this a while ago and never merged it in, see if this will work.
I added in tabbedViewNavigatorSkin, here is the link to the .as file
https://github.com/quick6black/flex-Android-Material-Skins/blob/master/src/spark/skins/android5/TabbedViewNavigatorSkin.as
there is also one addition to the CSS file. In the skin file you can change the height of the tab bar and the button heights will update to match. Let me know if you have any issues
from flex-android-material-skins.
I will try it and let you know. I am building an awesome new app and your skins make flex really shine.
from flex-android-material-skins.
awesome, looking forward to seeing some screenshots of the UI
from flex-android-material-skins.
Related Issues (9)
- AIR 21 TextInput Skin HOT 3
- Spark List Ripple Animation lost when use itemRenderer HOT 1
- ScrollingStageTextInputSkin softkeyboard problem on focus HOT 7
- Can you add TabbedViewNavigatorTabBar Skin? HOT 3
- Can you please skin the MobileGrid HOT 5
- Numeric Stepper HOT 3
- Textinput skin different than StageTextInput HOT 3
- How to change the gap between Input and line? 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 flex-android-material-skins.