information bar
This commit is contained in:
@@ -208,14 +208,13 @@
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
>
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/add_infor_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="200dp"
|
||||
android:gravity="center"
|
||||
android:id="@+id/add_infor_ll"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
@@ -257,7 +256,7 @@
|
||||
</LinearLayout>
|
||||
|
||||
<com.cb.ratingbar.CBRatingBar
|
||||
android:id="@+id/cb_rating_bar"
|
||||
android:id="@+id/score_bar"
|
||||
android:layout_width="150dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_alignParentRight="true"
|
||||
@@ -371,6 +370,7 @@
|
||||
</LinearLayout>
|
||||
|
||||
<com.akexorcist.roundcornerprogressbar.RoundCornerProgressBar
|
||||
android:id="@+id/bmi_bar"
|
||||
android:layout_width="145dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_alignParentRight="true"
|
||||
@@ -378,12 +378,9 @@
|
||||
android:layout_marginTop="3dp"
|
||||
app:rcBackgroundColor="@color/color_bar_background"
|
||||
app:rcBackgroundPadding="5dp"
|
||||
app:rcMax="100"
|
||||
app:rcProgress="56.6"
|
||||
app:rcProgressColor="@color/color_bar_self"
|
||||
app:rcRadius="10dp"
|
||||
app:rcReverse="false"
|
||||
app:rcSecondaryProgress="74.1"
|
||||
app:rcSecondaryProgressColor="@color/color_bar_deeper" />
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -446,7 +443,7 @@
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="8dp"
|
||||
android:text="@string/standrad_information"
|
||||
android:text="@string/average_information"
|
||||
android:textSize="5sp" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -457,6 +454,7 @@
|
||||
</LinearLayout>
|
||||
|
||||
<com.akexorcist.roundcornerprogressbar.RoundCornerProgressBar
|
||||
android:id="@+id/height_bar"
|
||||
android:layout_width="145dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_alignParentRight="true"
|
||||
@@ -464,12 +462,9 @@
|
||||
android:layout_marginTop="3dp"
|
||||
app:rcBackgroundColor="@color/color_bar_background"
|
||||
app:rcBackgroundPadding="5dp"
|
||||
app:rcMax="100"
|
||||
app:rcProgress="16.6"
|
||||
app:rcProgressColor="@color/color_bar_self"
|
||||
app:rcRadius="10dp"
|
||||
app:rcReverse="false"
|
||||
app:rcSecondaryProgress="32.1"
|
||||
app:rcSecondaryProgressColor="@color/color_bar_deeper" />
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -532,7 +527,7 @@
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="8dp"
|
||||
android:text="@string/standrad_information"
|
||||
android:text="@string/average_information"
|
||||
android:textSize="5sp" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -543,6 +538,7 @@
|
||||
</LinearLayout>
|
||||
|
||||
<com.akexorcist.roundcornerprogressbar.RoundCornerProgressBar
|
||||
android:id="@+id/weight_bar"
|
||||
android:layout_width="145dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_alignParentRight="true"
|
||||
@@ -550,12 +546,9 @@
|
||||
android:layout_marginTop="3dp"
|
||||
app:rcBackgroundColor="@color/color_bar_background"
|
||||
app:rcBackgroundPadding="5dp"
|
||||
app:rcMax="100"
|
||||
app:rcProgress="32.6"
|
||||
app:rcProgressColor="@color/color_bar_self"
|
||||
app:rcRadius="10dp"
|
||||
app:rcReverse="false"
|
||||
app:rcSecondaryProgress="56.1"
|
||||
app:rcSecondaryProgressColor="@color/color_bar_deeper" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<resources>
|
||||
<string name="app_name">NutritionMaster</string>
|
||||
<string name="self_information">当前值</string>
|
||||
<string name="average_information">全国均值</string>
|
||||
<string name="standrad_information">标准值</string>
|
||||
<string name="pig">M1080.3,453.7c-77.2,88.2 -214.6,234.4 -214.6,234.4s22,160.2 35.3,269.7c5.9,55.9 -37.5,80.1 -86,58.1 -92.6,-43.4 -233.7,-111 -265.3,-126.4 -32.3,14.7 -174.2,81.6 -267.5,124.9 -49.2,21.3 -92.6,-2.2 -87.5,-58.1 12.5,-109.5 35.3,-269 35.3,-269S91.1,541.9 13.2,453.7c-27.9,-32.3 -9.6,-77.9 44.8,-86 111.7,-19.8 284.4,-51.4 284.4,-51.4s94.8,-163.1 154.3,-263.1C529.8,-7.8 552.6,-0.4 556.3,1c10.3,2.9 26.5,15.4 47,52.2 58.8,99.9 152.1,263.1 152.1,263.1s170.5,31.6 280.7,51.4c53.6,8.1 71.3,54.4 44.1,86z</string>
|
||||
<string name="food_meterial_title">食材识别</string>
|
||||
|
||||
Reference in New Issue
Block a user