Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

Commit

Permalink
vc 9
Browse files Browse the repository at this point in the history
  • Loading branch information
Helltar committed Jan 19, 2021
1 parent 165c4ea commit 05c7ae4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "com.github.helltar.anpaside"
minSdkVersion 26
targetSdkVersion 29
versionCode 8
versionName "1.1"
versionCode 9
versionName "1.2"
}

buildTypes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ protected void onDraw(Canvas canvas) {
canvas.drawText("" + lineNumber, rect.left, baseline, paint);
++lineNumber;
}
}
}

if (lineCount < 100) {
setPadding(pxToDp(30), getPaddingTop(), getPaddingRight(), getPaddingBottom());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ public boolean openFile(String filename) {
edtText.setBackgroundColor(android.R.color.transparent);
edtText.setGravity(Gravity.TOP);
edtText.setHorizontallyScrolling(true);

edtText.addTextChangedListener(textWatcher);
edtText.setOnKeyListener(keyListener);

Expand All @@ -88,7 +87,6 @@ public boolean openFile(String filename) {
public View createTabContent(String p1) {
ScrollView sv = new ScrollView(context);
sv.setFillViewport(true);
sv.setHorizontalScrollBarEnabled(true);
sv.addView(edtText);
return sv;
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
android:id="@android:id/tabcontent"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:layout_marginLeft="12dp">
android:layout_marginLeft="4dp">

</FrameLayout>

Expand Down

0 comments on commit 05c7ae4

Please sign in to comment.