mirror of https://github.com/tasks/tasks
Tweak priority row layout
parent
5fe6aedfbe
commit
4f2eb2bf42
@ -1,48 +1,42 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text"
|
||||
style="@style/TaskEditTextPrimary"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="0dp"
|
||||
android:paddingEnd="@dimen/keyline_second"
|
||||
android:gravity="start|center_vertical"
|
||||
android:text="@string/TEA_importance_label"/>
|
||||
|
||||
<RadioGroup
|
||||
android:layout_toEndOf="@id/text"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end"
|
||||
android:paddingStart="@dimen/keyline_second"
|
||||
android:paddingEnd="0dp"
|
||||
android:gravity="end"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatRadioButton
|
||||
android:id="@+id/priority_none"
|
||||
style="@style/priority_button"
|
||||
tools:ignore="UnusedAttribute"/>
|
||||
style="@style/priority_button"/>
|
||||
|
||||
<androidx.appcompat.widget.AppCompatRadioButton
|
||||
android:id="@+id/priority_low"
|
||||
style="@style/priority_button"
|
||||
tools:ignore="UnusedAttribute"/>
|
||||
style="@style/priority_button"/>
|
||||
|
||||
<androidx.appcompat.widget.AppCompatRadioButton
|
||||
android:id="@+id/priority_medium"
|
||||
style="@style/priority_button"
|
||||
tools:ignore="UnusedAttribute"/>
|
||||
style="@style/priority_button"/>
|
||||
|
||||
<androidx.appcompat.widget.AppCompatRadioButton
|
||||
android:id="@+id/priority_high"
|
||||
style="@style/priority_button"
|
||||
tools:ignore="UnusedAttribute"/>
|
||||
style="@style/priority_button"/>
|
||||
</RadioGroup>
|
||||
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
Loading…
Reference in New Issue