Fixing sizing and positions in settings

This commit is contained in:
z3r0c00l-2k 2019-06-07 18:35:08 +05:30
parent a71f0eb8e9
commit 87ec9c7046

View file

@ -62,7 +62,7 @@
android:paddingBottom="10dp"
android:background="@null"
android:maxLength="3"
android:hint=" You daily work time in min/day" android:inputType="numberSigned"/>
android:hint=" Your daily work time in min/day" android:inputType="numberSigned"/>
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:layout_width="0dp"
@ -126,7 +126,7 @@
android:paddingStart="10dp"
android:paddingBottom="10dp"
android:background="@null"
android:hint="Notification messgae" android:inputType="text"/>
android:hint="Notification message" android:inputType="text"/>
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:layout_width="0dp"
@ -146,6 +146,15 @@
android:background="@null"
android:hint="Notification tone" android:inputType="text" android:focusable="false"/>
</com.google.android.material.textfield.TextInputLayout>
<TextView
android:text="Notification Frequency"
android:textColor="@color/colorWhite"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/textView2"
app:layout_constraintStart_toStartOf="parent"
android:layout_marginStart="16dp" android:layout_marginTop="8dp"
app:layout_constraintTop_toBottomOf="@+id/etRingtone"/>
<co.ceryle.radiorealbutton.RadioRealButtonGroup
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -156,13 +165,12 @@
app:rrbg_radius="6dp"
app:rrbg_selectorColor="@color/colorSecondaryLigher"
app:rrbg_selectorSize="6dp"
android:layout_marginTop="8dp"
app:layout_constraintTop_toBottomOf="@+id/etRingtone"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:id="@+id/radioNotificItervel" app:layout_constraintBottom_toBottomOf="parent"
android:layout_marginBottom="16dp">
android:id="@+id/radioNotificItervel"
app:layout_constraintTop_toBottomOf="@+id/textView2" app:layout_constraintBottom_toBottomOf="parent"
android:layout_marginBottom="8dp">
<co.ceryle.radiorealbutton.RadioRealButton
android:layout_width="wrap_content"
@ -170,35 +178,37 @@
app:rrb_drawable="@drawable/ic_30_minutes"
app:rrb_drawableHeight="38dp"
app:rrb_drawablePadding="8dp"
app:rrb_drawableGravity="left"
app:rrb_drawableWidth="30dp"
app:rrb_ripple="true"
app:rrb_rippleColor="@color/colorBalck"
app:rrb_text="30 Minutes"
app:rrb_text="30 Mins"
app:rrb_textColor="@color/colorBalck"/>
<co.ceryle.radiorealbutton.RadioRealButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:rrb_drawable="@drawable/ic_45_minutes"
app:rrb_drawableGravity="right"
app:rrb_drawableGravity="left"
app:rrb_drawableHeight="30dp"
app:rrb_drawablePadding="8dp"
app:rrb_drawableWidth="30dp"
app:rrb_ripple="true"
app:rrb_rippleColor="@color/colorBalck"
app:rrb_text="45 Minutes"
app:rrb_text="45 Mins"
app:rrb_textColor="@color/colorBalck"/>
<co.ceryle.radiorealbutton.RadioRealButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:rrb_drawable="@drawable/ic_60_minutes"
app:rrb_drawableGravity="right"
app:rrb_drawableGravity="left"
app:rrb_drawableHeight="30dp"
app:rrb_drawablePadding="8dp"
app:rrb_drawableWidth="30dp"
app:rrb_ripple="true"
app:rrb_rippleColor="@color/colorBalck"
app:rrb_text="60 Minutes"
app:rrb_text="60 Mins"
app:rrb_textColor="@color/colorBalck"/>
</co.ceryle.radiorealbutton.RadioRealButtonGroup>
</androidx.constraintlayout.widget.ConstraintLayout>