|
@@ -66,36 +66,28 @@
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
|
+ android:padding="8dp"
|
|
|
android:orientation="horizontal">
|
|
android:orientation="horizontal">
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/tv_current_search_info"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:textColor="?attr/colorOnSecondaryContainer"
|
|
|
|
|
- android:textStyle="bold"
|
|
|
|
|
- android:layout_margin="8dp"
|
|
|
|
|
- android:singleLine="true"
|
|
|
|
|
- android:textSize="16sp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
|
|
+ android:id="@+id/tv_search_fraction"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="@string/default_version"
|
|
|
|
|
android:textColor="?attr/colorOnSecondaryContainer"
|
|
android:textColor="?attr/colorOnSecondaryContainer"
|
|
|
- android:layout_marginStart="2dp"
|
|
|
|
|
- android:layout_marginVertical="8dp"
|
|
|
|
|
- android:singleLine="true"
|
|
|
|
|
- android:textSize="12sp" />
|
|
|
|
|
|
|
+ android:textSize="14sp"
|
|
|
|
|
+ android:textStyle="bold"
|
|
|
|
|
+ android:layout_gravity="center_vertical" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/tvSearchProgress"
|
|
android:id="@+id/tvSearchProgress"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_gravity="bottom"
|
|
|
android:textColor="?attr/colorOnSecondaryContainer"
|
|
android:textColor="?attr/colorOnSecondaryContainer"
|
|
|
android:singleLine="true"
|
|
android:singleLine="true"
|
|
|
- android:layout_marginVertical="8dp"
|
|
|
|
|
- android:layout_marginEnd="8dp"
|
|
|
|
|
- android:textSize="12sp" />
|
|
|
|
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
|
|
+ android:textSize="12sp"
|
|
|
|
|
+ android:textStyle="bold"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
|
@@ -119,33 +111,24 @@
|
|
|
|
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
|
|
+ <com.google.android.material.button.MaterialButtonGroup
|
|
|
android:id="@+id/ll_bottom_bg"
|
|
android:id="@+id/ll_bottom_bg"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginTop="8dp"
|
|
|
|
|
+ android:layout_marginHorizontal="16dp"
|
|
|
android:orientation="horizontal">
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
- <View
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
- android:importantForAccessibility="no" />
|
|
|
|
|
-
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
<com.google.android.material.button.MaterialButton
|
|
|
android:id="@+id/iv_search_results"
|
|
android:id="@+id/iv_search_results"
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
android:elevation="16dp"
|
|
android:elevation="16dp"
|
|
|
style="@style/Widget.Material3Expressive.Button.TonalButton"
|
|
style="@style/Widget.Material3Expressive.Button.TonalButton"
|
|
|
android:text="@string/search_content_size"
|
|
android:text="@string/search_content_size"
|
|
|
app:icon="@drawable/ic_toc" />
|
|
app:icon="@drawable/ic_toc" />
|
|
|
|
|
|
|
|
- <View
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- android:layout_weight="1" />
|
|
|
|
|
-
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
<com.google.android.material.button.MaterialButton
|
|
|
android:id="@+id/iv_main_menu"
|
|
android:id="@+id/iv_main_menu"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
@@ -154,10 +137,6 @@
|
|
|
style="@style/Widget.Material3Expressive.Button.TonalButton"
|
|
style="@style/Widget.Material3Expressive.Button.TonalButton"
|
|
|
android:text="@string/main_menu"
|
|
android:text="@string/main_menu"
|
|
|
app:icon="@drawable/ic_menu" />
|
|
app:icon="@drawable/ic_menu" />
|
|
|
- <View
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- android:layout_weight="1" />
|
|
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
<com.google.android.material.button.MaterialButton
|
|
|
android:id="@+id/iv_search_exit"
|
|
android:id="@+id/iv_search_exit"
|
|
@@ -169,51 +148,7 @@
|
|
|
app:icon="@drawable/ic_auto_page_stop"
|
|
app:icon="@drawable/ic_auto_page_stop"
|
|
|
tools:ignore="NestedWeights" />
|
|
tools:ignore="NestedWeights" />
|
|
|
|
|
|
|
|
- <!-- <View-->
|
|
|
|
|
- <!-- android:layout_width="0dp"-->
|
|
|
|
|
- <!-- android:layout_height="match_parent"-->
|
|
|
|
|
- <!-- android:layout_weight="2" />-->
|
|
|
|
|
- <!-- <!–设置按钮–>-->
|
|
|
|
|
- <!-- <LinearLayout-->
|
|
|
|
|
- <!-- android:id="@+id/ll_setting"-->
|
|
|
|
|
- <!-- android:layout_width="50dp"-->
|
|
|
|
|
- <!-- android:layout_height="50dp"-->
|
|
|
|
|
- <!-- android:background="?attr/selectableItemBackgroundBorderless"-->
|
|
|
|
|
- <!-- android:clickable="true"-->
|
|
|
|
|
- <!-- android:contentDescription="@string/setting"-->
|
|
|
|
|
- <!-- android:focusable="true"-->
|
|
|
|
|
- <!-- android:orientation="vertical"-->
|
|
|
|
|
- <!-- android:paddingBottom="7dp">-->
|
|
|
|
|
-
|
|
|
|
|
- <!-- <androidx.appcompat.widget.AppCompatImageView-->
|
|
|
|
|
- <!-- android:id="@+id/iv_setting"-->
|
|
|
|
|
- <!-- android:layout_width="match_parent"-->
|
|
|
|
|
- <!-- android:layout_height="0dp"-->
|
|
|
|
|
- <!-- android:layout_weight="1"-->
|
|
|
|
|
- <!-- android:contentDescription="@string/aloud_config"-->
|
|
|
|
|
- <!-- android:src="@drawable/ic_settings"-->
|
|
|
|
|
- <!-- app:tint="@color/primaryText"-->
|
|
|
|
|
- <!-- tools:ignore="NestedWeights" />-->
|
|
|
|
|
-
|
|
|
|
|
- <!-- <TextView-->
|
|
|
|
|
- <!-- android:id="@+id/tv_setting"-->
|
|
|
|
|
- <!-- android:layout_width="wrap_content"-->
|
|
|
|
|
- <!-- android:layout_height="wrap_content"-->
|
|
|
|
|
- <!-- android:layout_gravity="center_horizontal"-->
|
|
|
|
|
- <!-- android:layout_marginTop="3dp"-->
|
|
|
|
|
- <!-- android:maxLines="1"-->
|
|
|
|
|
- <!-- android:text="@string/setting"-->
|
|
|
|
|
- <!-- android:textColor="@color/primaryText"-->
|
|
|
|
|
- <!-- android:textSize="12sp" />-->
|
|
|
|
|
- <!-- </LinearLayout>-->
|
|
|
|
|
-
|
|
|
|
|
- <View
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
- android:importantForAccessibility="no" />
|
|
|
|
|
-
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
|
+ </com.google.android.material.button.MaterialButtonGroup>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|