Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
GFW-knocker authored May 1, 2024
1 parent 36bff67 commit 873946d
Show file tree
Hide file tree
Showing 9 changed files with 916 additions and 0 deletions.
83 changes: 83 additions & 0 deletions V2rayNG/app/src/main/res/layout/activity_gfw_donate_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<?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"
tools:context=".gfwknocker.GFW_donate_config_activity">


<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:layout_editor_absoluteX="1dp"
tools:layout_editor_absoluteY="1dp">


<ScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">

<TextView
android:id="@+id/donate_conf_textView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="15dp"
android:autoLink="web"
android:linksClickable="true"
android:text="@string/description7" />

</ScrollView>


<WebView
android:id="@+id/donate_conf_webview"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:padding="15dp">
</WebView>


<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center"
tools:layout_editor_absoluteX="1dp"
tools:layout_editor_absoluteY="1dp">


<Button
android:id="@+id/share_donate_link1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:padding="15dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:textColor="@color/color_btn_get_txt"
android:backgroundTint="@color/color_btn_get_config"
android:text="Copy Login link" />


<Button
android:id="@+id/share_donate_code1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:padding="15dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:textColor="@color/color_btn_get_txt"
android:backgroundTint="@color/color_btn_get_config"
android:text="Copy share code" />

</LinearLayout>

</LinearLayout>


</androidx.constraintlayout.widget.ConstraintLayout>
105 changes: 105 additions & 0 deletions V2rayNG/app/src/main/res/layout/activity_gfw_update.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
<?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"
tools:context=".GFW_update_Activity">



<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<ImageView
android:id="@+id/imageView"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="5"
android:padding="15dp"
app:srcCompat="@drawable/mahsa4" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="0dp"
android:orientation="horizontal"
android:layout_gravity="center"
android:layout_weight="1.3">



<TextView
android:id="@+id/textView_isp7"
android:layout_width="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:layout_height="match_parent"
android:padding="15dp"
android:autoLink="web"
android:linksClickable="true"
android:text="ISP:" />


<Spinner
android:id="@+id/spinner_isp7"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="15dp"
android:entries="@array/isp_list" />

</LinearLayout>

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="0dp"
android:orientation="horizontal"
android:layout_gravity="center"
android:layout_weight="1.5">

<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="center"
android:padding="15dp"
android:textColor="@color/color_btn_get_txt"
android:backgroundTint="@color/color_btn_get_config"
android:text="Update" />

<TextView
android:id="@+id/textView_version7"
android:layout_width="wrap_content"
android:layout_gravity="center"
android:layout_height="match_parent"
android:padding="15dp"
android:autoLink="web"
android:linksClickable="true"
android:text="MahsaNG v6.0 1402-10-28" />


</LinearLayout>




<ScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
android:padding="15dp"
android:layout_weight="4.5">

<TextView
android:id="@+id/textView_info7"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="15dp"
android:autoLink="web"
android:linksClickable="true"
android:text="@string/description1" />

</ScrollView>

</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
193 changes: 193 additions & 0 deletions V2rayNG/app/src/main/res/layout/activity_gfw_warp.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
<?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:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".gfwknocker.GFW_warpActivity">



<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="15dp"
app:layout_constraintTop_toTopOf="parent">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:focusable="true"
android:focusableInTouchMode="true">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:focusable="true"
android:focusableInTouchMode="true">

<TextView
android:id="@+id/tv_warp_description1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="15dp"
android:autoLink="web"
android:linksClickable="true"
android:text="copy wireguard config from\nt.me/freewireguard\nthen click paste:" />


</LinearLayout>

<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">

<Button
android:id="@+id/button_warp_import"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="15dp"
android:textColor="@color/color_btn_get_txt"
android:backgroundTint="@color/color_btn_get_config"
android:text="paste wireguard config" />

<Button
android:id="@+id/button_warp_clear"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="15dp"
android:textColor="@color/color_btn_get_txt"
android:backgroundTint="@color/color_btn_get_config"
android:text="clear" />

</TableRow>


<TableLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:focusable="true"
android:focusableInTouchMode="true">



<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/tv_warp_ip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="15dp"
android:text="IP" />
<EditText
android:id="@+id/edt_warp_ip"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="text"
android:padding="15dp"
android:hint="clean ip" />
</TableRow>

<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/tv_warp_port"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="15dp"
android:text="port" />
<EditText
android:id="@+id/edt_warp_port"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="number"
android:padding="15dp"
android:hint="clean port" />
</TableRow>


<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/tv_public_key"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="15dp"
android:text="public key" />
<EditText
android:id="@+id/edt_warp_public_key"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="text"
android:padding="15dp"
android:hint="44 char" />
</TableRow>


<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/tv_private_key"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="15dp"
android:text="private key" />
<EditText
android:id="@+id/edt_warp_private_key"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="text"
android:padding="15dp"
android:hint="44 char (secret key)" />
</TableRow>


<TableRow
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/tv_warp_mtu"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="15dp"
android:text="mtu" />
<EditText
android:id="@+id/edt_warp_mtu"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="number"
android:padding="15dp"
android:hint="1280" />
</TableRow>

</TableLayout>



<Button
android:id="@+id/button_warp_save"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="15dp"
android:textColor="@color/color_btn_get_txt"
android:backgroundTint="@color/color_btn_get_config"
android:text="Save Setting" />


</LinearLayout>
</ScrollView>


</androidx.constraintlayout.widget.ConstraintLayout>
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
android:layout_height="wrap_content"
android:padding="15dp"
android:layout_gravity="center"
android:textColor="@color/color_btn_get_txt"
android:backgroundTint="@color/color_btn_get_config"
android:text="Get Youtube Config" />
</LinearLayout>

Expand Down
Loading

0 comments on commit 873946d

Please sign in to comment.