|
|
@@ -3,15 +3,15 @@
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
android:id="@+id/title_bar"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/common_title_bar_height"
|
|
|
+ android:layout_height="@dimen/title_bar_height"
|
|
|
android:background="@color/main_color"
|
|
|
- android:padding="@dimen/common_title_bar_padding">
|
|
|
+ android:padding="@dimen/title_bar_padding">
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
android:id="@+id/iv_back"
|
|
|
- android:layout_width="@dimen/common_title_bar_back_size"
|
|
|
- android:layout_height="@dimen/common_title_bar_back_size"
|
|
|
+ android:layout_width="@dimen/title_bar_back_size"
|
|
|
+ android:layout_height="@dimen/title_bar_back_size"
|
|
|
android:background="@color/white"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
@@ -19,9 +19,10 @@
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_title"
|
|
|
- android:layout_width="@dimen/common_title_bar_title_text_size"
|
|
|
- android:layout_height="@dimen/common_title_bar_title_text_size"
|
|
|
- android:textSize="@dimen/common_title_bar_title_text_size"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textSize="@dimen/title_bar_title_text_size"
|
|
|
+ android:textColor="@color/white"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
@@ -33,7 +34,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:text="@string/title_bar_current_work_ticket_num"
|
|
|
android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/common_title_bar_sub_title_text_size"
|
|
|
+ android:textSize="@dimen/title_bar_sub_title_text_size"
|
|
|
app:layout_constraintBottom_toTopOf="@id/tc_clock"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent"/>
|
|
|
@@ -46,7 +47,7 @@
|
|
|
android:format24Hour="yyyy年MM月dd日 hh:mm:ss"
|
|
|
android:gravity="center"
|
|
|
android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/common_title_bar_sub_title_text_size"
|
|
|
+ android:textSize="@dimen/title_bar_sub_title_text_size"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
app:layout_constraintTop_toBottomOf="@id/tv_num" />
|