forked from 2dust/v2rayNG
-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
05b978d
commit fec58da
Showing
4 changed files
with
387 additions
and
80 deletions.
There are no files selected for viewing
160 changes: 80 additions & 80 deletions
160
V2rayNG/app/src/main/res/layout/activity_server_custom_config.xml
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,80 +1,80 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
tools:context=".ui.ServerActivity"> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical"> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical" | ||
android:layout_margin="@dimen/layout_margin_spacing"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/server_lab_need_inbound" | ||
android:textAppearance="@style/TextAppearance.AppCompat.Tooltip" | ||
android:textColor="@color/fab_orange_dark" /> | ||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical" | ||
android:layout_margin="@dimen/layout_margin_spacing"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/title_server" | ||
android:textAppearance="@style/TextAppearance.AppCompat.Subhead" /> | ||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="@dimen/layout_margin_spacing" | ||
android:orientation="vertical"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/server_lab_remarks" /> | ||
|
||
<EditText | ||
android:id="@+id/et_remarks" | ||
android:layout_width="match_parent" | ||
android:layout_height="@dimen/edit_height" | ||
android:inputType="text" /> | ||
|
||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="@dimen/layout_margin_spacing" | ||
android:text="@string/server_lab_content" | ||
android:textAppearance="@style/TextAppearance.AppCompat.Subhead" /> | ||
|
||
<com.blacksquircle.ui.editorkit.widget.TextProcessor | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:gravity="top|start" | ||
android:id="@+id/editor" | ||
android:layout_marginTop="@dimen/layout_margin_top_height" /> | ||
</LinearLayout> | ||
|
||
</LinearLayout> | ||
</ScrollView> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
tools:context=".ui.ServerCustomConfigActivity"> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical"> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical" | ||
android:layout_margin="@dimen/layout_margin_spacing"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/server_lab_need_inbound" | ||
android:textAppearance="@style/TextAppearance.AppCompat.Tooltip" | ||
android:textColor="@color/color_secondary" /> | ||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical" | ||
android:layout_margin="@dimen/layout_margin_spacing"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/title_server" | ||
android:textAppearance="@style/TextAppearance.AppCompat.Subhead" /> | ||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="@dimen/layout_margin_spacing" | ||
android:orientation="vertical"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/server_lab_remarks" /> | ||
|
||
<EditText | ||
android:id="@+id/et_remarks" | ||
android:layout_width="match_parent" | ||
android:layout_height="@dimen/edit_height" | ||
android:inputType="text" /> | ||
|
||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="@dimen/layout_margin_spacing" | ||
android:text="@string/server_lab_content" | ||
android:textAppearance="@style/TextAppearance.AppCompat.Subhead" /> | ||
|
||
<com.blacksquircle.ui.editorkit.widget.TextProcessor | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:gravity="top|start" | ||
android:id="@+id/editor" | ||
android:layout_marginTop="@dimen/layout_margin_top_height" /> | ||
</LinearLayout> | ||
|
||
</LinearLayout> | ||
</ScrollView> |
64 changes: 64 additions & 0 deletions
64
V2rayNG/app/src/main/res/layout/activity_server_hysteria2.xml
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,64 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
tools:context=".ui.ServerActivity"> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical" | ||
android:padding="@dimen/layout_margin_top_height"> | ||
|
||
<include layout="@layout/layout_address_port" /> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="@dimen/layout_margin_top_height" | ||
android:orientation="vertical"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/server_obfs_password" /> | ||
|
||
<EditText | ||
android:id="@+id/et_obfs_password" | ||
android:layout_width="match_parent" | ||
android:layout_height="@dimen/edit_height" | ||
android:inputType="text" /> | ||
|
||
</LinearLayout> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="@dimen/layout_margin_top_height" | ||
android:orientation="vertical"> | ||
|
||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="@string/server_lab_id3" /> | ||
|
||
<EditText | ||
android:id="@+id/et_id" | ||
android:layout_width="match_parent" | ||
android:layout_height="@dimen/edit_height" | ||
android:inputType="text" /> | ||
|
||
</LinearLayout> | ||
|
||
<include layout="@layout/layout_tls_hysteria2" /> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="@dimen/layout_margin_top_height" | ||
android:layout_marginBottom="@dimen/layout_margin_top_height" | ||
android:orientation="vertical" /> | ||
|
||
</LinearLayout> | ||
</ScrollView> |
Oops, something went wrong.