diff options
Diffstat (limited to 'packages/SystemUI/res/layout')
-rw-r--r-- | packages/SystemUI/res/layout/quick_settings_brightness_dialog.xml | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/packages/SystemUI/res/layout/quick_settings_brightness_dialog.xml b/packages/SystemUI/res/layout/quick_settings_brightness_dialog.xml index a6f4e9b..46fbaff 100644 --- a/packages/SystemUI/res/layout/quick_settings_brightness_dialog.xml +++ b/packages/SystemUI/res/layout/quick_settings_brightness_dialog.xml @@ -13,27 +13,26 @@ See the License for the specific language governing permissions and limitations under the License. --> - -<LinearLayout - xmlns:android="http://schemas.android.com/apk/res/android" +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" style="@style/BrightnessDialogContainer"> <ImageView android:id="@+id/brightness_icon" - android:layout_width="wrap_content" - android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:paddingEnd="10dp" android:src="@drawable/ic_qs_brightness_auto_off" - /> + android:contentDescription="@null" /> + <com.android.systemui.settings.ToggleSlider android:id="@+id/brightness_slider" android:layout_width="0dp" android:layout_height="40dp" - android:layout_weight="1" - android:layout_marginEnd="2dp" android:layout_gravity="center_vertical" - systemui:text="@string/status_bar_settings_auto_brightness_label" - /> + android:layout_marginEnd="2dp" + android:layout_weight="1" + systemui:text="@string/status_bar_settings_auto_brightness_label" /> + </LinearLayout> |