diff options
author | Alexandre Del Bigio <alescdb@users.noreply.github.com> | 2015-09-02 14:41:40 +0200 |
---|---|---|
committer | Alexandre Del Bigio <alescdb@users.noreply.github.com> | 2015-09-02 14:41:40 +0200 |
commit | be29a2626b892bac82f1309a92111f78a790896e (patch) | |
tree | 66f171347e73d08e01ffa67bcf24d36f58a0e0d7 /app/src/main/res/drawable/keyboard_button_selector.xml | |
parent | f4ca0e0603b50c7b1de92dc9a9c5b5020bfc25dd (diff) | |
download | connectbot-be29a2626b892bac82f1309a92111f78a790896e.tar.gz connectbot-be29a2626b892bac82f1309a92111f78a790896e.tar.bz2 connectbot-be29a2626b892bac82f1309a92111f78a790896e.zip |
Keyboard separator as layer-list (instead of views)
Diffstat (limited to 'app/src/main/res/drawable/keyboard_button_selector.xml')
-rw-r--r-- | app/src/main/res/drawable/keyboard_button_selector.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app/src/main/res/drawable/keyboard_button_selector.xml b/app/src/main/res/drawable/keyboard_button_selector.xml new file mode 100644 index 0000000..09edcf6 --- /dev/null +++ b/app/src/main/res/drawable/keyboard_button_selector.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* + * ConnectBot: simple, powerful, open-source SSH client for Android + * Copyright 2007 Kenny Root, Jeffrey Sharkey + * + * 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 + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +--> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:drawable="@color/key_background_selected" + android:state_selected="true"/> + <item android:drawable="@color/key_background_pressed" + android:state_pressed="true"/> + <item android:drawable="@drawable/keyboard_button_border"/> +</selector> |