Coder Social home page Coder Social logo

android-lollipop-pencil-stencils's Introduction

Android Lollipop Stencils for Pencil


⚠️ No longer actively developed

Other commitments and the fact I no longer use Pencil mean this repo is no longer being actively worked on. Pull-requests with new features/fixes are still welcome, as are new issues, but my responses might not be the speediest 🙂


Collection of common Android Lollipop UI elements for Pencil. All in vector format.

Check out my other stencil collections for Pencil at nathanielw.github.io/pencil-stencils

Example mockup made with the collection

An example mockup using some of the included components

See #2 for a full list of included components - requests & contributions welcome!

Installation

  1. Download the zip for the latest release. (Make sure you grab the android-lollipop-pencil-stencils-vx.x.x.zip file, not the source code zip).
  2. In Pencil, install the .zip via Tools > Install new collection...
  3. Make sure the Hide Heavy Elements option in the View menu is unchecked

Updating

Right-click on the collection in Pencil's sidebar and choose Uninstall this collection before repeating the installation steps.

Notes

Works best with the Roboto font installed.

To change between Roboto's various font weights, use the Font Weight option in the element right-click menu.

Check out my Material Icons for Pencil repo if you want to use Google's Material Design Icons in your mockups.

Want to showcase your awesome mockups? Dani Guardiola's Material export template goes well with this stencil collection.

License

Released under the MIT License - see LICENSE for full text.

A link back here is appreciated when sharing mockups/images created with this collection, but not required.

android-lollipop-pencil-stencils's People

Contributors

nathanielw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-lollipop-pencil-stencils's Issues

Font weight resets after accessing shape properties

The collection has its default font set to have a weight of 500, which displays fine within Pencil.

However, after opening the properties for a shape and hitting "Apply" (even without changing anything) causes the font weight to reset. I assume this is because Pencil's UI doesn't let the weight be set to anything other than normal or bold.

Possible solution would be to force the font to be Roboto 500 and not let it be changed (better solution would be to just force the weight to be 500, but I'm not sure how possible that would be)

Implement UI components

From the Material Design guidelines:

  • Bottom sheet
  • Button
  • Floating Action Button
  • Card
  • Dialog [TODO: Add default buttons]
  • Divider
  • Grids
  • Lists
  • List controls
  • Menus
  • Pickers
  • Progress
  • Sliders
  • Snackbars
  • Toasts
  • Subheaders
  • Switches
  • Checkboxes
  • Radio buttons
  • Tabs
  • Text fields
  • Tooltips

Other:

  • Progress/Loading spinner
  • Text/label (this should probably allow choosing the font weight)
  • Navigation drawer/Sidebar (described in the Material Design on Android Checklist. Would be very similar to the bottom sheet)
  • Plain coloured rectangle
  • Dropdown list
  • Keyboard

Shadows?

I am starting to use Pencil for mock ups. I am pretty useless at it!
Question: in the homepage, your mockup (the card) seems to have shadows. How do you do that?

Transparent element

Some elements are transparent permanently. They do not have any background nor do they react to any changes to the background color change. Other elements do have background colors and react to color change

Some of the elements that have transparent backgrounds

  1. Buttons
  2. Floating Action Buttons
  3. Card
  4. Dialog
  5. Menu list

I am using Pencil 2.0.5 on Fedora 20 x64. I have tweaked almost all the options including opacity of individual element and collection, but neither helped.

Can't resize all elements

I can resize the floating action button, but not the phone or switch components. I'm on a 13-inch MacBook Air and the phone component doesn't fit on the canvas.

Not compatible with Pencil version 3.0

This stencils package is amazing, but it has some compatible errors. When I am using this package with Pencil version 3.0, all UI Icons are gone. There must be some errors after several times adding components. All kinds of the elements can not add again. Other additional packages run correctly.
Version: 3.0.0-rc.1

screenshot 2017-01-17 16 04 19

thumbnails are not showing in menu

I have zipped every file in main directory (definition, readme, icons, misc), imported template , (install new collection) by selecting zipped definition.

I'm new to pencil, but I'haven't found similar issue on pencil's repo.

I'm on windows 8.1

icons no show in menu

when i install the package and list the icons it show this.

2016-11-29 14_57_44-

but when i drag and drop the icons, they appaer o.O

Shadows aren't working quite right

I've added this collection to pencil, and I've created several mockups of a screen I want to create. One thing I've noticed is that the Card image doesn't seem to have a shadow appropriate to the way it's displayed on an actual device (via the cardElevation property). Even if I check the 'Shadow' box in the properties of the object, I am left with flat looking cards in my mockup:

screen shot 2016-02-02 at 1 19 38 pm

Resizing the Phone component

When I resize the Phone component, its top and bottom border are deformed:

capture d ecran 2017-02-22 a 14 33 19

(On left the default size, on right resized)

Is it possible to make it conserve the same ratio?

Hard time finding an alternative to Pencil

Hi @nathanielw, long-time user of your lollipop stencils here,

I understand this repo is no longer being maintained. However, I am curious as to what software you are using now instead of Pencil, which seems now kinda dead, for your Android mockups.

Thanks!

Non-opaque Text shape has text drawn in wrong place

When using a Text shape, setting the opacity of the text color to less than 100% results in the text being drawn outside of the box, in the upper-left corner of the canvas. Restoring opacity to 100% returns the text to its correct bounding box.

screen shot 2017-04-21 at 20 45 08

I am happy to submit a PR but I'm not even sure how to begin debugging this. Any hints are welcome.

Icons not showing

Icons are not visible at Shapes menu:

image

Installed via Manage collections...->Install From Repository...

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.