<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:orientation="horizontal"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:padding="@dimen/dimen8">
|
|
<LinearLayout
|
android:id="@+id/ll_item"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="2"
|
android:gravity="center_vertical"
|
android:orientation="horizontal"
|
android:layout_marginRight="@dimen/fab_margin">
|
<CheckBox
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:id="@+id/CB_item"/>
|
|
<TextView
|
android:id="@+id/tv_item"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="无须安装"
|
android:textColor="@drawable/selector_grade_text" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1">
|
<RelativeLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:layout_gravity="center"
|
android:orientation="horizontal">
|
|
<ImageView
|
android:id="@+id/BT_minus"
|
android:layout_width="40dp"
|
android:layout_height="40dp"
|
android:src="@drawable/selector_grade_minus"
|
android:padding="@dimen/dimen8"
|
android:layout_alignParentTop="true"
|
android:layout_alignParentStart="true" />
|
|
<TextView
|
android:id="@+id/TV_grade"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerHorizontal="true"
|
android:layout_centerVertical="true"
|
android:textColor="@drawable/selector_grade_text"
|
android:gravity="center"
|
android:layout_margin="@dimen/dimen4"
|
android:hint="分值" />
|
|
<ImageView
|
android:id="@+id/BT_plus"
|
android:layout_width="40dp"
|
android:layout_height="40dp"
|
android:layout_alignParentRight="true"
|
android:layout_centerVertical="true"
|
android:src="@drawable/selector_grade_plus"
|
android:padding="@dimen/dimen8"/>
|
</RelativeLayout>
|
</LinearLayout>
|
</LinearLayout>
|