• Stars
    star
    157
  • Rank 238,399 (Top 5 %)
  • Language
    Java
  • License
    Other
  • Created over 11 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Custom visual components

Logo PixlUI

Provide few methods for visual elements.

Bitdeli Badge Gittip Android Arsenal JitPackGradle JitPackMaven Travis Stack Share

CheckBox:

  • Custom font
  • Text All caps (works on all API version)

Button:

  • Custom font
  • Text All caps (works on all API version)

EditText:

  • Custom font
  • Copy/Cut/Paste (enable/disable) (works on all API version)
  • Cancel clipboard content (works on all API version)
  • Text All caps (works on all API version) - (in progress)
  • Focus listener
  • Batch listener (replace TextWatcher, wich that you can intercept DEL touch on all API)

AutoCompleteEditText:

  • Custom font
  • Copy/Cut/Paste (enable/disable) (works on all API version)
  • Cancel clipboard content (works on all API version)
  • Text All caps (works on all API version) - (in progress)
  • Focus listener
  • Batch listener (replace TextWatcher, wich that you can intercept DEL touch on all API)

Image View:

  • Alpha (works on all API version)

RelativeLayout:

  • Alpha (works on all API version)

TextView:

  • Contains a fix to do proper ellipsizing
  • Custom font
  • Text All caps (works on all API version)

Screenshot

Screen1

Gradle Setup

Compile with one line easy code!

repositories {
    maven {
        url "https://jitpack.io"
    }
}

Compile in the build.gradle file. for X.X.X please refer to the change log.

dependencies{
  compile 'com.github.neopixl:PixlUI:vX.X.X.'
}

Maven Setup

Add Repository

<repository>
	    <id>jitpack.io</id>
	    <url>https://jitpack.io</url>
	</repository>

Add Dependency:

	<dependency>
	    <groupId>com.github.neopixl</groupId>
	    <artifactId>PixlUI</artifactId>
	    <version>v1.0.5</version>
	</dependency>

How use it ?

  1. Add your custom fonts in /assets/fonts/

  2. Define your fonts in styles.xml

    <style name="AppTheme.TextGearedSlab">
        <item name="typeface">GearedSlab.ttf</item>
    </style>


    <style name="AppTheme.TextGearedSlab.t1">
        <item name="android:textSize">12sp</item>
    </style>


    <style name="AppTheme.TextGearedSlab.t2">
        <item name="android:textSize">14sp</item>
    </style>
  1. Use it in XML:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:pixlui="http://schemas.android.com/apk/com.neopixl.pixlui"
    xmlns:tools="http://schemas.android.com/tools" >

    <np.TextView
        style="@style/AppTheme.TextGearedSlab.t1"
        android:id="@+id/textView1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/hello_world"
        pixlui:copyandpaste="false"
        pixlui:clearclipboardcontent="true"/>
</RelativeLayout>

Logo ChangeLog

1.1.2

  • closes #31 (Memory Leak: Activity Leak on PixlUIfaceManager.INSTANCE)
  • Update buildTools (25.0.3) and compileSdkVersion / targetSdkVersion = 25.

1.1

  • Android studio 1.5.1 Support
  • Android Layout Preview support (on API >=23 preview)
  • CheckedTextView added
  • Chronometer added
  • ExtractEditText added
  • Switch added
  • Refactor
  • Fixed some bugs
  • Find easy accessor to our components: - Before: <com.neopixl.pixlui.components.textview.TextView - Now: <np.TextView

1.0.6

  • Upgraded to last build tools
  • EllipsizingTextView is now removed from com.neopixl.pixlui.components.textview

1.0.5a (Prerelease)

  • Temp release to fix jitpack.io build
  • include a gradle'ized versin of PixlUI (now a library project)

1.0.5

  • Added custom RadioButton (Custom font, Text all caps)

1.0.4

  • Added RelativeLayoutAnimator (VISIBLE/GONE/INVISIBLE transition animation)
  • Added LinearLayoutAnimator (VISIBLE/GONE/INVISIBLE transition animation)
  • Added custom AutoCompleteEditText
  • Added custom AutoResizeTextView (in progress)

1.0.3

  • Added custom CheckBox (Custom font, Text all caps)

1.0.2

  • Added method in custom EditText (Autofocus Listener, Hide/Show Keyboard)

1.0.1

  • Added method in custom TextView (Text all caps) - for old api version
  • Added method in custom EditText (Text all caps) - for old api version
  • Added method in custom Button (Text all caps) - for old api version
  • Fix NPE in Batch Listener
  • Added custom RelativeLayout (Alpha) - for old api version

1.0.0

  • Added custom TextView (Custom font)
  • Added custom EditText (Custom font, Focus Listener, Batch Listener)
  • Added custom Button (Custom font)
  • Fix many crash

Logo Application using PixlUI

Flow W-Zup FLASHiZ MeeTincS Wort.lu hb store iBeezi RootCoinExplorer

[Flow] (https://play.google.com/store/apps/details?id=com.metalab.flow) - W-Zup - FLASHiZ - MeeTincS - Wort.lu -
Hypebeast - iBeezi- RootCoinExplorer

Donation

Donation

Copyright

Copyright 2014-2016 Neopixl - Olivier Demolliens

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this

file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under

the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF 

ANY KIND, either express or implied. See the License for the specific language governing

permissions and limitations under the License.