aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'OpenKeychain/src/main/res/layout')
-rw-r--r--OpenKeychain/src/main/res/layout/edit_key_activity.xml6
-rw-r--r--OpenKeychain/src/main/res/layout/edit_key_key_item.xml8
-rw-r--r--OpenKeychain/src/main/res/layout/edit_key_section.xml9
-rw-r--r--OpenKeychain/src/main/res/layout/edit_key_user_id_item.xml11
4 files changed, 13 insertions, 21 deletions
diff --git a/OpenKeychain/src/main/res/layout/edit_key_activity.xml b/OpenKeychain/src/main/res/layout/edit_key_activity.xml
index 1ce5c096f..b6c5a1c9a 100644
--- a/OpenKeychain/src/main/res/layout/edit_key_activity.xml
+++ b/OpenKeychain/src/main/res/layout/edit_key_activity.xml
@@ -26,14 +26,14 @@
android:layout_height="wrap_content"
android:text="@string/label_no_passphrase" />
- <com.beardedhen.androidbootstrap.BootstrapButton
+ <Button
android:id="@+id/edit_key_btn_change_passphrase"
android:layout_width="match_parent"
android:layout_height="60dp"
android:padding="4dp"
android:text="@string/btn_set_passphrase"
- bootstrapbutton:bb_icon_left="fa-pencil"
- bootstrapbutton:bb_type="default" />
+ android:drawableLeft="@drawable/ic_action_edit"
+ android:background="@drawable/button_edgy" />
<LinearLayout
android:id="@+id/edit_key_container"
diff --git a/OpenKeychain/src/main/res/layout/edit_key_key_item.xml b/OpenKeychain/src/main/res/layout/edit_key_key_item.xml
index 090115d62..2d2fe51ab 100644
--- a/OpenKeychain/src/main/res/layout/edit_key_key_item.xml
+++ b/OpenKeychain/src/main/res/layout/edit_key_key_item.xml
@@ -155,15 +155,13 @@
</TableRow>
</TableLayout>
- <com.beardedhen.androidbootstrap.BootstrapButton
+ <ImageButton
android:id="@+id/delete"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="10dp"
- bootstrapbutton:bb_icon_left="fa-minus"
- bootstrapbutton:bb_roundedCorners="true"
- bootstrapbutton:bb_size="small"
- bootstrapbutton:bb_type="danger" />
+ android:src="@drawable/minus"
+ android:background="@drawable/button_rounded_red"/>
</LinearLayout>
<View
diff --git a/OpenKeychain/src/main/res/layout/edit_key_section.xml b/OpenKeychain/src/main/res/layout/edit_key_section.xml
index 9f10ff8c1..6cfe18bd6 100644
--- a/OpenKeychain/src/main/res/layout/edit_key_section.xml
+++ b/OpenKeychain/src/main/res/layout/edit_key_section.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<org.sufficientlysecure.keychain.ui.widget.SectionView xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
@@ -23,15 +22,13 @@
android:singleLine="true"
android:text="Section Name" />
- <com.beardedhen.androidbootstrap.BootstrapButton
+ <ImageButton
android:id="@+id/plusbutton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="10dp"
- bootstrapbutton:bb_icon_left="fa-plus"
- bootstrapbutton:bb_roundedCorners="true"
- bootstrapbutton:bb_size="small"
- bootstrapbutton:bb_type="success" />
+ android:src="@drawable/plus"
+ android:background="@drawable/button_rounded_green"/>
</LinearLayout>
<LinearLayout
diff --git a/OpenKeychain/src/main/res/layout/edit_key_user_id_item.xml b/OpenKeychain/src/main/res/layout/edit_key_user_id_item.xml
index a8d1dc674..3454d3668 100644
--- a/OpenKeychain/src/main/res/layout/edit_key_user_id_item.xml
+++ b/OpenKeychain/src/main/res/layout/edit_key_user_id_item.xml
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<org.sufficientlysecure.keychain.ui.widget.UserIdEditor xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
@@ -76,18 +75,16 @@
</TableRow>
</TableLayout>
- <com.beardedhen.androidbootstrap.BootstrapButton
+ <ImageButton
android:id="@+id/delete"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
- android:layout_margin="10dp"
+ android:layout_margin="10dip"
android:layout_marginLeft="4dip"
android:layout_marginRight="6dip"
- bootstrapbutton:bb_icon_left="fa-minus"
- bootstrapbutton:bb_roundedCorners="true"
- bootstrapbutton:bb_size="small"
- bootstrapbutton:bb_type="danger" />
+ android:src="@drawable/minus"
+ android:background="@drawable/button_rounded_red" />
</LinearLayout>
<View