mirror of
https://github.com/fankes/MIUINativeNotifyIcon.git
synced 2025-10-20 04:19:20 +08:00
feat: custom GitHub Proxy (#208)
* feat: Custom GitHub Proxy Signed-off-by: hamjin <jinham@qq.com> * refactor: organize text layout --------- Signed-off-by: hamjin <jinham@qq.com> Co-authored-by: Fankesyooni <37344460+fankes@users.noreply.github.com>
This commit is contained in:
@@ -49,6 +49,13 @@
|
||||
android:id="@+id/source_radio_3"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="GitHub Proxy (自定义)"
|
||||
app:buttonTint="@color/colorPrimaryAccent" />
|
||||
|
||||
<com.google.android.material.radiobutton.MaterialRadioButton
|
||||
android:id="@+id/source_radio_4"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="从自定义地址获取"
|
||||
app:buttonTint="@color/colorPrimaryAccent" />
|
||||
</RadioGroup>
|
||||
@@ -69,6 +76,22 @@
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
android:id="@+id/source_from_text_lin_proxy"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:visibility="gone">
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/source_url_edit_proxy"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:hint="请输入 GitHub Proxy URL"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/source_traveler_lin"
|
||||
android:layout_width="match_parent"
|
||||
@@ -122,4 +145,4 @@
|
||||
android:textSize="15sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
Reference in New Issue
Block a user