version:1.0.0
fix: update:增加autosize
This commit is contained in:
@@ -30,8 +30,8 @@
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/constraintLayout3"
|
||||
android:layout_width="@dimen/dp_359"
|
||||
android:layout_height="@dimen/dp_210"
|
||||
android:layout_width="359dp"
|
||||
android:layout_height="210dp"
|
||||
android:background="@drawable/precision_box"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
@@ -41,13 +41,13 @@
|
||||
android:id="@+id/constraintLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:layout_marginTop="8dp"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="@dimen/dp_52"
|
||||
android:layout_width="52dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_15"
|
||||
android:layout_marginStart="15dp"
|
||||
android:background="@drawable/grade_bg"
|
||||
android:onClick="@{click::showWindow}"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
@@ -59,15 +59,15 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text="小学"
|
||||
android:textColor="#dcf2ff"
|
||||
android:textSize="@dimen/sp_9"
|
||||
android:textSize="9sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_8"
|
||||
android:layout_height="@dimen/dp_8"
|
||||
android:layout_marginStart="@dimen/dp_4"
|
||||
android:layout_width="8dp"
|
||||
android:layout_height="8dp"
|
||||
android:layout_marginStart="4dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
android:src="@drawable/icon_pull"
|
||||
@@ -84,7 +84,7 @@
|
||||
android:maxLines="1"
|
||||
android:text="人教版"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_8"
|
||||
android:textSize="8sp"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@+id/textView2"
|
||||
@@ -95,12 +95,12 @@
|
||||
android:id="@+id/textView2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_8"
|
||||
android:layout_marginTop="8dp"
|
||||
android:visibility="gone"
|
||||
android:maxLines="1"
|
||||
android:text="AI精准学"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/sp_14"
|
||||
android:textSize="14sp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
@@ -117,8 +117,8 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_bunk"
|
||||
android:layout_width="@dimen/dp_160"
|
||||
android:layout_height="@dimen/dp_163"
|
||||
android:layout_width="160dp"
|
||||
android:layout_height="163dp"
|
||||
android:onClick="@{click::openPrecisionHome}"
|
||||
android:src="@drawable/precision_question_bank"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
@@ -127,9 +127,9 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_paper"
|
||||
android:layout_width="@dimen/dp_160"
|
||||
android:layout_height="@dimen/dp_77"
|
||||
android:layout_marginStart="@dimen/dp_9"
|
||||
android:layout_width="160dp"
|
||||
android:layout_height="77dp"
|
||||
android:layout_marginStart="9dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:onClick="@{click::openPrecisionTestPaper}"
|
||||
android:scaleType="centerCrop"
|
||||
@@ -139,8 +139,8 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_test"
|
||||
android:layout_width="@dimen/dp_160"
|
||||
android:layout_height="@dimen/dp_77"
|
||||
android:layout_width="160dp"
|
||||
android:layout_height="77dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:onClick="@{click::openPrecisionSpecial}"
|
||||
android:scaleType="centerCrop"
|
||||
@@ -154,9 +154,9 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_book"
|
||||
android:layout_width="@dimen/dp_141"
|
||||
android:layout_height="@dimen/dp_100"
|
||||
android:layout_marginStart="@dimen/dp_10"
|
||||
android:layout_width="141dp"
|
||||
android:layout_height="100dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:onClick="@{click::openPrecisionQuestionBook}"
|
||||
android:scaleType="centerCrop"
|
||||
@@ -166,8 +166,8 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_favorites"
|
||||
android:layout_width="@dimen/dp_141"
|
||||
android:layout_height="@dimen/dp_100"
|
||||
android:layout_width="141dp"
|
||||
android:layout_height="100dp"
|
||||
android:adjustViewBounds="true"
|
||||
android:onClick="@{click::openPrecisionFavorites}"
|
||||
android:scaleType="centerCrop"
|
||||
|
||||
Reference in New Issue
Block a user