Skip to content

Commit d7ad0a4

Browse files
committed
Update
1 parent 35ca045 commit d7ad0a4

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

app/src/main/java/com/omarea/krscript/ui/DialogLogFragment.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,9 @@ class DialogLogFragment : DialogFragment() {
233233
shellProgress?.isIndeterminate = false
234234
shellProgress?.max = total
235235
shellProgress?.progress = current
236+
val params = shellProgress?.layoutParams
237+
params?.height = 4
238+
shellProgress?.layoutParams = params
236239
}
237240
}
238241
}

app/src/main/res/layout/kr_dialog_log.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@
8787
<ProgressBar
8888
android:id="@+id/action_progress"
8989
style="?android:attr/progressBarStyleHorizontal"
90-
android:layout_below="@+id/btn_hide"
90+
android:layout_below="@id/top_bar"
9191
android:layout_width="match_parent"
92-
android:layout_height="2dp"
92+
android:layout_height="8dp"
93+
android:layout_marginTop="34px"
9394
android:layout_gravity="center_horizontal"
94-
android:layout_marginTop="14dp"
9595
android:layout_marginStart="10dp"
9696
android:layout_marginEnd="10dp"
9797
android:indeterminate="true"

0 commit comments

Comments
 (0)