User Switcher: Add a border around add button.

Use the dialog border button style so that we don't have to create more
drawables for this particular use case.

Fixes: b/219067531
Test: Manual
Change-Id: I1146f9012cf3a3b2cf633a7f49beecc8d5ca1641
This commit is contained in:
Aaron Liu
2022-02-22 23:03:12 +00:00
parent ffdd90026a
commit c5effa8170

View File

@@ -56,16 +56,17 @@
<TextView
android:id="@+id/add"
android:visibility="gone"
style="@style/Widget.Dialog.Button.BorderButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
app:layout_constraintHeight_min="48dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:paddingHorizontal="@dimen/user_switcher_fullscreen_button_padding"
android:textSize="@dimen/user_switcher_fullscreen_button_text_size"
android:text="@string/add"
android:textColor="?androidprv:attr/colorAccentPrimary"
android:text="@string/add" />
android:textSize="@dimen/user_switcher_fullscreen_button_text_size"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHeight_min="48dp" />
</androidx.constraintlayout.widget.ConstraintLayout>