Tweak priority row layout

pull/996/head
Alex Baker 5 years ago
parent 5fe6aedfbe
commit 4f2eb2bf42

@ -1,48 +1,42 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical">
android:orientation="horizontal">
<TextView <TextView
android:id="@+id/text"
style="@style/TaskEditTextPrimary" style="@style/TaskEditTextPrimary"
android:layout_alignParentStart="true"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingStart="0dp"
android:paddingEnd="@dimen/keyline_second"
android:gravity="start|center_vertical" android:gravity="start|center_vertical"
android:text="@string/TEA_importance_label"/> android:text="@string/TEA_importance_label"/>
<RadioGroup <RadioGroup
android:layout_toEndOf="@id/text"
android:layout_alignParentEnd="true"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="end" android:layout_gravity="end"
android:paddingStart="@dimen/keyline_second"
android:paddingEnd="0dp"
android:gravity="end" android:gravity="end"
android:orientation="horizontal"> android:orientation="horizontal">
<androidx.appcompat.widget.AppCompatRadioButton <androidx.appcompat.widget.AppCompatRadioButton
android:id="@+id/priority_none" android:id="@+id/priority_none"
style="@style/priority_button" style="@style/priority_button"/>
tools:ignore="UnusedAttribute"/>
<androidx.appcompat.widget.AppCompatRadioButton <androidx.appcompat.widget.AppCompatRadioButton
android:id="@+id/priority_low" android:id="@+id/priority_low"
style="@style/priority_button" style="@style/priority_button"/>
tools:ignore="UnusedAttribute"/>
<androidx.appcompat.widget.AppCompatRadioButton <androidx.appcompat.widget.AppCompatRadioButton
android:id="@+id/priority_medium" android:id="@+id/priority_medium"
style="@style/priority_button" style="@style/priority_button"/>
tools:ignore="UnusedAttribute"/>
<androidx.appcompat.widget.AppCompatRadioButton <androidx.appcompat.widget.AppCompatRadioButton
android:id="@+id/priority_high" android:id="@+id/priority_high"
style="@style/priority_button" style="@style/priority_button"/>
tools:ignore="UnusedAttribute"/>
</RadioGroup> </RadioGroup>
</LinearLayout> </RelativeLayout>

@ -133,10 +133,7 @@
</style> </style>
<style name="priority_button_base"> <style name="priority_button_base">
<item name="android:layout_width">0dp</item>
<item name="android:layout_height">24dp</item> <item name="android:layout_height">24dp</item>
<item name="android:layout_weight">1</item>
<item name="android:width">0dp</item>
</style> </style>
<style name="priority_button" parent="priority_button_base"> <style name="priority_button" parent="priority_button_base">

Loading…
Cancel
Save