|
|
@ -40,72 +40,111 @@
|
|
|
|
android:text="相似解析"/>
|
|
|
|
android:text="相似解析"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
|
|
android:id="@+id/ll_analyze_result_title"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/ll_analyze"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
|
|
|
|
android:layout_marginLeft="@dimen/dp_14"
|
|
|
|
android:layout_marginLeft="@dimen/dp_14"
|
|
|
|
android:layout_marginRight="@dimen/dp_14"
|
|
|
|
android:layout_marginRight="@dimen/dp_14"
|
|
|
|
android:layout_marginBottom="@dimen/dp_42"
|
|
|
|
|
|
|
|
android:layout_marginTop="@dimen/dp_12"
|
|
|
|
android:layout_marginTop="@dimen/dp_12"
|
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
android:layout_below="@+id/ll_analyze"
|
|
|
|
>
|
|
|
|
android:paddingTop="@dimen/dp_22"
|
|
|
|
|
|
|
|
android:paddingLeft="@dimen/dp_16"
|
|
|
|
|
|
|
|
android:paddingRight="@dimen/dp_16"
|
|
|
|
|
|
|
|
android:paddingBottom="@dimen/dp_25"
|
|
|
|
|
|
|
|
android:background="@drawable/shape_8round_white">
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingTop="@dimen/dp_22"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingLeft="@dimen/dp_16"
|
|
|
|
>
|
|
|
|
android:paddingRight="@dimen/dp_16"
|
|
|
|
<com.ruffian.library.widget.RView
|
|
|
|
android:paddingBottom="@dimen/dp_25"
|
|
|
|
android:layout_width="@dimen/dp_4"
|
|
|
|
android:background="@drawable/shape_8round_white">
|
|
|
|
android:layout_height="@dimen/dp_18"
|
|
|
|
|
|
|
|
app:background_normal="@color/col_02c"
|
|
|
|
<LinearLayout
|
|
|
|
app:corner_radius="2dp"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
/>
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<com.ruffian.library.widget.RView
|
|
|
|
|
|
|
|
android:layout_width="@dimen/dp_4"
|
|
|
|
|
|
|
|
android:layout_height="@dimen/dp_18"
|
|
|
|
|
|
|
|
app:background_normal="@color/col_02c"
|
|
|
|
|
|
|
|
app:corner_radius="2dp"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:textColor="@color/col_313"
|
|
|
|
|
|
|
|
android:text="识别结果"
|
|
|
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
|
|
|
android:textSize="@dimen/sp_17"
|
|
|
|
|
|
|
|
android:paddingHorizontal="@dimen/dp_10"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/tv_analyze_title"
|
|
|
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
|
|
|
android:layout_marginTop="@dimen/dp_21"
|
|
|
|
|
|
|
|
android:textSize="@dimen/sp_18"
|
|
|
|
|
|
|
|
android:textColor="@color/col_313"
|
|
|
|
android:textColor="@color/col_313"
|
|
|
|
tools:text="剁椒鱼头"/>
|
|
|
|
android:text="识别结果"
|
|
|
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
|
|
|
android:textSize="@dimen/sp_17"
|
|
|
|
|
|
|
|
android:paddingHorizontal="@dimen/dp_10"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:id="@+id/tv_analyze_title"
|
|
|
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
|
|
|
android:layout_marginTop="@dimen/dp_21"
|
|
|
|
|
|
|
|
android:textSize="@dimen/sp_18"
|
|
|
|
|
|
|
|
android:textColor="@color/col_313"
|
|
|
|
|
|
|
|
tools:text="剁椒鱼头"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
|
|
|
android:layout_below="@+id/ll_analyze_result_title"
|
|
|
|
|
|
|
|
android:paddingTop="@dimen/dp_22"
|
|
|
|
|
|
|
|
android:paddingLeft="@dimen/dp_16"
|
|
|
|
|
|
|
|
android:paddingRight="@dimen/dp_16"
|
|
|
|
|
|
|
|
android:paddingBottom="@dimen/dp_25"
|
|
|
|
|
|
|
|
android:layout_marginLeft="@dimen/dp_14"
|
|
|
|
|
|
|
|
android:layout_marginRight="@dimen/dp_14"
|
|
|
|
|
|
|
|
android:layout_marginTop="@dimen/dp_12"
|
|
|
|
|
|
|
|
android:background="@drawable/shape_8round_white">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<com.ruffian.library.widget.RView
|
|
|
|
|
|
|
|
android:layout_width="@dimen/dp_4"
|
|
|
|
|
|
|
|
android:layout_height="@dimen/dp_18"
|
|
|
|
|
|
|
|
app:background_normal="@color/col_02c"
|
|
|
|
|
|
|
|
app:corner_radius="2dp"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/tv_analyze_content"
|
|
|
|
|
|
|
|
android:textSize="@dimen/sp_14"
|
|
|
|
|
|
|
|
android:textColor="@color/col_313"
|
|
|
|
android:textColor="@color/col_313"
|
|
|
|
android:layout_marginTop="@dimen/dp_14"/>
|
|
|
|
android:text="营养成分"
|
|
|
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
|
|
|
android:textSize="@dimen/sp_17"
|
|
|
|
|
|
|
|
android:paddingHorizontal="@dimen/dp_10"
|
|
|
|
|
|
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
|
|
|
|
|
|
|
|
<com.xty.common.weight.MyProgressCircleView
|
|
|
|
|
|
|
|
android:id="@+id/mCircle"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="@dimen/dp_140"
|
|
|
|
|
|
|
|
android:layout_marginTop="@dimen/dp_9"
|
|
|
|
|
|
|
|
android:layout_marginEnd="@dimen/dp_9"
|
|
|
|
|
|
|
|
android:paddingTop="@dimen/dp_5"
|
|
|
|
|
|
|
|
android:paddingEnd="@dimen/dp_6"
|
|
|
|
|
|
|
|
android:paddingBottom="@dimen/dp_5"
|
|
|
|
|
|
|
|
app:circle_stroke_width="@dimen/dp_16"
|
|
|
|
|
|
|
|
app:count="3"
|
|
|
|
|
|
|
|
app:example_length="@dimen/dp_1"
|
|
|
|
|
|
|
|
app:example_size="@dimen/dp_5"
|
|
|
|
|
|
|
|
app:percent_size="@dimen/sp_12" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|