|
|
@@ -273,15 +273,15 @@ |
|
|
|
android:valueTo="100" |
|
|
|
app:enableDrawHalo="false" |
|
|
|
app:thumbColor="@color/we_read_thumb_color" |
|
|
|
app:thumbRadius="11dp" |
|
|
|
app:thumbRadius="21dp" |
|
|
|
app:thumbText="0" |
|
|
|
app:thumbTextBold="true" |
|
|
|
app:thumbTextColor="@color/we_read_theme_color" |
|
|
|
app:thumbTextSize="12sp" |
|
|
|
app:thumbTextSize="19sp" |
|
|
|
app:thumbWithinTrackBounds="true" |
|
|
|
app:trackColor="@color/pro1" |
|
|
|
app:trackColorInactive="@color/pro2" |
|
|
|
app:trackHeight="15dp" /> |
|
|
|
app:trackHeight="25dp" /> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<Button |
|
|
@@ -333,15 +333,15 @@ |
|
|
|
android:valueTo="100" |
|
|
|
app:enableDrawHalo="false" |
|
|
|
app:thumbColor="@color/we_read_thumb_color" |
|
|
|
app:thumbRadius="11dp" |
|
|
|
app:thumbRadius="21dp" |
|
|
|
app:thumbText="0" |
|
|
|
app:thumbTextBold="true" |
|
|
|
app:thumbTextColor="@color/we_read_theme_color" |
|
|
|
app:thumbTextSize="12sp" |
|
|
|
app:thumbTextSize="19sp" |
|
|
|
app:thumbWithinTrackBounds="true" |
|
|
|
app:trackColor="@color/pro1" |
|
|
|
app:trackColorInactive="@color/pro2" |
|
|
|
app:trackHeight="15dp" /> |
|
|
|
app:trackHeight="25dp" /> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<Button |
|
|
@@ -393,15 +393,15 @@ |
|
|
|
android:valueTo="100" |
|
|
|
app:enableDrawHalo="false" |
|
|
|
app:thumbColor="@color/we_read_thumb_color" |
|
|
|
app:thumbRadius="11dp" |
|
|
|
app:thumbRadius="21dp" |
|
|
|
app:thumbText="0" |
|
|
|
app:thumbTextBold="true" |
|
|
|
app:thumbTextColor="@color/we_read_theme_color" |
|
|
|
app:thumbTextSize="12sp" |
|
|
|
app:thumbTextSize="19sp" |
|
|
|
app:thumbWithinTrackBounds="true" |
|
|
|
app:trackColor="@color/pro1" |
|
|
|
app:trackColorInactive="@color/pro2" |
|
|
|
app:trackHeight="15dp" /> |
|
|
|
app:trackHeight="25dp" /> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<Button |
|
|
@@ -453,15 +453,15 @@ |
|
|
|
android:valueTo="100" |
|
|
|
app:enableDrawHalo="false" |
|
|
|
app:thumbColor="@color/we_read_thumb_color" |
|
|
|
app:thumbRadius="11dp" |
|
|
|
app:thumbRadius="21dp" |
|
|
|
app:thumbText="0" |
|
|
|
app:thumbTextBold="true" |
|
|
|
app:thumbTextColor="@color/we_read_theme_color" |
|
|
|
app:thumbTextSize="12sp" |
|
|
|
app:thumbTextSize="19sp" |
|
|
|
app:thumbWithinTrackBounds="true" |
|
|
|
app:trackColor="@color/pro1" |
|
|
|
app:trackColorInactive="@color/pro2" |
|
|
|
app:trackHeight="15dp" /> |
|
|
|
app:trackHeight="25dp" /> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<Button |
|
|
@@ -639,7 +639,7 @@ |
|
|
|
android:clickable="true" |
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
<!--重量设定--> |
|
|
|
<!--称控制--> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_height="0dp" |
|
|
@@ -648,6 +648,52 @@ |
|
|
|
android:layout_columnWeight="1" |
|
|
|
android:layout_rowWeight="1"> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:text="当前重量:" |
|
|
|
android:textSize="@dimen/textSize"/> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:id="@+id/PanWeight" |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:text="100kg" |
|
|
|
android:textColor="@color/app_color_blue" |
|
|
|
android:textSize="@dimen/textSize"/> |
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<Button |
|
|
|
android:id="@+id/button_重量清零" |
|
|
|
android:layout_width="130dp" |
|
|
|
android:layout_height="40dp" |
|
|
|
android:layout_marginRight="80dp" |
|
|
|
android:layout_alignParentRight="true" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:background="@drawable/bg_btn_false_color" |
|
|
|
android:text="重量清零" |
|
|
|
android:textColor="@color/white" |
|
|
|
android:textSize="@dimen/textSize" /> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<!--重量设定--> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_height="0dp" |
|
|
|
android:layout_row="1" |
|
|
|
android:layout_column="0" |
|
|
|
android:layout_columnWeight="1" |
|
|
|
android:layout_rowWeight="1"> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
@@ -707,52 +753,6 @@ |
|
|
|
|
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<!--称控制--> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_height="0dp" |
|
|
|
android:layout_row="1" |
|
|
|
android:layout_column="0" |
|
|
|
android:layout_columnWeight="1" |
|
|
|
android:layout_rowWeight="1"> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:text="当前重量:" |
|
|
|
android:textSize="@dimen/textSize"/> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:id="@+id/PanWeight" |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:text="100kg" |
|
|
|
android:textColor="@color/app_color_blue" |
|
|
|
android:textSize="@dimen/textSize"/> |
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<Button |
|
|
|
android:id="@+id/button_重量清零" |
|
|
|
android:layout_width="130dp" |
|
|
|
android:layout_height="40dp" |
|
|
|
android:layout_marginRight="80dp" |
|
|
|
android:layout_alignParentRight="true" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:background="@drawable/bg_btn_false_color" |
|
|
|
android:text="重量清零" |
|
|
|
android:textColor="@color/white" |
|
|
|
android:textSize="@dimen/textSize" /> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_height="0dp" |
|
|
@@ -786,15 +786,15 @@ |
|
|
|
android:valueTo="100" |
|
|
|
app:enableDrawHalo="false" |
|
|
|
app:thumbColor="@color/we_read_thumb_color" |
|
|
|
app:thumbRadius="11dp" |
|
|
|
app:thumbRadius="21dp" |
|
|
|
app:thumbText="0" |
|
|
|
app:thumbTextBold="true" |
|
|
|
app:thumbTextColor="@color/we_read_theme_color" |
|
|
|
app:thumbTextSize="12sp" |
|
|
|
app:thumbTextSize="19sp" |
|
|
|
app:thumbWithinTrackBounds="true" |
|
|
|
app:trackColor="@color/pro1" |
|
|
|
app:trackColorInactive="@color/pro2" |
|
|
|
app:trackHeight="15dp" /> |
|
|
|
app:trackHeight="25dp" /> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<Button |
|
|
|