This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class MyApp extends Application { | |
| @Override | |
| public void onCreate() { | |
| TypefaceUtil.overrideFont(getApplicationContext(), "SERIF", "fonts/Roboto-Regular.ttf"); // font from assets: "assets/fonts/Roboto-Regular.ttf | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * @author luksprog | |
| */ | |
| public class BusSeatRecycler extends AppCompatActivity { | |
| private RecyclerView recyclerView; | |
| private BusSeatAdapter adapter; | |
| @Override |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "COUNTRY":{ | |
| "1":"Afghanistan", | |
| "2":"Albania", | |
| "3":"Algeria", | |
| "4":"American Samoa", | |
| "5":"Andorra", | |
| "6":"Angola", | |
| "7":"Anguilla", | |
| "8":"Antarctica", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "COUNTRYCODE": { | |
| "98": "India (+91)", | |
| "222": "United States of America (+1)", | |
| "220": "United Arab Emirates (+971)", | |
| "221": "United Kingdom (+44)", | |
| "13": "Australia (+61)", | |
| "189": "Singapore (+65)", | |
| "39": "Canada (+1)", | |
| "173": "Qatar (+974)", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //In Activity | |
| circleIndicator=(SimpleCircularIndicatorAndroid)itemView.findViewById(R.id.circle_indicator); | |
| circleIndicator.setPageIndicators(3);//Number of indicator to display(int) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.appukrb.CustomFont; | |
| import android.content.Context; | |
| import android.graphics.Typeface; | |
| import android.util.AttributeSet; | |
| /** | |
| * Created by appukrb. | |
| */ |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "type": "FeatureCollection", | |
| "features": [ | |
| { "properties": { "id": 1, "pal_bamini": "அறத்துப்பால்", "pal_english": "Virtue", "pal_thanglish": "Araththuppaal", "pal_tamil": "அறத்துப்பால்", "iyal_bamini": "பாயிரவியல்", "iyal_english": "Prologue", "iyal_thanglish": "Paayiraviyal", "iyal_tamil": "பாயிரவியல்", "adhikarm_no": 1, "adhikarm_bamini": "கடவுள் வாழ்த்து", "adhikarm_english": "The Praise of God", "adhikarm_thanglish": "Katavul Vaazhththu", "adhikarm_tamil": "கடவுள் வாழ்த்து", "kural_no": 1, "kural_bamini1": "அகர முதல எழுத்தெல்லாம் ஆதி", "kural_bamini2": "பகவன் முதற்றே உலகு", "kural_thanglish1": "Akara Mudhala Ezhuththellaam Aadhi", "kural_thanglish2": "Pakavan Mudhatre Ulaku", "kuralvilakam_tamil": "எழுத்துக்கள் எல்லாம் அகரத்தை அடிப்படையாக கொண்டிருக்கின்றன. அதுபோல உலகம் கடவுளை அடிப்படையாக கொண்டிருக்கிறது.", "kuralvilakam_english": "As the letter A is the first of all letters so the eternal God is first in the world", "kural_tamil1": "அகர முதல எழுத்தெல்லாம் ஆதி\nபகவன் முதற்றே உலகு", "isfav": 0 } }, | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class ResizeAnimation extends Animation { | |
| final int startWidth; | |
| final int targetWidth; | |
| View view; | |
| public ResizeAnimation(View view, int targetWidth) { | |
| this.view = view; | |
| this.targetWidth = targetWidth; | |
| startWidth = view.getWidth(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class ClickToSelectEditText<T extends Listable> extends TextInputEditText { | |
| List<T> mItems; | |
| String[] mListableItems; | |
| CharSequence mHint; | |
| OnItemSelectedListener<T> onItemSelectedListener; | |
| public ClickToSelectEditText(Context context) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| InputFilters filters=new InputFilters(3, 2, 100); | |
| ediText.setFilters(new InputFilter[]{filters}); | |
OlderNewer