<android.support.design.widget.FloatingActionButton
android:id="@+id/send"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/screen_margin"
android:background="?android:selectableItemBackground"
app:backgroundTint="@color/selector"
app:layout_anchor="@id/app_bar"
app:layout_anchorGravity="bottom|end"/>


app:backgroundTint="@color/selector"


를 추가하면 된다.

 

Ctrl키를 하도 많이 써서 왼손 새끼 손가락이 힘들다. capslock키와 바꾸면 참 편할 것 같았는데.. 그래서 찾아봤다. 레지스트리에 키를 매핑하는 설정이 있어서 가능했다. 아래 내용을 reg파일로 저정하고 실행한 후 재부팅하면된다.

 

Windows Registry Editor Version 5.00

 

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]

"Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,3a,00,5d,e0,1d,00,3a,00,\

00,00,00,00

 

 

위 설정을 실행하면 오른쪽 컨트롤 키 옆에 마우스 우릭과 같은 안쓰는 키가 있는데 그게 capslock으로 매핑된다.

 

http://www.manicai.net/comp/swap-caps-ctrl.html

http://hmhm.net/entry/Caps-Lock-swap

+ Recent posts