Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

modify 'Drawables.md'. #146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AaronChanSunny wants to merge 2 commits into codepath:master from AaronChanSunny:feature/aaron

Conversation

@AaronChanSunny
Copy link

@AaronChanSunny AaronChanSunny commented Mar 7, 2016

In ‘Creating a Layer List’ part, should specify bottom shape's size:

<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
 <item>
 <shape 
 android:shape="rectangle">
 <size android:width="280dp" android:height="140dp"/>
 <stroke android:width="1dp" android:color="#585858" />
 <solid android:color="#FF9009" />
 <padding android:bottom="1dp"/>
 </shape>
 </item>
 <item android:left="10dp" android:top="20dp" android:bottom="20dp" android:right="150dp">
 <shape 
 android:shape="oval">
 <stroke android:width="1dp" android:color="#ffffff" />
 <solid android:color="#118C4E" />
 <padding android:bottom="1dp"/>
 </shape>
 </item>
 <item android:left="150dp" android:top="20dp" android:bottom="20dp" android:right="10dp">
 <shape 
 android:shape="rectangle">
 <stroke android:width="1dp" android:color="#ffffff" />
 <solid android:color="#C1E1A6" />
 <padding android:bottom="1dp"/>
 </shape>
 </item>
</layer-list>

Copy link
Member

nesquena commented Mar 7, 2016

Agreed, feel free to make any changes directly here: https://github.com/codepath/android_guides/wiki/Drawables/_edit

Copy link
Author

Updated Drawables.md file on the codepath repo :-)

Copy link
Member

nesquena commented Mar 8, 2016

Ok thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /