aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-04-29 22:28:45 +0200
committerChristian Schneppe <christian@pix-art.de>2018-04-29 22:28:45 +0200
commit1802b45f41b9a4aa0e1291e05576bdc39964e06d (patch)
tree19b6fa1a67c8a53f186ab58b587acf468b8fa082 /src/main/res/layout
parent1fcc2f3cb1f219c25080bdcbb8f4d9fb6af10ea7 (diff)
use styled borderless button
Diffstat (limited to 'src/main/res/layout')
-rw-r--r--src/main/res/layout/activity_change_password.xml4
-rw-r--r--src/main/res/layout/activity_contact_details.xml4
-rw-r--r--src/main/res/layout/activity_edit_account.xml8
-rw-r--r--src/main/res/layout/activity_muc_details.xml8
-rw-r--r--src/main/res/layout/activity_publish_profile_picture.xml4
-rw-r--r--src/main/res/layout/activity_recording.xml4
-rw-r--r--src/main/res/layout/activity_share_locaction.xml4
-rw-r--r--src/main/res/layout/activity_trust_keys.xml6
-rw-r--r--src/main/res/layout/activity_verify_otr.xml4
-rw-r--r--src/main/res/layout/magic_create.xml2
-rw-r--r--src/main/res/layout/message_status.xml2
-rw-r--r--src/main/res/layout/welcome.xml6
12 files changed, 28 insertions, 28 deletions
diff --git a/src/main/res/layout/activity_change_password.xml b/src/main/res/layout/activity_change_password.xml
index bebbd32ef..f6dfc5d0e 100644
--- a/src/main/res/layout/activity_change_password.xml
+++ b/src/main/res/layout/activity_change_password.xml
@@ -80,7 +80,7 @@
<Button
android:id="@+id/left_button"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -95,7 +95,7 @@
<Button
android:id="@+id/right_button"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
diff --git a/src/main/res/layout/activity_contact_details.xml b/src/main/res/layout/activity_contact_details.xml
index 7c93e5be2..2f8f33f01 100644
--- a/src/main/res/layout/activity_contact_details.xml
+++ b/src/main/res/layout/activity_contact_details.xml
@@ -64,7 +64,7 @@
<LinearLayout
android:id="@+id/details_jidbox"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentLeft="true"
@@ -126,7 +126,7 @@
<Button
android:id="@+id/add_contact_button"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
diff --git a/src/main/res/layout/activity_edit_account.xml b/src/main/res/layout/activity_edit_account.xml
index f47bcc5bb..e4a654620 100644
--- a/src/main/res/layout/activity_edit_account.xml
+++ b/src/main/res/layout/activity_edit_account.xml
@@ -211,7 +211,7 @@
<Button
android:id="@+id/os_optimization_disable"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minWidth="0dp"
@@ -646,7 +646,7 @@
<Button
android:id="@+id/clear_devices"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
@@ -669,7 +669,7 @@
<Button
android:id="@+id/cancel_button"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -683,7 +683,7 @@
<Button
android:id="@+id/save_button"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
diff --git a/src/main/res/layout/activity_muc_details.xml b/src/main/res/layout/activity_muc_details.xml
index 214936b6b..523e2b53c 100644
--- a/src/main/res/layout/activity_muc_details.xml
+++ b/src/main/res/layout/activity_muc_details.xml
@@ -208,7 +208,7 @@
<Button
android:id="@+id/invite"
style="?android:attr/buttonStyleSmall"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="24dp"
@@ -217,7 +217,7 @@
<Button
android:id="@+id/leave_muc"
style="?android:attr/buttonStyleSmall"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="24dp"
@@ -226,7 +226,7 @@
<Button
android:id="@+id/add_contact_button"
style="?android:attr/buttonStyleSmall"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="24dp"
@@ -235,7 +235,7 @@
<Button
android:id="@+id/destroy"
style="?android:attr/buttonStyleSmall"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="24dp"
diff --git a/src/main/res/layout/activity_publish_profile_picture.xml b/src/main/res/layout/activity_publish_profile_picture.xml
index 0fce24346..d761169d8 100644
--- a/src/main/res/layout/activity_publish_profile_picture.xml
+++ b/src/main/res/layout/activity_publish_profile_picture.xml
@@ -101,7 +101,7 @@
<Button
android:id="@+id/cancel_button"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -115,7 +115,7 @@
<Button
android:id="@+id/publish_button"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
diff --git a/src/main/res/layout/activity_recording.xml b/src/main/res/layout/activity_recording.xml
index c6a57f98d..c8f83b0e0 100644
--- a/src/main/res/layout/activity_recording.xml
+++ b/src/main/res/layout/activity_recording.xml
@@ -14,7 +14,7 @@
<Button
android:id="@+id/cancel_button"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -30,7 +30,7 @@
<Button
android:id="@+id/share_button"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
diff --git a/src/main/res/layout/activity_share_locaction.xml b/src/main/res/layout/activity_share_locaction.xml
index 2131bb0f3..14be5b2e4 100644
--- a/src/main/res/layout/activity_share_locaction.xml
+++ b/src/main/res/layout/activity_share_locaction.xml
@@ -38,7 +38,7 @@
<Button
android:id="@+id/cancel_button"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -52,7 +52,7 @@
<Button
android:id="@+id/share_button"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
diff --git a/src/main/res/layout/activity_trust_keys.xml b/src/main/res/layout/activity_trust_keys.xml
index 0e5159942..2fe9250f1 100644
--- a/src/main/res/layout/activity_trust_keys.xml
+++ b/src/main/res/layout/activity_trust_keys.xml
@@ -79,7 +79,7 @@
<Button
android:id="@+id/disable_button"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minWidth="0dp"
@@ -148,7 +148,7 @@
<Button
android:id="@+id/cancel_button"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -163,7 +163,7 @@
<Button
android:id="@+id/save_button"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
diff --git a/src/main/res/layout/activity_verify_otr.xml b/src/main/res/layout/activity_verify_otr.xml
index bd5e04b29..899b2fa31 100644
--- a/src/main/res/layout/activity_verify_otr.xml
+++ b/src/main/res/layout/activity_verify_otr.xml
@@ -129,7 +129,7 @@
<Button
android:id="@+id/left_button"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
@@ -143,7 +143,7 @@
<Button
android:id="@+id/right_button"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
diff --git a/src/main/res/layout/magic_create.xml b/src/main/res/layout/magic_create.xml
index d3aaad1b6..8d2b811f0 100644
--- a/src/main/res/layout/magic_create.xml
+++ b/src/main/res/layout/magic_create.xml
@@ -66,7 +66,7 @@
<Button
android:id="@+id/create_account"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
diff --git a/src/main/res/layout/message_status.xml b/src/main/res/layout/message_status.xml
index e9d6fcaf4..e9c43279f 100644
--- a/src/main/res/layout/message_status.xml
+++ b/src/main/res/layout/message_status.xml
@@ -11,7 +11,7 @@
<Button
android:id="@+id/load_more_messages"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
diff --git a/src/main/res/layout/welcome.xml b/src/main/res/layout/welcome.xml
index 77615718b..a388f1d91 100644
--- a/src/main/res/layout/welcome.xml
+++ b/src/main/res/layout/welcome.xml
@@ -59,7 +59,7 @@
<Button
android:id="@+id/import_database"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
@@ -69,7 +69,7 @@
<Button
android:id="@+id/create_account"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"
@@ -78,7 +78,7 @@
<Button
android:id="@+id/use_existing_account"
- style="?android:attr/borderlessButtonStyle"
+ style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"