Skip to content

Commit

Permalink
feat: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
cofbro committed Dec 16, 2023
1 parent 6446793 commit e31f768
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 3 additions & 4 deletions app/src/main/res/layout/page/layout/dialog_download.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:text="软件版本更新"
android:text="@string/download_progress_title"
android:textColor="@color/black"
android:textSize="20sp"
android:textStyle="bold"
Expand All @@ -25,7 +25,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="24dp"
android:text="更新详情可在检查更新中查看"
android:text="@string/download_progress_content"
android:textColor="@color/black"
app:layout_constraintStart_toStartOf="@+id/textView20"
app:layout_constraintTop_toBottomOf="@+id/textView20" />
Expand All @@ -49,7 +49,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="0%"
app:layout_constraintEnd_toEndOf="@+id/progressBar"
app:layout_constraintTop_toBottomOf="@+id/progressBar" />

Expand All @@ -64,7 +63,7 @@
android:paddingTop="3dp"
android:paddingEnd="14dp"
android:paddingBottom="3dp"
android:text="取消"
android:text="@string/download_progress_cancel"
android:letterSpacing="0.1"
android:textSize="12sp"
android:textStyle="bold"
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,8 @@

<string name="search_friend_hint">点击搜索用户名字</string>
<string name="search_friend_cancel">取消</string>

<string name="download_progress_title">软件版本更新</string>
<string name="download_progress_content">更新详情可在检查更新中查看</string>
<string name="download_progress_cancel">取消</string>
</resources>

0 comments on commit e31f768

Please sign in to comment.