Browse Source

no message

developer
lh 8 years ago
parent
commit
bd42d6124b
1 changed files with 15 additions and 13 deletions
  1. +15
    -13
      app/src/main/res/layout/fragment_work.xml

+ 15
- 13
app/src/main/res/layout/fragment_work.xml View File

@ -8,24 +8,28 @@
<com.youth.banner.Banner xmlns:app="http://schemas.android.com/apk/res-auto" <com.youth.banner.Banner xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/work_banner" android:id="@+id/work_banner"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="200dp" />
android:layout_height="180dp" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_30"
android:layout_marginTop="@dimen/dp_5"
android:layout_marginLeft="@dimen/dp_12"
android:layout_marginTop="@dimen/dp_10"
android:layout_marginBottom="@dimen/dp_10"
android:drawableLeft="@drawable/shape_grey" android:drawableLeft="@drawable/shape_grey"
android:drawablePadding="@dimen/dp_10" android:drawablePadding="@dimen/dp_10"
android:text="@string/functions" android:text="@string/functions"
android:textSize="@dimen/text_size_20" />
android:textSize="@dimen/text_size_16" />
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@color/white" android:background="@color/white"
android:orientation="horizontal" android:orientation="horizontal"
android:padding="@dimen/dp_10">
android:paddingLeft="@dimen/dp_10"
android:paddingRight="@dimen/dp_10"
android:paddingBottom="@dimen/dp_15"
android:paddingTop="@dimen/dp_15">
<!-- 种禽--> <!-- 种禽-->
<LinearLayout <LinearLayout
android:id="@+id/work_breedingpoultry" android:id="@+id/work_breedingpoultry"
@ -43,9 +47,9 @@
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_3"
android:layout_marginTop="@dimen/dp_5"
android:text="@string/work_breedingpoultry" android:text="@string/work_breedingpoultry"
android:textSize="@dimen/text_size_16" />
android:textSize="@dimen/text_size_14" />
</LinearLayout> </LinearLayout>
<!-- 车辆管理--> <!-- 车辆管理-->
@ -65,9 +69,9 @@
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_3"
android:layout_marginTop="@dimen/dp_5"
android:text="@string/work_carsmanager" android:text="@string/work_carsmanager"
android:textSize="@dimen/text_size_16" />
android:textSize="@dimen/text_size_14" />
</LinearLayout> </LinearLayout>
<!-- 扫一扫--> <!-- 扫一扫-->
@ -75,7 +79,6 @@
android:id="@+id/work_scan" android:id="@+id/work_scan"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:orientation="vertical"> android:orientation="vertical">
@ -88,16 +91,15 @@
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_3"
android:layout_marginTop="@dimen/dp_5"
android:text="@string/work_scan" android:text="@string/work_scan"
android:textSize="@dimen/text_size_16" />
android:textSize="@dimen/text_size_14" />
</LinearLayout> </LinearLayout>
<LinearLayout <LinearLayout
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:gravity="center_horizontal" android:gravity="center_horizontal"
android:orientation="vertical"> android:orientation="vertical">


Loading…
Cancel
Save