-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Notification and VPN service, Add Copy log feature
- Loading branch information
1 parent
9fd7a40
commit 9e764c3
Showing
8 changed files
with
156 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<solid android:color="#ffa200" /> | ||
<stroke | ||
android:width="0dp" | ||
android:color="#00FFFFFF" /> | ||
<corners android:topLeftRadius="6dp" android:topRightRadius="6dp" /> | ||
</shape> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,76 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<androidx.constraintlayout.widget.ConstraintLayout | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:background="@drawable/background_gradient" | ||
tools:context="org.bepass.oblivion.LogActivity"> | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:background="@drawable/background_gradient" | ||
tools:context="org.bepass.oblivion.LogActivity"> | ||
|
||
<RelativeLayout | ||
android:id="@+id/top_bar" | ||
android:layout_width="match_parent" | ||
android:layout_height="48dp" | ||
android:layout_marginTop="8dp" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent"> | ||
android:id="@+id/top_bar" | ||
android:layout_width="match_parent" | ||
android:layout_height="48dp" | ||
android:layout_marginTop="8dp" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent"> | ||
|
||
<ImageView | ||
android:id="@+id/back" | ||
android:layout_width="36dp" | ||
android:layout_height="36dp" | ||
android:background="?selectableItemBackgroundBorderless" | ||
android:layout_alignParentStart="true" | ||
android:layout_centerVertical="true" | ||
android:layout_marginStart="16dp" | ||
android:src="@drawable/ic_back" | ||
app:tint="#000000" /> | ||
android:id="@+id/back" | ||
android:layout_width="36dp" | ||
android:layout_height="36dp" | ||
android:background="?selectableItemBackgroundBorderless" | ||
android:layout_alignParentStart="true" | ||
android:layout_centerVertical="true" | ||
android:layout_marginStart="16dp" | ||
android:src="@drawable/ic_back" | ||
app:tint="#000000" /> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentEnd="true" | ||
android:layout_centerVertical="true" | ||
android:layout_marginEnd="16dp" | ||
android:fontFamily="@font/shabnamlight" | ||
android:text="@string/logApp" | ||
android:textColor="@color/black" | ||
android:textSize="32sp" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentEnd="true" | ||
android:layout_centerVertical="true" | ||
android:layout_marginEnd="16dp" | ||
android:fontFamily="@font/shabnamlight" | ||
android:text="@string/logApp" | ||
android:textColor="@color/black" | ||
android:textSize="32sp" | ||
tools:ignore="RelativeOverlap" /> | ||
|
||
</RelativeLayout> | ||
|
||
<ScrollView | ||
android:id="@+id/logScrollView" | ||
android:layout_width="match_parent" | ||
android:fillViewport="true" | ||
android:layout_height="0dp" | ||
android:layout_marginHorizontal="16dp" | ||
android:layout_marginTop="16dp" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@id/top_bar"> | ||
android:id="@+id/logScrollView" | ||
android:layout_width="match_parent" | ||
android:layout_height="0dp" | ||
android:layout_marginHorizontal="16dp" | ||
android:layout_marginTop="16dp" | ||
app:layout_constraintTop_toBottomOf="@id/top_bar" | ||
app:layout_constraintBottom_toTopOf="@id/copytoclip" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent"> | ||
|
||
<TextView | ||
android:id="@+id/logs" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:text="Start Logging Here.." | ||
android:textSize="11sp" /> | ||
android:id="@+id/logs" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:text="Start Logging Here.." | ||
android:textSize="11sp" /> | ||
</ScrollView> | ||
|
||
<Button | ||
android:id="@+id/copytoclip" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:background="@drawable/button" | ||
android:fontFamily="@font/shabnam" | ||
android:text="@string/copytoclip" | ||
android:textColor="@color/white" | ||
android:textSize="18sp" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" /> | ||
|
||
</androidx.constraintlayout.widget.ConstraintLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters