use styled borderless button

This commit is contained in:
Daniel Gultsch 2018-04-21 22:17:47 +02:00
parent 1118c4450b
commit 956f7c6812
10 changed files with 24 additions and 23 deletions

View file

@ -81,7 +81,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"
@ -96,7 +96,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"

View file

@ -149,7 +149,7 @@
<Button
android:id="@+id/scan_button"
style="?android:attr/borderlessButtonStyle"
style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minWidth="0dp"
@ -160,7 +160,7 @@
<Button
android:id="@+id/show_inactive_devices"
style="?android:attr/borderlessButtonStyle"
style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minWidth="0dp"

View file

@ -203,7 +203,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"
@ -603,7 +603,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"
@ -626,7 +626,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"
@ -641,7 +641,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"

View file

@ -223,7 +223,7 @@
<Button
android:id="@+id/invite"
style="?android:attr/borderlessButtonStyle"
style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minWidth="0dp"

View file

@ -71,7 +71,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"
@ -86,7 +86,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"

View file

@ -75,7 +75,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"
@ -144,7 +144,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"
@ -159,7 +159,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"

View file

@ -60,7 +60,7 @@
android:visibility="invisible"/>
<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"

View file

@ -11,12 +11,13 @@
<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"
android:layout_centerVertical="true"
android:text="@string/load_more_messages"
android:textColor="@color/accent" android:layout_centerVertical="true"
android:layout_centerHorizontal="true"/>
android:textColor="@color/accent"/>
<com.makeramen.roundedimageview.RoundedImageView
android:id="@+id/message_photo"
@ -33,12 +34,12 @@
android:id="@+id/status_message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:minHeight="32dp"
android:layout_centerVertical="true"
android:gravity="center_vertical"
android:layout_marginLeft="8dp"
android:layout_toEndOf="@+id/message_photo"
android:layout_toRightOf="@+id/message_photo"
android:gravity="center_vertical"
android:minHeight="32dp"
android:text="@string/contact_has_read_up_to_this_point"
android:textAppearance="@style/TextAppearance.Conversations.Status"/>

View file

@ -44,7 +44,7 @@
android:textAppearance="@style/TextAppearance.Conversations.Body1"/>
<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"
@ -52,7 +52,7 @@
android:textColor="@color/accent"/>
<Button
android:id="@+id/use_own_provider"
style="?android:attr/borderlessButtonStyle"
style="@style/Widget.Conversations.Button.Borderless"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right"