Giter Site home page Giter Site logo

customviews's Introduction

CustomViews

This repository contains different types of CustomViews we can create in Android Application Development. I have also implemented Google Analytics.

  • Check out the APK here

Home Page:

Main

TextView:

<active.since93.librery.textview.CustomTextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="@dimen/text_padding"
        android:gravity="center"
        android:text="@string/text"
        android:textSize="@dimen/text_size"
        customtextview:typeface="Roboto-Light.ttf" />

Custom Scrolling TextView

<active.since93.librery.textview.ScrollingTextView
        android:id="@+id/scrollTextView"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_margin="@dimen/text_padding"
        android:singleLine="true"
        android:text="@string/text_text"
        android:textSize="@dimen/text_size"
        customtextview:scrollType="ifLengthExceeds"
        customtextview:typeface="Almost_Japanese_Smooth.ttf" />

TextView

Button:

Custom Button

<active.since93.librery.button.CustomButton
        android:id="@+id/customButton"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        custombutton:text="Custom Button"
        custombutton:text_color="@color/colorPrimary"
        custombutton:text_size="10dp" />

Ripple Button

<active.since93.librery.button.ButtonRectangle
        android:id="@+id/customRippleButton"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerInParent="true"
        android:background="#1E88E5"
        android:text="Button" />

Button

ImageView:

<active.since93.librery.imageview.CircleImageView
        android:layout_width="100dp"
        android:layout_height="100dp"
        android:src="@drawable/lauren" />

ImageView

EditText:

<active.since93.librery.edittext.CustomEditText
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_margin="5dp"
        android:text="This is custom EditText."
        customedittext:typeface="androidnation.ttf" />

EditText

ChipView:

<active.since93.librery.chipview.ChipView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="5dp"
        chipview:background_color="@color/colorAccent"
        chipview:show_image="false"
        chipview:chip_text="text" />

ChipView

Add the following line to your build.gradle dependencies:

compile project(':library')

customviews's People

Contributors

activesince93 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.