Etiya Badge Tab


Source link: https://github.com/egemenmede/etiyabadgetab

EtiyaBadgeTab (etiyabadgetab)

EtiyaBadgeTab, Android için haz?rlanm?? bir Tab kütüphanesidir. Android'te kullan?lan Tab kütüphanesine alternatif olarak badge deste?i ve çe?itli özelle?tirmeler sunmaktad?r. 🐧

badge: Kelime anlam? rozet olan badge'?, tab üzerindeki küçük simgeler olarak tan?mlayabiliriz.

Örnek Ekran Görüntüsü

Kurulum

Gradle

compile 'com.etiya.etiyabadgetablib:etiyabadgetablib:0.0.3' 

Kullan?m ?ekli

etiyaBadgeTab.selectEtiyaBadgeTab(0)

  .tabTitle("TAB 1")

  .tabTitleColor(R.color.tabTitleColor)

  .tabIcon(tabIcons[0])

  .tabIconToTitle(1)

  .tabIconColor(R.color.tabTitleColor)

  .tabIconDirection("LEFT")

  .tabBadge(true)

  .tabBadgeCount(18)

  .tabBadgeCountMore(true)

  .tabBadgeBgColor(R.color.orange)

  .tabBadgeTextColor(R.color.smoothwhite)

  .tabBadgeStroke(2, R.color.greyblue)

  .tabBadgeCornerRadius(18)

  .createEtiyaBadgeTab();

Özellikler

?kisi zorunlu olmak üzere 15 özelli?e sahiptir. 🐧

  • selectEtiyaBadgeTab: ??lem yap?lacak tab'?n seçilmesini sa?lar. Integer bir de?er al?r ve ilk tab 0'dan ba?lar. Kullan?m? zorunludur.

  • tabTitle: Tab'?n metnini ayarlar. String bir de?er al?r. Kullan?m? iste?e ba?l?d?r.

  • tabTitleColor: Tab metni kullan?ld??? durumlarda, Tab'?n metninin rengini ayarlar. Integer bir de?er al?r. Kullan?m? iste?e ba?l?d?r.

  • tabIcon: Tab ile kullan?lacak ikonu gösterir. Integer ve Drawable olmak üzere iki kullan?m türünü destekler. Kullan?m? iste?e ba?l?d?r.

  • tabIconToTitle: Tab ikonu kullan?ld??? durumlarda, Tab ile ikon aras?ndaki bo?lu?un ne kadar olaca??n? belirler. Integer bir de?er al?r. Varsay?lan de?eri 1'dir. Kullan?m? iste?e ba?l?d?r.

  • tabIconColor: Tab ikonu kullan?ld??? durumlarda, ikon rengini belirler. Integer bir de?er al?r. Kullan?m? iste?e ba?l?d?r.

  • tabIconDirection: Tab ikonu kullan?ld??? durumlarda, ikonun konumunu belirler. E?er belirtilmezse, varsay?lan de?eri "LEFT" tir. "LEFT" ve "RIGHT" olmak üzere 2 farkl? String de?er al?r. Kullan?m? iste?e ba?l?d?r.

  • tabBadge: Tab içerisinde Badge gösterilmesi sa?lar. true ve false olmak üzere iki de?er al?r. Varsay?lan de?eri false'tur. Kullan?m? iste?e ba?l?d?r.

  • tabBadgeCount: Badge kullan?ld??? durumlarda, badge içerisindeki rakam? görüntülemek için kullan?l?r. Integer bir de?er al?r. Kullan?m? iste?e ba?l?d?r.

  • tabBadgeCountMore: Badge kullan?ld??? durumlarda, badge içerisindeki gösterilecek rakam?n görüntülenme ?eklini belirler. true ve false olmak üzere iki de?er al?r. Varsay?lan de?eri false'tur. true ise 9'dan sonras? "9+", false durumunda say?n?n tamam? gösterilir. Kullan?m? iste?e ba?l?d?r.

  • tabBadgeBgColor: Badge kullan?ld??? durumlarda, badge'in arkaplan rengini belirler. Integer bir de?er al?r. Kullan?m? iste?e ba?l?d?r.

  • tabBadgeTextColor: Badge kullan?ld??? durumlarda, badge'in metin rengini belirler. Integer bir de?er al?r. Kullan?m? iste?e ba?l?d?r.

  • tabBadgeStroke: Badge kullan?ld??? durumlarda, badge'in çerçeve kal?nl???n? ve rengini belirler. Integer olarak iki parametre al?r. ?lk parametre çerçeve kal?nl???n?, ikinci parametre çerçeve rengini belirler. Kullan?m? iste?e ba?l?d?r.

  • tabBadgeCornerRadius: Badge kullan?ld??? durumlarda, badge'in kö?elerindeki ovallik miktar?n? belirler. Integer bir de?er al?r. Kullan?m? iste?e ba?l?d?r.

  • createEtiyaBadgeTab: selectEtiyaBadgeTab ile seçilen tab'?n, belirtilen parametrelerle olu?turulmas?n? sa?lar. Kullan?m? zorunludur.

En K?sa Kullan?m ?ekli

etiyaBadgeTab.selectEtiyaBadgeTab(0)

  .createEtiyaBadgeTab();

2017 Etiya Badge Tab for Android ( http://www.etiya.com) - Egemen Mede ( 🐧 http://www.delipenguen.com)

Lisans

Copyright (C) 2017 Egemen Mede

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.

Resources

Auth0Client is a Gradle based Android library, to let developers have a basic Auth0 API.

This library is compatible from API 7 (Android 2.1).

EditText component for Android that can show password with new a concept. Press on eye to show hidden password.

PullToDismissPager is an Android Open Source Library for showing ViewPager in similar way that Facebook app does in its Friend Request Section. This library is based on awesome AndroidSlidingUpPanel library.

The open picker is the fastest way to get files from OneDrive and OneDrive for Business into your Android app. OneDrive-Picker-Android provides a set of Java APIs that your app can use to browse, select, and download files stored in your user's OneDrive.

You can also get shareable links to files - great for sending to friends, coworkers, and relatives. The open picker also lets your app get thumbnails of image and video files so you don't have to build them yourself.

This is a sample app that is part of a blog post about how to architect android application using the Uncle Bob's clean architecture approach.

The in app purchase system provided by Google is missing one very important thing. This tool will allow app developers to provide their users with codes to be redeemed in app for extra content.

This system uses Parse.com as a simple and free backend to manage your users and codes. All you need to do is create a free account and setup your app. Once you have your client and application keys, you are ready to go.

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes