Skip to content

Commit 604613c

Browse files
committed
Fix lint warnings
1 parent 9204bbe commit 604613c

7 files changed

Lines changed: 6 additions & 56 deletions

File tree

LogcatCoreUI/src/main/java/info/hannes/logcat/base/LoadingDialog.kt

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -61,21 +61,5 @@ class LoadingDialog : DialogFragment() {
6161
private const val MESSAGE_ID = "MESSAGE_ID"
6262
private const val CANCELABLE = "CANCELABLE"
6363

64-
internal fun newInstance(messageId: Int, cancelable: Boolean): LoadingDialog {
65-
val fragment = LoadingDialog()
66-
val args = Bundle()
67-
args.putInt(MESSAGE_ID, messageId)
68-
args.putBoolean(CANCELABLE, cancelable)
69-
fragment.arguments = args
70-
return fragment
71-
}
72-
73-
fun newInstance(cancelable: Boolean): LoadingDialog {
74-
val fragment = LoadingDialog()
75-
val args = Bundle()
76-
args.putBoolean(CANCELABLE, cancelable)
77-
fragment.arguments = args
78-
return fragment
79-
}
8064
}
8165
}

LogcatCoreUI/src/main/res/layout/activity_log.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
android:layout_width="match_parent"
55
android:layout_height="match_parent"
66
android:fitsSystemWindows="true"
7-
tools:context="info.hannes.logcat.LogfileActivity">
7+
tools:context="info.hannes.logcat.ui.BothLogActivity">
88

99
<include layout="@layout/content_log" />
1010

LogcatCoreUI/src/main/res/layout/content_log.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
android:layout_height="match_parent"
88
android:orientation="vertical"
99
app:layout_behavior="@string/appbar_scrolling_view_behavior"
10-
tools:context="info.hannes.logcat.LogfileActivity"
10+
tools:context="info.hannes.logcat.ui.BothLogActivity"
1111
tools:showIn="@layout/activity_log">
1212

1313
<FrameLayout

LogcatCoreUI/src/main/res/layout/loading_dialog.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
android:id="@+id/loadingLayout"
55
android:layout_width="match_parent"
66
android:layout_height="wrap_content"
7+
android:filterTouchesWhenObscured="true"
78
android:orientation="horizontal"
8-
android:padding="16dp"
9-
android:filterTouchesWhenObscured="true">
9+
android:padding="16dp">
1010

1111
<ProgressBar
1212
android:id="@+id/loadingProgress"
@@ -15,13 +15,14 @@
1515
android:layout_height="wrap_content"
1616
android:layout_gravity="center_vertical"
1717
android:indeterminate="true"
18-
android:indeterminateOnly="false"/>
18+
android:indeterminateOnly="false" />
1919

2020
<TextView
2121
android:id="@+id/loadingText"
2222
android:layout_width="wrap_content"
2323
android:layout_height="wrap_content"
2424
android:layout_gravity="center_vertical"
25+
android:layout_marginStart="16dp"
2526
android:layout_marginLeft="16dp"
2627
tools:text="loadingTextw" />
2728

sample/src/main/res/mipmap-anydpi-v26/ic_launcher.xml

Lines changed: 0 additions & 5 deletions
This file was deleted.

sample/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml

Lines changed: 0 additions & 5 deletions
This file was deleted.

tools/android-wait-for-emulator.sh

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)