Provide few methods for visual elements.
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)
1 . Import pixlui.jar in your project.
2 . Add your custom fonts in /assets/fonts/
3 . 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" >
<com.neopixl.pixlui.components.textview.TextView
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"
pixlui:typeface="GearedSlab.ttf" />
</RelativeLayout>
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
[Flow] (https://play.google.com/store/apps/details?id=com.metalab.flow) - W-Zup - FLASHiZ - MeeTincS - Wort.lu
Copyright 2014 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.