1. Apply attr/colorAccent to button icons for theme UI control
2. Apply attr/selectableItemBackground for button tapping ripple effect
3. Use ConstraintLayout to separate ssid EditText and scan button
4. Remove ButtonPreference and add AddNetworkPreference.
ButtonPreference's naming and design look like a general purpose UI
component but it's not. This change refactors the code.
5. In AddNetworkPreference, use settingslib layout file
'preference_access_point' to fix UI alignment problems.
Bug: 126964552
Bug: 125434239
Bug: 126762937
Test: manual test
atest com.android.settings.wifi.WifiSettingsTest
Change-Id: Ib899a1e10f96bb8427ff00d6b5dfca37a0642c44
35 lines
1.1 KiB
XML
35 lines
1.1 KiB
XML
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:width="24dp"
|
|
android:height="24dp"
|
|
android:viewportWidth="24"
|
|
android:viewportHeight="24"
|
|
android:tint="?android:attr/colorAccent">
|
|
<path
|
|
android:fillColor="#FF000000"
|
|
android:pathData="M9,2l-7,0l0,2l7,0l0,-2z"/>
|
|
<path
|
|
android:fillColor="#FF000000"
|
|
android:pathData="M22,2l-7,0l0,2l7,0l0,-2z"/>
|
|
<path
|
|
android:fillColor="#FF000000"
|
|
android:pathData="M22,11l-20,0l0,2l20,0l0,-2z"/>
|
|
<path
|
|
android:fillColor="#FF000000"
|
|
android:pathData="M22,2l-2,0l0,7l2,0l0,-7z"/>
|
|
<path
|
|
android:fillColor="#FF000000"
|
|
android:pathData="M4,2l-2,0l0,7l2,0l0,-7z"/>
|
|
<path
|
|
android:fillColor="#FF000000"
|
|
android:pathData="M9,20l-7,0l0,2l7,0l0,-2z"/>
|
|
<path
|
|
android:fillColor="#FF000000"
|
|
android:pathData="M22,20l-7,0l0,2l7,0l0,-2z"/>
|
|
<path
|
|
android:fillColor="#FF000000"
|
|
android:pathData="M22,15l-2,0l0,7l2,0l0,-7z"/>
|
|
<path
|
|
android:fillColor="#FF000000"
|
|
android:pathData="M4,15l-2,0l0,7l2,0l0,-7z"/>
|
|
</vector>
|