Skip to content

Commit ba6e3c2

Browse files
Update
1 parent 77ffad0 commit ba6e3c2

File tree

3 files changed

+15
-28
lines changed

3 files changed

+15
-28
lines changed

androidminidebugger/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ android {
99
targetSdkVersion 29
1010
vectorDrawables.useSupportLibrary = true
1111
versionCode 1
12-
versionName "0.1.1"
12+
versionName "1.1.1"
1313

1414
}
1515

@@ -29,6 +29,5 @@ android {
2929

3030
dependencies {
3131
implementation fileTree(dir: 'libs', include: ['*.jar'])
32-
3332
implementation 'androidx.appcompat:appcompat:1.0.2'
3433
}

androidminidebugger/src/main/java/com/symphonyrecords/debugger/DebuggerService.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
import androidx.appcompat.widget.AppCompatImageView;
2828
import androidx.core.content.ContextCompat;
29-
import androidx.core.widget.NestedScrollView;
3029

3130
import java.lang.ref.WeakReference;
3231

@@ -40,7 +39,7 @@ public class DebuggerService extends Service {
4039
RelativeLayout root_view;
4140
private View mView;
4241
private TextView textView;
43-
private NestedScrollView scrollView;
42+
private ScrollView scrollView;
4443
private AppCompatImageView btnResize;
4544
private AppCompatImageView btnClose;
4645
private AppCompatImageView btnReset;
@@ -175,11 +174,6 @@ public boolean onTouch(View v, MotionEvent event) {
175174
}
176175
});
177176

178-
// mView.findViewById(R.id.dragPanel).bringToFront();
179-
mView.findViewById(R.id.touch_disable_container).setOnClickListener(view -> {
180-
// This is only for preventing to log screen move. only debugger header should be dragged
181-
});
182-
183177

184178
btnResize.setOnClickListener(view -> {
185179
if (isMinimized) {

androidminidebugger/src/main/res/layout/debugger_layout.xml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -60,31 +60,25 @@
6060

6161
</LinearLayout>
6262

63-
<RelativeLayout
64-
android:id="@+id/touch_disable_container"
63+
64+
<ScrollView
65+
android:id="@+id/scroll_view"
6566
android:layout_width="match_parent"
6667
android:layout_height="match_parent"
6768
android:layout_below="@+id/dragPanel"
68-
android:orientation="horizontal">
69+
android:background="@color/debug_darkDebugBg">
6970

70-
<androidx.core.widget.NestedScrollView
71-
android:id="@+id/scroll_view"
71+
<TextView
72+
android:id="@+id/message_output"
7273
android:layout_width="match_parent"
7374
android:layout_height="wrap_content"
74-
android:background="@color/debug_darkDebugBg">
75-
76-
<TextView
77-
android:id="@+id/message_output"
78-
android:layout_width="match_parent"
79-
android:layout_height="match_parent"
80-
android:layout_gravity="start"
81-
android:orientation="vertical"
82-
android:paddingLeft="12dp"
83-
android:paddingTop="12dp"
84-
android:paddingRight="12dp"
85-
android:paddingBottom="12dp" />
86-
</androidx.core.widget.NestedScrollView>
75+
android:layout_gravity="start"
76+
android:orientation="vertical"
77+
android:paddingLeft="12dp"
78+
android:paddingTop="12dp"
79+
android:paddingRight="12dp"
80+
android:paddingBottom="12dp" />
81+
</ScrollView>
8782

88-
</RelativeLayout>
8983

9084
</RelativeLayout>

0 commit comments

Comments
 (0)