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 Jan 19, 2024
1 parent e5771fd commit beb3405
Show file tree
Hide file tree
Showing 5 changed files with 381 additions and 0 deletions.
68 changes: 68 additions & 0 deletions V2rayNG/app/src/main/res/layout/activity_gfw_help.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<?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_help_Activity">

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

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


<TextView
android:id="@+id/textView_help_local"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="15dp"
android:autoLink="web"
android:linksClickable="true"
android:text="@string/description2" />
</ScrollView>

<TextView
android:id="@+id/textView984"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="15dp"
android:autoLink="web"
android:linksClickable="true"
android:text="اعلانات :" />

<ScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
android:padding="10dp"
android:layout_weight=".4">


<TextView
android:id="@+id/textView_help_remote"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="10dp"
android:autoLink="web"
android:linksClickable="true"
android:text="" />
</ScrollView>

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


</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
207 changes: 207 additions & 0 deletions V2rayNG/app/src/main/res/layout/activity_gfw_setting.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,207 @@
<?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_setting_Activity">


<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="match_parent"
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">

<Switch
android:id="@+id/use_fragment"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="true"
android:padding="15dp"
android:text="use fragment for all configs" />


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

<TextView
android:id="@+id/textView7"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="15dp"
android:text="ISP:" />

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

</TableRow>

<Switch
android:id="@+id/remote_update"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="true"
android:padding="15dp"
android:text="use remote update" />

</LinearLayout>


<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/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="15dp"
android:text="num_fragment" />

<EditText
android:id="@+id/num_frag"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:padding="15dp"
android:inputType="number"
android:text="87" />

</TableRow>

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

<TextView
android:id="@+id/textView4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="15dp"
android:text="fragment_sleep" />

<EditText
android:id="@+id/fragment_sleep"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="number"
android:padding="15dp"
android:text="0.008" />

</TableRow>

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

<CheckBox
android:id="@+id/use_cdn_checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="CDN IP"
android:padding="15dp"
android:checked="true"/>

<Spinner
android:id="@+id/spinner_cf_ip"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="15dp"
android:entries="@array/cf_ip_list" />
</TableRow>

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

<CheckBox
android:id="@+id/manual_ip_checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="manual IP"
android:padding="15dp"
android:checked="false"/>

<EditText
android:id="@+id/CF_IP"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="text"
android:padding="15dp"
android:text="203.13.32.183" />

</TableRow>


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

<CheckBox
android:id="@+id/config_ip_checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Config IP"
android:padding="15dp"
android:checked="false"/>


<TextView
android:id="@+id/config_ip_textview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="text"
android:padding="15dp"
android:text="use config ip itself" />

</TableRow>


</TableLayout>




<Button
android:id="@+id/button_save"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="15dp"
android:text="Save Setting" />


</LinearLayout>
</ScrollView>


</androidx.constraintlayout.widget.ConstraintLayout>
37 changes: 37 additions & 0 deletions V2rayNG/app/src/main/res/layout/activity_gfw_terms_service.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?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=".helper.GFW_terms_service_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="match_parent"
android:padding="15dp"
android:layout_weight="4">

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

</LinearLayout>


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


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

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

</LinearLayout>

</androidx.constraintlayout.widget.ConstraintLayout>
43 changes: 43 additions & 0 deletions V2rayNG/app/src/main/res/layout/activity_gfw_youtube_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?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_youtube_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:padding="15dp"
android:layout_weight="4">

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



<Button
android:id="@+id/btn_youtube_config"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="15dp"
android:layout_gravity="center"
android:text="Get Youtube Config" />
</LinearLayout>

</androidx.constraintlayout.widget.ConstraintLayout>

0 comments on commit beb3405

Please sign in to comment.