Commit f3cead13 authored by 王海's avatar 王海

Merge remote-tracking branch 'origin/master'

parents 4ae77280 b43bb15b
...@@ -5,23 +5,24 @@ ...@@ -5,23 +5,24 @@
<variable <variable
name="onClickListener" name="onClickListener"
type="com.xingdata.zzdpos.util.OnClickListener"/> type="com.xingdata.zzdpos.util.OnClickListener" />
</data> </data>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
android:background="@drawable/up_down_line_white_bottom" android:background="@drawable/up_down_line_white_bottom"
android:orientation="horizontal"> android:orientation="horizontal">
<ImageButton <ImageButton
android:id="@+id/iv_back" android:id="@+id/iv_back"
android:layout_width="?attr/actionBarSize" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/transparent" android:background="@color/transparent"
android:onClick="@{onClickListener}" android:onClick="@{onClickListener}"
android:padding="@dimen/all_padding"
android:src="@mipmap/go_back" /> android:src="@mipmap/go_back" />
<TextView <TextView
...@@ -30,13 +31,12 @@ ...@@ -30,13 +31,12 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_centerInParent="true" android:layout_centerInParent="true"
android:text="标题" android:text="标题"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:textColor="@color/black_baozheng" android:textColor="@color/black_baozheng"
android:textSize="@dimen/all_sub_title_size"/> android:textSize="@dimen/all_sub_title_size"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</android.support.constraint.ConstraintLayout> </android.support.constraint.ConstraintLayout>
......
...@@ -5,27 +5,27 @@ ...@@ -5,27 +5,27 @@
<variable <variable
name="onClickListener" name="onClickListener"
type="com.xingdata.zzdpos.util.OnClickListener"/> type="com.xingdata.zzdpos.util.OnClickListener" />
</data> </data>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
android:background="@drawable/singleline" android:background="@drawable/singleline"
android:orientation="horizontal"> android:orientation="horizontal">
<ImageButton <ImageButton
android:id="@+id/iv_back" android:id="@+id/iv_back"
android:layout_width="?attr/actionBarSize" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/transparent" android:background="@color/transparent"
android:gravity="center" android:gravity="center"
android:onClick="@{onClickListener}" android:onClick="@{onClickListener}"
android:padding="@dimen/all_margin" android:padding="@dimen/all_padding"
android:src="@mipmap/back_white"/> android:src="@mipmap/back_white" />
<TextView <TextView
android:id="@+id/tv_title" android:id="@+id/tv_title"
...@@ -34,8 +34,7 @@ ...@@ -34,8 +34,7 @@
android:layout_centerInParent="true" android:layout_centerInParent="true"
android:text="标题" android:text="标题"
android:textColor="@color/white" android:textColor="@color/white"
android:textSize="@dimen/all_sub_title_size" android:textSize="@dimen/all_sub_title_size" />
/>
</RelativeLayout> </RelativeLayout>
......
...@@ -10,9 +10,10 @@ ...@@ -10,9 +10,10 @@
<ImageButton <ImageButton
android:id="@+id/iv_back" android:id="@+id/iv_back"
android:layout_width="?attr/actionBarSize" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@mipmap/go_back" /> android:background="@mipmap/go_back"
android:padding="@dimen/all_padding" />
<TextView <TextView
android:id="@+id/tv_title" android:id="@+id/tv_title"
...@@ -25,10 +26,11 @@ ...@@ -25,10 +26,11 @@
<ImageButton <ImageButton
android:id="@+id/pop_menu" android:id="@+id/pop_menu"
android:layout_width="60dp" android:layout_width="wrap_content"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:background="@mipmap/pop_menu" /> android:background="@mipmap/pop_menu"
android:padding="@dimen/all_padding" />
</RelativeLayout> </RelativeLayout>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment