A Flip Digit Libray

Overview

Tab Digit

Android Arsenal Download

A Flip Clock Libray.Have a look at the demo app available on google play

tab-digit

this is what you can do with Tab digit

clock

Add it on your project:

Gradle:

compile 'com.xenione.libs:tab-digit:1.0.2'

Add tabdigit in your layout, you can set attributes like background or text color, text size and padding through xml as shown.

 <com.xenione.digit.TabDigit
     xmlns:digit="http://schemas.android.com/apk/res-auto"
        android:id="@+id/tabDigit1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:layout_weight="1"
        digit:backgroundColor="#000000"
        digit:padding="10dp"
        digit:textColor="#ffffff"
        digit:textSize="60dp" />

start animation calling start().

tabDigit1.start();

Increase digit every second:

ViewCompat.postOnAnimationDelayed(tabDigit1, this, 1000);

@Override
    public void run() {
        tabDigit1.start();
        ViewCompat.postOnAnimationDelayed(tabDigit1, this, 1000);
    }

License


Copyright 2016 Eugeni Josep Senent i Gabriel

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.
You might also like...
Comments
  • AAPT: error: duplicate value for resource 'attr/cornerSize' with config ''.

    AAPT: error: duplicate value for resource 'attr/cornerSize' with config ''.

    on Android Studio 4.0 Build Failed : AAPT: error: duplicate value for resource 'attr/cornerSize' with config ''. File : jetified-tab-digit-1.0.2/res/values/values.xml Line 3

    opened by Mohekkus 4
  • CountDown SetTotalTime

    CountDown SetTotalTime

    Hi dear Author Xenione,

    May I ask is that possible to make it customized that I can called the function like setTotalTime in other fragment ?

    I tried to modify the example countdown view, but failed XD because it only limits to 10 hours, and I don't know the best way to modify it.

    Hope you can help me.

    Thanks Great Work !

    question 
    opened by LTFENG 4
  • I think this i a bit the wrong direction :-)

    I think this i a bit the wrong direction :-)

    your control is very nice but i think it goes in the wrong direction. All i've seen is like this in the video: from top to down... I've never ever seen it from down to top....

    https://www.youtube.com/watch?v=NoyxD9BRxh4

    opened by HowardSchmaeu 1
  • About CountDown Mechanism

    About CountDown Mechanism

    Hi, I have to show count down timer from specific date. Like, I have event date of 5 months from now and i have to show count down timer using your lib. Do u have any idea how can we do that in current code?

    opened by kp2912 1
Owner
Xenione
Senior Android developer
Xenione
With the Help of this libray you can pic image from camera, gallery, it's support image cropping as well and you can pic PDF

FilePicker This project aims to provide an ultimate and flexible image picking from Gallery, Camera and cropping experience as well as PDF picking fro

Raj Pratap Singh Jadon 3 Nov 24, 2022
This project aims to provide a working page flip implementation for usage in ListView.

Changes: Made clickable views like a button clickable inside the FlipViewPager. Use RecyclerView. Updated to API 23. Added support for close clicks on

Yalantis 1.8k Dec 13, 2022
A component for flip animation on Android, which is similar to the effect in Flipboard iPhone/Android

android-flip Aphid FlipView is a UI component to accomplish the flipping animation like Flipboard does. A pre-built demo APK file for Android OS 2.2+

Bo 2.8k Dec 21, 2022
💳 A quick and easy flip view through which you can create views with two sides like credit cards, poker cards etc.

The article on how this library was created is now published. You can read it on this link here. →. ?? EasyFlipView Built with ❤︎ by Wajahat Karim and

Wajahat Karim 1.3k Dec 14, 2022
3D Style Page Flip on Android

PageFlip This project is aimed to implement 3D style page flip on Android system based on OpenGL 2.0. For JNI version, please visit: android-PageFlip-

eschao 1.7k Dec 19, 2022
💳 A quick and easy flip view through which you can create views with two sides like credit cards, poker cards etc.

The article on how this library was created is now published. You can read it on this link here. →. ?? EasyFlipView Built with ❤︎ by Wajahat Karim and

Wajahat Karim 1.3k Dec 14, 2022
It's a flip way to show share widget.

What's FlipShare ? It's a cool way to show share widget. Demo Usage step 1. Confirm your parentView to locate the share widget, and then you can custo

巴掌 630 Sep 5, 2022
A program to flip every private, protected and package-private access flag to public in an Android dex file!

DexExposed A program to flip every private, protected and package-private access flag to public in an Android dex file! Building Simply run gradle mak

John Doe 2 Aug 29, 2021
💳 Bank Card View is a simple and elegant card view with Flip animation.

Visualização de cartão bancário ?? Bank Card View é uma visualização de cartão simples e elegante com animação Flip. Versões Selecione a língua : Engl

Geovani Amaral 10 Dec 12, 2022
💳 Bank Card View is a simple and elegant card view with Flip animation.

Visualização de cartão bancário ?? Bank Card View é uma visualização de cartão simples e elegante com animação Flip. Versões Selecione a língua : Engl

Geovani Amaral 9 Aug 26, 2022