|
|
@@ -29,7 +29,7 @@
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/layout_heigh_default"
|
|
|
+ android:layout_height="?attr/actionBarSize"
|
|
|
android:gravity="center"
|
|
|
android:text="关于小绵羊"
|
|
|
android:textColor="@color/white"
|
|
|
@@ -40,7 +40,7 @@
|
|
|
android:layout_width="70dp"
|
|
|
android:layout_height="70dp"
|
|
|
android:src="@mipmap/icon"
|
|
|
- android:layout_marginTop="@dimen/layout_heigh_default"
|
|
|
+ android:layout_marginTop="?attr/actionBarSize"
|
|
|
app:layout_constraintBottom_toTopOf="@+id/about_us_app_tv"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
@@ -217,11 +217,14 @@
|
|
|
</LinearLayout>
|
|
|
</android.support.v4.widget.NestedScrollView>
|
|
|
</android.support.design.widget.CoordinatorLayout>
|
|
|
-
|
|
|
+ <View
|
|
|
+ android:id="@+id/status_height_view"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/status_bar_height"/>
|
|
|
<RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/layout_heigh_default"
|
|
|
- android:layout_marginTop="@dimen/status_bar_height">
|
|
|
+ android:layout_height="?attr/actionBarSize"
|
|
|
+ android:layout_below="@+id/status_height_view">
|
|
|
<View
|
|
|
android:id="@+id/new_about_us_bar"
|
|
|
android:layout_width="match_parent"
|
|
|
@@ -236,7 +239,7 @@
|
|
|
<ImageView
|
|
|
android:id="@+id/img_baseactivity_title"
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="@dimen/layout_heigh_default"
|
|
|
+ android:layout_height="?attr/actionBarSize"
|
|
|
android:paddingStart="@dimen/content_padding_20"
|
|
|
android:paddingEnd="@dimen/content_padding_20"
|
|
|
android:gravity="center_vertical"
|
|
|
@@ -246,7 +249,7 @@
|
|
|
<TextView
|
|
|
android:id="@+id/txt_baseactivity_title"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/layout_heigh_default"
|
|
|
+ android:layout_height="?attr/actionBarSize"
|
|
|
android:gravity="center"
|
|
|
android:text="@string/app_name"
|
|
|
android:textColor="@color/black_text_deep"
|