Skip to content

Commit

Permalink
Fixes #7. Update README.
Browse files Browse the repository at this point in the history
The formula may have to be refined as the translation feels slightly
bigger than the reference. However, this could be an illusion. Also
updated the About Activity.
  • Loading branch information
khalid-hussain committed Jan 17, 2015
1 parent 9f80935 commit 1dc8f84
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ bookmarked.
- [Ahmad Sabree](https://www.facebook.com/ahmad.sabree.5)
- [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)
- [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/)
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/adapters/DuaDetailAdapter.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
holder.tvDuaTranslation.getDocumentLayoutParams().setTextSize(prefOtherFontSize * 2);

holder.tvDuaReference = (TextView) convertView.findViewById(R.id.txtDuaReference);
holder.tvDuaReference.setTextSize(prefOtherFontSize);
Expand Down
5 changes: 2 additions & 3 deletions app/src/main/res/layout/dua_detail_item_card.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,8 @@
android:id="@+id/txtDuaTranslation"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:paddingBottom="10dp"
android:paddingTop="10dp"
ext:documentView_insetPaddingTop="10dp"
ext:documentView_insetPaddingBottom="10dp"
ext:documentView_textAlignment="justified"
ext:documentView_textColor="@color/primary_dark_material_light"
ext:documentView_textFormat="formatted"
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +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/>
Mohammad Khalid Hussain (<a href="https://www.github.com/khalid.hussain">GitHub</a>)
<br/><br/>

Expand All @@ -37,7 +38,7 @@
<br/><br/>

<big><b>Special Thanks</b></big><br/>
Ahmad Sabree (&lt;a href="https://www.facebook.com/ahmad.sabree.5">Facebook&lt;/a>)&lt;br/></string>
Ahmad Sabree (&lt;a href="https://twitter.com/sabree01">@sabree01&lt;/a>)&lt;br/></string>
<string name="title_activity_preferences">Settings</string>

</resources>

0 comments on commit 1dc8f84

Please sign in to comment.