|
@@ -5,15 +5,16 @@
|
|
|
android:id="@+id/main"
|
|
android:id="@+id/main"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
- android:background="@color/main_color"
|
|
|
|
|
|
|
+ android:background="@mipmap/main_bg"
|
|
|
tools:context=".view.activity.HomeActivity">
|
|
tools:context=".view.activity.HomeActivity">
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
<RelativeLayout
|
|
|
android:id="@+id/rl_menu"
|
|
android:id="@+id/rl_menu"
|
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="0dp"
|
|
android:layout_height="0dp"
|
|
|
|
|
+ android:padding="@dimen/menu_padding"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintHorizontal_weight="40"
|
|
|
|
|
|
|
+ app:layout_constraintHorizontal_weight="267"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintRight_toLeftOf="@id/rl_page"
|
|
app:layout_constraintRight_toLeftOf="@id/rl_page"
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
@@ -22,15 +23,16 @@
|
|
|
android:id="@+id/tv_app_title"
|
|
android:id="@+id/tv_app_title"
|
|
|
style="@style/CommonTextView"
|
|
style="@style/CommonTextView"
|
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerHorizontal="true"
|
|
|
- android:padding="@dimen/menu_padding"
|
|
|
|
|
- android:text="@string/app_title" />
|
|
|
|
|
|
|
+ android:text="@string/app_title"
|
|
|
|
|
+ android:textSize="@dimen/common_text_size_big"
|
|
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
|
|
<View
|
|
<View
|
|
|
android:id="@+id/v_divider_title"
|
|
android:id="@+id/v_divider_title"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/divider_line_width"
|
|
android:layout_height="@dimen/divider_line_width"
|
|
|
android:layout_below="@id/tv_app_title"
|
|
android:layout_below="@id/tv_app_title"
|
|
|
- android:layout_margin="@dimen/divider_line_margin"
|
|
|
|
|
|
|
+ android:layout_marginVertical="@dimen/divider_line_margin"
|
|
|
android:background="@color/white" />
|
|
android:background="@color/white" />
|
|
|
|
|
|
|
|
<TextClock
|
|
<TextClock
|
|
@@ -39,15 +41,14 @@
|
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_alignParentBottom="true"
|
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_centerHorizontal="true"
|
|
|
android:format12Hour="yyyy-MM-dd\nhh:mm"
|
|
android:format12Hour="yyyy-MM-dd\nhh:mm"
|
|
|
- android:format24Hour="yyyy-MM-dd\nhh:mm"
|
|
|
|
|
- android:padding="@dimen/menu_padding" />
|
|
|
|
|
|
|
+ android:format24Hour="yyyy-MM-dd\nhh:mm" />
|
|
|
|
|
|
|
|
<View
|
|
<View
|
|
|
android:id="@+id/v_divider_time"
|
|
android:id="@+id/v_divider_time"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="@dimen/divider_line_width"
|
|
android:layout_height="@dimen/divider_line_width"
|
|
|
android:layout_above="@id/tc_time"
|
|
android:layout_above="@id/tc_time"
|
|
|
- android:layout_margin="@dimen/divider_line_margin"
|
|
|
|
|
|
|
+ android:layout_marginVertical="@dimen/divider_line_margin"
|
|
|
android:background="@color/white" />
|
|
android:background="@color/white" />
|
|
|
|
|
|
|
|
<include
|
|
<include
|
|
@@ -70,7 +71,7 @@
|
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="0dp"
|
|
android:layout_height="0dp"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintHorizontal_weight="200"
|
|
|
|
|
|
|
+ app:layout_constraintHorizontal_weight="1653"
|
|
|
app:layout_constraintLeft_toRightOf="@id/rl_menu"
|
|
app:layout_constraintLeft_toRightOf="@id/rl_menu"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
@@ -78,6 +79,6 @@
|
|
|
<androidx.viewpager2.widget.ViewPager2
|
|
<androidx.viewpager2.widget.ViewPager2
|
|
|
android:id="@+id/vp"
|
|
android:id="@+id/vp"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"/>
|
|
|
|
|
|
|
+ android:layout_height="match_parent" />
|
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|