Can git automatically switch between spaces and tabs?

Here is the complete solution: In your repository, add a file .git/info/attributes which contains: *.py filter=tabspace Linux/Unix Now run the commands: git config –global filter.tabspace.smudge ‘unexpand –tabs=4 –first-only’ git config –global filter.tabspace.clean ‘expand –tabs=4 –initial’ OS X First install coreutils with brew: brew install coreutils Now run the commands: git config –global filter.tabspace.smudge ‘gunexpand –tabs=4 … Read more

Rectangle at the bottom of the activity

Use that Layout: <?xml version=”1.0″ encoding=”utf-8″?> <LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android” android:orientation=”vertical” android:layout_width=”match_parent” android:layout_height=”match_parent”> <LinearLayout android:orientation=”vertical” android:layout_width=”match_parent” android:layout_height=”0dp” android:layout_weight=”0.90″> </LinearLayout> <LinearLayout android:orientation=”vertical” android:layout_width=”match_parent” android:layout_height=”0dp” android:layout_weight=”0.10″ android:background=”#ffFF9800″ android:layout_gravity=”center_vertical”> <LinearLayout android:orientation=”horizontal” android:layout_width=”wrap_content” android:layout_height=”match_parent” android:layout_gravity=”right” android:layout_marginRight=”20dp”> <TextView android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:text=”LOG IN >” android:id=”@+id/textView76″ android:textSize=”20sp” android:textColor=”#fff” android:layout_gravity=”center_vertical”/> </LinearLayout> </LinearLayout> </LinearLayout>