book questions
This commit is contained in:
@@ -170,21 +170,36 @@
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 按住录音按钮 - 右下角 -->
|
||||
<Button
|
||||
android:id="@+id/record_button"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="100dp"
|
||||
android:layout_margin="24dp"
|
||||
android:layout_marginBottom="24dp"
|
||||
android:text="按住说话"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="14sp"
|
||||
android:textAllCaps="false"
|
||||
android:background="@drawable/record_button_background"
|
||||
app:backgroundTint="#4CAF50"
|
||||
android:stateListAnimator="@animator/button_elevation"
|
||||
<FrameLayout
|
||||
android:id="@+id/record_button_container"
|
||||
android:layout_width="120dp"
|
||||
android:layout_height="120dp"
|
||||
android:layout_margin="14dp"
|
||||
android:layout_marginBottom="14dp"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent" />
|
||||
app:layout_constraintEnd_toEndOf="parent">
|
||||
|
||||
<View
|
||||
android:id="@+id/record_button_glow"
|
||||
android:layout_width="120dp"
|
||||
android:layout_height="120dp"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/record_button_glow"
|
||||
android:visibility="gone" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/record_button"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="100dp"
|
||||
android:layout_gravity="center"
|
||||
android:text="按住说话"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="14sp"
|
||||
android:textAllCaps="false"
|
||||
android:background="@drawable/record_button_background"
|
||||
app:backgroundTint="#4CAF50"
|
||||
android:stateListAnimator="@animator/button_elevation" />
|
||||
</FrameLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
Reference in New Issue
Block a user