|
77 | 77 | </RelativeLayout> |
78 | 78 |
|
79 | 79 | <ImageView |
| 80 | + android:layout_width="match_parent" |
| 81 | + android:layout_height="1dp" |
80 | 82 | android:background="@color/diy_white" |
81 | | - android:src="@color/diy_gray" |
82 | 83 | android:paddingLeft="16dp" |
83 | 84 | android:paddingRight="16dp" |
84 | | - android:layout_width="match_parent" |
85 | | - android:layout_height="1dp"/> |
| 85 | + android:src="@color/diy_gray"/> |
86 | 86 |
|
87 | 87 | <RelativeLayout |
88 | 88 | android:layout_width="match_parent" |
|
97 | 97 | android:textSize="16sp"/> |
98 | 98 |
|
99 | 99 | <Switch |
100 | | - android:textOn="内置" |
101 | | - android:textOff="用户" |
102 | 100 | android:id="@+id/use_inside_browser" |
103 | 101 | android:layout_width="wrap_content" |
104 | 102 | android:layout_height="wrap_content" |
105 | 103 | android:layout_alignParentRight="true" |
106 | | - android:checked="true"/> |
| 104 | + android:checked="true" |
| 105 | + android:textOff="用户" |
| 106 | + android:textOn="内置"/> |
| 107 | + </RelativeLayout> |
| 108 | + |
| 109 | + <ImageView |
| 110 | + android:layout_width="match_parent" |
| 111 | + android:layout_height="1dp" |
| 112 | + android:background="@color/diy_white" |
| 113 | + android:paddingLeft="16dp" |
| 114 | + android:paddingRight="16dp" |
| 115 | + android:src="@color/diy_gray"/> |
| 116 | + |
| 117 | + <RelativeLayout |
| 118 | + android:layout_width="match_parent" |
| 119 | + android:layout_height="wrap_content" |
| 120 | + android:background="@color/diy_white" |
| 121 | + android:padding="16dp"> |
| 122 | + |
| 123 | + <TextView |
| 124 | + android:layout_width="wrap_content" |
| 125 | + android:layout_height="wrap_content" |
| 126 | + android:text="当前版本" |
| 127 | + android:textSize="16sp"/> |
| 128 | + |
| 129 | + <TextView |
| 130 | + android:id="@+id/app_version" |
| 131 | + android:layout_width="wrap_content" |
| 132 | + android:layout_height="wrap_content" |
| 133 | + android:layout_alignParentRight="true" |
| 134 | + android:checked="true" |
| 135 | + tools:text="v0.0.1"/> |
107 | 136 | </RelativeLayout> |
108 | 137 |
|
| 138 | + <ImageView |
| 139 | + android:layout_width="match_parent" |
| 140 | + android:layout_height="1dp" |
| 141 | + android:background="@color/diy_white" |
| 142 | + android:paddingLeft="16dp" |
| 143 | + android:paddingRight="16dp" |
| 144 | + android:src="@color/diy_gray"/> |
| 145 | + |
| 146 | + |
| 147 | + <TextView |
| 148 | + android:id="@+id/about" |
| 149 | + android:layout_width="match_parent" |
| 150 | + android:layout_height="wrap_content" |
| 151 | + android:background="@color/diy_white" |
| 152 | + android:padding="16dp" |
| 153 | + android:text="关于" |
| 154 | + android:textSize="16sp"/> |
| 155 | + |
| 156 | + <ImageView |
| 157 | + android:layout_width="match_parent" |
| 158 | + android:layout_height="1dp" |
| 159 | + android:background="@color/diy_white" |
| 160 | + android:paddingLeft="16dp" |
| 161 | + android:paddingRight="16dp" |
| 162 | + android:src="@color/diy_gray"/> |
| 163 | + |
| 164 | + <TextView |
| 165 | + android:id="@+id/contribute" |
| 166 | + android:layout_width="match_parent" |
| 167 | + android:layout_height="wrap_content" |
| 168 | + android:background="@color/diy_white" |
| 169 | + android:gravity="center" |
| 170 | + android:padding="16dp" |
| 171 | + android:text="¥ 捐赠一杯咖啡" |
| 172 | + android:textColor="#4AC432" |
| 173 | + android:textSize="16sp"/> |
| 174 | + |
109 | 175 | <LinearLayout |
110 | 176 | android:id="@+id/user" |
111 | 177 | android:layout_width="match_parent" |
|
0 commit comments