mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-27 08:55:54 +03:00
align poll buttons to right
make end poll button outlined Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
84bcd0c273
commit
47a93d2c85
3 changed files with 7 additions and 6 deletions
|
@ -128,7 +128,7 @@ class PollVoteFragment : Fragment() {
|
|||
|
||||
private fun themeDialog() {
|
||||
viewThemeUtils.material.colorMaterialButtonPrimaryFilled(binding.pollVoteSubmitButton)
|
||||
viewThemeUtils.material.colorMaterialButtonText(binding.pollVoteEndPollButton)
|
||||
viewThemeUtils.material.colorMaterialButtonPrimaryOutlined(binding.pollVoteEndPollButton)
|
||||
viewThemeUtils.material.colorMaterialButtonPrimaryOutlined(binding.pollVoteEditDismiss)
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/standard_margin"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center">
|
||||
android:gravity="end">
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/edit_vote_button"
|
||||
|
@ -57,10 +57,11 @@
|
|||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/poll_results_end_poll_button"
|
||||
style="@style/Button.Borderless"
|
||||
style="@style/OutlinedButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="@dimen/min_size_clickable_area"
|
||||
android:minWidth="@dimen/poll_buttons_min_width"
|
||||
android:text="@string/polls_end_poll"
|
||||
app:cornerRadius="@dimen/button_corner_radius" />
|
||||
</LinearLayout>
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
android:layout_marginTop="@dimen/standard_margin"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center">
|
||||
android:gravity="end">
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/poll_vote_submit_button"
|
||||
|
@ -66,7 +66,6 @@
|
|||
android:minHeight="@dimen/min_size_clickable_area"
|
||||
android:minWidth="@dimen/poll_buttons_min_width"
|
||||
android:text="@string/polls_submit_vote"
|
||||
android:theme="@style/Button.Primary"
|
||||
app:cornerRadius="@dimen/button_corner_radius" />
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
|
@ -83,10 +82,11 @@
|
|||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/poll_vote_end_poll_button"
|
||||
style="@style/Button.Borderless"
|
||||
style="@style/OutlinedButton"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="@dimen/min_size_clickable_area"
|
||||
android:minWidth="@dimen/poll_buttons_min_width"
|
||||
android:text="@string/polls_end_poll"
|
||||
app:cornerRadius="@dimen/button_corner_radius" />
|
||||
</LinearLayout>
|
||||
|
|
Loading…
Reference in a new issue