fg_setting_timedate.xml 10.6 KB
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="1565dp"
    android:layout_height="match_parent" >

    <TextView
        android:id="@+id/view_1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginLeft="20dp"
        android:layout_marginTop="96dp"
        android:text="@string/string_date"
        android:textSize="@dimen/text_size_40"
        android:textColor="@color/color_white"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintVertical_bias="0.00"
        app:layout_constraintHorizontal_bias="0.0" />

    <LinearLayout
        android:id="@+id/lin_zone"
        android:layout_width="1399dp"
        android:layout_height="68dp"
        android:layout_marginTop="39dp"
        android:layout_marginLeft="68dp"
        android:orientation="horizontal"
        android:background="@drawable/shape_txt_set_style_11_1"
        android:gravity="center_vertical"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/view_1" >
        <TextView
            android:id="@+id/txt_1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="25dp"
            android:text="@string/string_zone"
            android:textSize="@dimen/text_size_24"
            android:textColor="@color/color_white" />
        <TextView
            android:id="@+id/txt_zone"
            android:layout_width="200dp"
            android:layout_height="wrap_content"
            android:layout_marginLeft="920dp"
            android:gravity="center"
            android:text="@string/string_lan"
            android:textSize="@dimen/text_size_24"
            android:textColor="@color/color_white" />
        <ImageView
            android:id="@+id/img_zone_next"
            android:layout_width="20dp"
            android:layout_height="20dp"
            android:layout_marginLeft="10dp"
            android:visibility="visible"
            android:src="@mipmap/img_next" />
    </LinearLayout>

    <RadioGroup
        android:id="@+id/rg_1"
        android:layout_width="1399dp"
        android:layout_height="68dp"
        android:layout_marginTop="43dp"
        android:orientation="horizontal"
        android:gravity="center"
        android:background="@drawable/bg_diagnosis_txt"
        app:layout_constraintStart_toStartOf="@+id/lin_zone"
        app:layout_constraintTop_toBottomOf="@+id/lin_zone" >
        <RadioButton
            android:id="@+id/rb_24"
            android:layout_width="698dp"
            android:layout_height="66dp"
            android:paddingStart="35dp"
            android:button="@null"
            android:paddingLeft="0dp"
            android:gravity="center_vertical"
            android:background="@drawable/bg_hour_type_1"
            android:text="@string/string_24"
            android:textSize="@dimen/text_size_24"
            android:textColor="@color/text_color"
            android:checked="true" />
        <RadioButton
            android:id="@+id/rb_12"
            android:layout_width="698dp"
            android:layout_height="66dp"
            android:button="@null"
            android:paddingEnd="35dp"
            android:gravity="center_vertical|right"
            android:background="@drawable/bg_hour_type_2"
            android:text="@string/string_12"
            android:textSize="@dimen/text_size_24"
            android:textColor="@color/text_color"
            android:checked="false" />
    </RadioGroup>

    <RelativeLayout
        android:layout_width="1399dp"
        android:layout_height="446dp"
        android:layout_marginTop="7dp"
        android:background="@drawable/bg_diagnosis_txt"
        app:layout_constraintStart_toStartOf="@+id/rg_1"
        app:layout_constraintTop_toBottomOf="@+id/rg_1" >
        <ImageView
            android:id="@+id/img_hour"
            android:layout_width="60dp"
            android:layout_height="60dp"
            android:layout_marginLeft="204dp"
            android:layout_marginTop="63dp"
            android:src="@mipmap/img_hour" />
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="@dimen/dp_x_10"
            android:layout_alignTop="@+id/img_hour"
            android:layout_alignBottom="@+id/img_hour"
            android:layout_toRightOf="@+id/img_hour"
            android:gravity="center"
            android:text="12:00"
            android:textSize="@dimen/text_size_28"
            android:textColor="@color/color_d8d8d8" />

        <com.sw.laryngoscope.widget.ChargeNumberPicker
            android:id="@+id/hourNumberPicker"
            android:layout_width="85dp"
            android:layout_height="200dp"
            android:layout_below="@+id/img_hour"
            android:layout_toRightOf="@+id/img_hour"
            android:descendantFocusability="blocksDescendants"
            android:focusable="false"
            android:focusableInTouchMode="false" />
        <TextView
            android:layout_width="30dp"
            android:layout_height="wrap_content"
            android:layout_alignTop="@+id/hourNumberPicker"
            android:layout_alignBottom="@+id/hourNumberPicker"
            android:layout_toRightOf="@+id/hourNumberPicker"
            android:gravity="center"
            android:text=":"
            android:textStyle="bold"
            android:textSize="@dimen/text_size_28"
            android:textColor="@color/color_d8d8d8" />
        <com.sw.laryngoscope.widget.ChargeNumberPicker
            android:id="@+id/minNumberPicker"
            android:layout_width="85dp"
            android:layout_height="200dp"
            android:focusable="false"
            android:focusableInTouchMode="false"
            android:descendantFocusability="blocksDescendants"
            android:layout_marginLeft="@dimen/dp_x_30"
            android:layout_below="@+id/img_hour"
            android:layout_toRightOf="@+id/hourNumberPicker" />

        <ImageView
            android:id="@+id/img_calendar"
            android:layout_width="60dp"
            android:layout_height="60dp"
            android:layout_marginLeft="500dp"
            android:layout_alignTop="@+id/img_hour"
            android:layout_alignBottom="@+id/img_hour"
            android:layout_toRightOf="@+id/img_hour"
            android:src="@mipmap/img_calendar" />

        <TextView
            android:id="@+id/txt_calendar_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignTop="@+id/img_calendar"
            android:layout_alignBottom="@+id/img_calendar"
            android:layout_marginLeft="@dimen/dp_x_10"
            android:layout_toRightOf="@+id/img_calendar"
            android:gravity="center"
            android:text="2022-11-11"
            android:textColor="@color/color_d8d8d8"
            android:textSize="@dimen/text_size_28" />

        <com.sw.laryngoscope.widget.ChargeNumberPicker
            android:id="@+id/yearNumberPicker"
            android:layout_width="138dp"
            android:layout_height="200dp"
            android:descendantFocusability="blocksDescendants"
            android:focusable="false"
            android:focusableInTouchMode="false"
            android:layout_below="@+id/img_calendar"
            android:layout_toRightOf="@+id/img_calendar" />
        <TextView
            android:layout_width="30dp"
            android:layout_height="wrap_content"
            android:layout_alignTop="@+id/yearNumberPicker"
            android:layout_alignBottom="@+id/yearNumberPicker"
            android:layout_toRightOf="@+id/yearNumberPicker"
            android:gravity="center"
            android:text="-"
            android:textStyle="bold"
            android:textSize="@dimen/text_size_28"
            android:textColor="@color/color_d8d8d8" />

        <com.sw.laryngoscope.widget.ChargeNumberPicker
            android:id="@+id/monthNumberPicker"
            android:layout_width="138dp"
            android:layout_height="200dp"
            android:layout_below="@+id/img_calendar"
            android:layout_marginLeft="@dimen/dp_x_30"
            android:layout_toRightOf="@+id/yearNumberPicker"
            android:descendantFocusability="blocksDescendants"
            android:focusable="false"
            android:focusableInTouchMode="false" />
        <TextView
            android:layout_width="30dp"
            android:layout_height="wrap_content"
            android:layout_alignTop="@+id/monthNumberPicker"
            android:layout_alignBottom="@+id/monthNumberPicker"
            android:layout_toRightOf="@+id/monthNumberPicker"
            android:gravity="center"
            android:text="-"
            android:textStyle="bold"
            android:textSize="@dimen/text_size_28"
            android:textColor="@color/color_d8d8d8" />
        <com.sw.laryngoscope.widget.ChargeNumberPicker
            android:id="@+id/dateNumberPicker"
            android:layout_width="138dp"
            android:layout_height="200dp"
            android:descendantFocusability="blocksDescendants"
            android:focusable="false"
            android:focusableInTouchMode="false"
            android:layout_marginLeft="@dimen/dp_x_30"
            android:layout_below="@+id/img_calendar"
            android:layout_toRightOf="@+id/monthNumberPicker" />
        <TextView
            android:id="@+id/txt_ok"
            android:layout_width="180dp"
            android:layout_height="50dp"
            android:layout_below="@+id/dateNumberPicker"
            android:layout_alignParentRight="true"
            android:layout_marginTop="50dp"
            android:layout_marginRight="30dp"
            android:background="@drawable/shape_txt_set_style_12_2"
            android:gravity="center"
            android:text="@string/string_ok"
            android:textColor="@drawable/txt_click_color_1"
            android:textSize="@dimen/text_size_25" />
    </RelativeLayout>

</androidx.constraintlayout.widget.ConstraintLayout>