Tweak button styles

This commit is contained in:
arkon
2020-03-22 18:43:16 -04:00
parent b434bc93a3
commit 3f4140900d
10 changed files with 34 additions and 93 deletions

View File

@@ -50,7 +50,7 @@
<Button
android:id="@+id/reset_btn"
style="@style/Theme.Widget.Button.Borderless"
style="@style/Theme.Widget.Button"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -58,7 +58,7 @@
<Button
android:id="@+id/search_btn"
style="@style/Theme.Widget.Button.Colored"
style="@style/Theme.Widget.Button.FilledAccent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"

View File

@@ -39,9 +39,11 @@
<Button
android:id="@+id/source_latest"
style="@style/Theme.Widget.Button.Borderless.Small"
style="@style/Theme.Widget.Button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxHeight="48dp"
android:minHeight="48dp"
android:text="@string/latest"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/source_browse"
@@ -49,9 +51,11 @@
<Button
android:id="@+id/source_browse"
style="@style/Theme.Widget.Button.Borderless.Small"
style="@style/Theme.Widget.Button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxHeight="48dp"
android:minHeight="48dp"
android:text="@string/browse"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"

View File

@@ -60,20 +60,16 @@
android:layout_marginStart="4dp"
android:maxLines="1"
android:textSize="12sp"
app:layout_constraintBaseline_toBaselineOf="@id/lang"
app:layout_constraintStart_toEndOf="@id/lang"
app:layout_constraintTop_toBottomOf="@+id/ext_title"
tools:text="Version" />
<Button
android:id="@+id/ext_button"
style="@style/Theme.Widget.Button.Outlined.Accent"
android:layout_width="wrap_content"
android:layout_height="32dp"
android:layout_marginTop="16dp"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:layout_marginBottom="16dp"
android:background="@drawable/button_bg_transparent"
android:foreground="?attr/selectableItemBackground"
android:textColor="@drawable/button_bg_transparent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"

View File

@@ -78,7 +78,7 @@
<Button
android:id="@+id/extension_uninstall_button"
style="@style/Theme.Widget.Button.Colored"
style="@style/Theme.Widget.Button.FilledAccent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"

View File

@@ -51,7 +51,7 @@
<Button
android:id="@+id/remove"
style="@style/Theme.Widget.Button.Borderless.Negative"
style="@style/Theme.Widget.Button.Error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
@@ -59,7 +59,7 @@
<Button
android:id="@+id/resume"
style="@style/Theme.Widget.Button.Borderless"
style="@style/Theme.Widget.Button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"