From 3035b72404a1df909292e99e544c6972662c57b0 Mon Sep 17 00:00:00 2001 From: Khalid Hussain Date: Sun, 18 Jan 2015 22:51:32 +0800 Subject: [PATCH] Updated TextJustify-Android. Fixes #7. Updated README. Updated TextJustify Android Library to v2.0.5. --- README.md | 4 ++-- app/app.iml | 2 +- app/build.gradle | 2 +- app/src/main/java/adapters/DuaDetailAdapter.java | 2 +- app/src/main/res/values/strings.xml | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 7823f96..a5f9fe6 100644 --- a/README.md +++ b/README.md @@ -37,10 +37,10 @@ bookmarked. # Credits - [Ahmed El-Helw](http://twitter.com/ahmedre) -- [Ahmad Sabree](https://www.facebook.com/ahmad.sabree.5) +- [Ahmad Sabree](https://twitter.com/sabree01) - [Azhar Ali](https://www.linkedin.com/pub/md-azhar-ali/90/251/140) - [Abdul Majed Ahmed](https://www.facebook.com/abdulmajed.ahmed) -- [Muhammad Hussaini Zulkifli](https://www.facebook.com/the1375) +- [Hussaini Zulkifli](https://twitter.com/HussainiZul) - [StackOverFlow Question: Custom Adapter for ListView](http://stackoverflow.com/questions/8166497/custom-adapter-for-list-view) - [StackOverFlow Question: Default Font Set on Android](http://stackoverflow.com/questions/6809944/default-font-set-on-android) - [Font Awesome CSS Library](http://fortawesome.github.io/Font-Awesome/) diff --git a/app/app.iml b/app/app.iml index fe78e6f..760348f 100644 --- a/app/app.iml +++ b/app/app.iml @@ -86,8 +86,8 @@ - + diff --git a/app/build.gradle b/app/build.gradle index dc4c0bc..1e9871d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -31,7 +31,7 @@ dependencies { compile 'com.android.support:recyclerview-v7:21.0.3' compile 'com.android.support:support-v4:21.0.3' compile 'com.joanzapata.android:android-iconify:1.0.8' - compile 'com.github.bluejamesbond:textjustify-android:2.0.4' + compile 'com.github.bluejamesbond:textjustify-android:2.0.5' compile project(':vntnumberpickerpreference') compile project(':vntfontlistpreference') } \ No newline at end of file diff --git a/app/src/main/java/adapters/DuaDetailAdapter.java b/app/src/main/java/adapters/DuaDetailAdapter.java index e34b624..ad781ed 100644 --- a/app/src/main/java/adapters/DuaDetailAdapter.java +++ b/app/src/main/java/adapters/DuaDetailAdapter.java @@ -84,7 +84,7 @@ public View getView(int position, View convertView, ViewGroup parent) { holder.tvDuaArabic.setTextSize(prefArabicFontSize); holder.tvDuaTranslation = (DocumentView) convertView.findViewById(R.id.txtDuaTranslation); - holder.tvDuaTranslation.getDocumentLayoutParams().setTextSize(prefOtherFontSize * 2); + holder.tvDuaTranslation.getDocumentLayoutParams().setTextSize(prefOtherFontSize); holder.tvDuaReference = (TextView) convertView.findViewById(R.id.txtDuaReference); holder.tvDuaReference.setTextSize(prefOtherFontSize); diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 508badd..b3192e6 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -25,7 +25,7 @@ Ahmed El-Helw (<a href="http://twitter.com/ahmedre">@ahmedre</a>)<br/> Azhar Ali (<a href="https://www.linkedin.com/pub/md-azhar-ali/90/251/140">LinkedIn</a>)<br/> Abdul Majed Ahmed (<a href="https://www.facebook.com/abdulmajed.ahmed">Facebook</a>)<br/> - Muhammad Hussaini Zulkifli (<a href="https://www.facebook.com/the1375">Facebook</a>)<br/> + Hussaini Zulkifli (<a href="https://twitter.com/HussainiZul">@HussainiZulk</a>)<br/> Mohammad Khalid Hussain (<a href="https://www.github.com/khalid.hussain">GitHub</a>) <br/><br/> @@ -41,4 +41,4 @@ Ahmad Sabree (<a href="https://twitter.com/sabree01">@sabree01</a>)<br/> Settings - + \ No newline at end of file