|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
3 | 4 | xmlns:tools="http://schemas.android.com/tools" |
4 | 5 | android:layout_width="match_parent" |
5 | 6 | android:layout_height="wrap_content" |
|
19 | 20 | android:text="在线规则将不定期更新,建议定期同步列表以适配更多 APP,若无法同步请自行寻找解决方法或魔法上网。" |
20 | 21 | android:textSize="14sp" /> |
21 | 22 |
|
22 | | - <com.google.android.material.radiobutton.MaterialRadioButton |
23 | | - android:id="@+id/source_radio_1" |
24 | | - android:layout_width="wrap_content" |
25 | | - android:layout_height="wrap_content" |
26 | | - android:text="从 FastGit 获取" /> |
| 23 | + <RadioGroup |
| 24 | + android:layout_width="match_parent" |
| 25 | + android:layout_height="wrap_content"> |
27 | 26 |
|
28 | | - <com.google.android.material.radiobutton.MaterialRadioButton |
29 | | - android:id="@+id/source_radio_2" |
30 | | - android:layout_width="wrap_content" |
31 | | - android:layout_height="wrap_content" |
32 | | - android:text="从 Github Raw 获取" /> |
| 27 | + <com.google.android.material.radiobutton.MaterialRadioButton |
| 28 | + android:id="@+id/source_radio_1" |
| 29 | + android:layout_width="wrap_content" |
| 30 | + android:layout_height="wrap_content" |
| 31 | + android:text="从 FastGit 获取" |
| 32 | + app:buttonTint="@color/colorPrimaryAccent" /> |
33 | 33 |
|
34 | | - <com.google.android.material.radiobutton.MaterialRadioButton |
35 | | - android:id="@+id/source_radio_3" |
36 | | - android:layout_width="wrap_content" |
37 | | - android:layout_height="wrap_content" |
38 | | - android:text="从自定义地址获取" /> |
| 34 | + <com.google.android.material.radiobutton.MaterialRadioButton |
| 35 | + android:id="@+id/source_radio_2" |
| 36 | + android:layout_width="wrap_content" |
| 37 | + android:layout_height="wrap_content" |
| 38 | + android:text="从 Github Raw 获取" |
| 39 | + app:buttonTint="@color/colorPrimaryAccent" /> |
| 40 | + |
| 41 | + <com.google.android.material.radiobutton.MaterialRadioButton |
| 42 | + android:id="@+id/source_radio_3" |
| 43 | + android:layout_width="wrap_content" |
| 44 | + android:layout_height="wrap_content" |
| 45 | + android:text="从自定义地址获取" |
| 46 | + app:buttonTint="@color/colorPrimaryAccent" /> |
| 47 | + </RadioGroup> |
39 | 48 |
|
40 | 49 | <com.google.android.material.textfield.TextInputLayout |
41 | 50 | android:id="@+id/source_from_text_lin" |
|
0 commit comments