Skip to content

Instantly share code, notes, and snippets.

View MoshDev's full-sized avatar
🎯
Focusing

Mohammad Ersan MoshDev

🎯
Focusing
View GitHub Profile
<android.support.design.widget.NavigationView
android:id="@+id/con_home_navigation_view"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="start"
app:headerLayout="@layout/con_home_navigation_view_header"
app:menu="@menu/con_home_navigation_view_menu">
<ImageView
android:layout_width="wrap_content"
package com.mosh.arabicfix;
/**
(Mosh Arabic Shaper) this API should fix Arabic shapes used within Android views, and canvas.
Copyright (C) 2011 Mohammad Mshari Ersan (mosh_java@yahoo.com)
* IF YOU LIKED IT, DONATE BY HIRING ME, OR LET ME MAKE YOUR PROJECT.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
/*
* Copyright (C) 2014 The Android Open Source Project
*
* 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
/**
*
* @author MErsan
*/
public class ArabicUnicode {
private final static char[] digits = {
'0', '1', '2', '3', '4', '5',
'6', '7', '8', '9', 'a', 'b',