Skip to content

Commit

Permalink
Merge pull request #141 from DBB411/master
Browse files Browse the repository at this point in the history
Punjabi Language Support and Backspace_black button image.
  • Loading branch information
hbb20 authored Dec 24, 2017
2 parents 73d9f6b + 81d0d6b commit 4d1f882
Show file tree
Hide file tree
Showing 5 changed files with 1,174 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
import android.widget.Button;
import android.widget.TextView;

import in.hbb20.countrycodepickerproject.R;

public class HomeActivity extends AppCompatActivity {

TextView textIntro, textDefaultCountry, textPreference, textCustomMaster, textsetCountry, textGetCountry, textFullNumber, textCustomColor, textCustomSize, textCustomFont, textCustomLanguage;
Expand Down
12 changes: 10 additions & 2 deletions app/src/main/res/layout/fragment_introduction.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@

<TextView
style="@style/fragmentTitle"
android:text="Introduction" />
android:text="Introduction"
/>

<TextView
style="@style/fragmentSubTitle"
Expand Down Expand Up @@ -116,7 +117,14 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
app:ccp_defaultPhoneCode="95" />
app:ccp_defaultLanguage="PUNJABI"
app:ccpDialog_allowSearch="true"
app:ccp_defaultNameCode="nz"
app:ccp_rememberLastSelection="true"
app:ccp_countryAutoDetectionPref="SIM_NETWORK_LOCALE"
app:ccpDialog_showCloseIcon="true"
app:ccp_countryPreference="US,IN,NZ" />


<EditText
android:id="@+id/et_phone"
Expand Down
1 change: 1 addition & 0 deletions ccp/src/main/java/com/hbb20/CountryCodePicker.java
Original file line number Diff line number Diff line change
Expand Up @@ -1899,6 +1899,7 @@ public enum Language {
JAPANESE("ja"),
KOREAN("ko"),
PORTUGUESE("pt"),
PUNJABI("pa"),
RUSSIAN("ru"),
SPANISH("es"),
TURKISH("tr"),
Expand Down
Loading

0 comments on commit 4d1f882

Please sign in to comment.