mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-08 18:18:52 -06:00
120 lines
4.0 KiB
XML
120 lines
4.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_margin="0dp"
|
|
android:paddingTop="16dp"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="16dp"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:gravity="center_vertical">
|
|
|
|
<RadioButton
|
|
android:id="@+id/everyDayRadioButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/every_day" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:gravity="center_vertical">
|
|
|
|
<RadioButton
|
|
android:id="@+id/everyXDaysRadioButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Every" />
|
|
|
|
<EditText
|
|
android:id="@+id/everyXDaysTextView"
|
|
android:layout_width="50dp"
|
|
android:layout_height="40dp"
|
|
android:gravity="center"
|
|
android:background="@drawable/bg_input_box"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:inputType="number"
|
|
android:maxLength="2"
|
|
android:text="3" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="days" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:gravity="center_vertical">
|
|
|
|
<RadioButton
|
|
android:id="@+id/xTimesPerWeekRadioButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<EditText
|
|
android:id="@+id/xTimesPerWeekTextView"
|
|
android:layout_width="50dp"
|
|
android:layout_height="40dp"
|
|
android:gravity="center"
|
|
android:background="@drawable/bg_input_box"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:inputType="number"
|
|
android:maxLength="2"
|
|
android:text="5" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="times per week" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:gravity="center_vertical">
|
|
|
|
<RadioButton
|
|
android:id="@+id/xTimesPerMonthRadioButton"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<EditText
|
|
android:id="@+id/xTimesPerMonthTextView"
|
|
android:layout_width="50dp"
|
|
android:layout_height="40dp"
|
|
android:gravity="center"
|
|
android:background="@drawable/bg_input_box"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:inputType="number"
|
|
android:maxLength="2"
|
|
android:text="10" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="times per month" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |