#Adding an existing project to GitHub using the command line
Simple steps to add existing project to Github.
In Terminal, change the current working directory to your local project.
##2. Initialize the local directory as a Git repository.
git init
| <RelativeLayout | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:orientation="vertical" | |
| android:layout_height="fill_parent" | |
| android:layout_width="fill_parent"> | |
| <ScrollView | |
| android:id="@+id/scrollview" | |
| android:layout_height="fill_parent" | |
| android:layout_width="fill_parent" | |
| android:layout_above="@+id/m_table_menu"> |
| actionBar.addTab(actionBar.newTab() | |
| .setCustomView(TabUtils.renderTabView(NotificationsActivity.this, R.string.tab_invitations, R.drawable.tab_orange, numberOfNotifications)) | |
| .setTabListener(tabListener)); |
| How to Completely Remove Android Studio | |
| Execute these commands from the terminal | |
| rm -Rf /Applications/Android\ Studio.app | |
| rm -Rf ~/Library/Preferences/AndroidStudio* | |
| rm ~/Library/Preferences/com.google.android.studio.plist | |
| rm -Rf ~/Library/Application\ Support/AndroidStudio* | |
| rm -Rf ~/Library/Logs/AndroidStudio* |
| public class FontsReplacer { | |
| @SuppressWarnings("unchecked") | |
| public static void replaceFonts(Context context) { | |
| try { | |
| //we need to change all static fields contains fonts: | |
| //1. static constants | |
| setStaticFinalField(Typeface.class, "DEFAULT", FontCache.getTypeface(context, Typeface.NORMAL)); | |
| setStaticFinalField(Typeface.class, "DEFAULT_BOLD", FontCache.getTypeface(context, Typeface.BOLD)); |
| -keepclassmembers class com.google.android.gms.dynamite.DynamiteModule { | |
| ** MODULE_ID; | |
| ** MODULE_VERSION; | |
| ** sClassLoader; | |
| } | |
| -keepclassmembers class com.google.android.gms.internal.in { | |
| ** mOrigin; | |
| ** mCreationTimestamp; | |
| ** mName; | |
| ** mValue; |