diff options
| author | 2017-06-01 18:28:47 +0000 | |
|---|---|---|
| committer | 2017-06-01 18:28:52 +0000 | |
| commit | 54f685a7aa5512f8f330e1ab1a0068603cfe4fac (patch) | |
| tree | 1da2c427a9c864e9fd11fbac484b52b47b9e2a00 | |
| parent | b2f96a0bf67408c3157b6431baa1b99c3a8dc5fd (diff) | |
| parent | 2dfbb9d8274cdbfe7efd20a829dbcbc10bed9b3a (diff) | |
Merge "Make vertical divider darker for two_target preference"
| -rw-r--r-- | packages/SettingsLib/res/drawable/list_divider_dark.xml | 24 | ||||
| -rw-r--r-- | packages/SettingsLib/res/layout/preference_two_target_divider.xml | 2 |
2 files changed, 25 insertions, 1 deletions
diff --git a/packages/SettingsLib/res/drawable/list_divider_dark.xml b/packages/SettingsLib/res/drawable/list_divider_dark.xml new file mode 100644 index 000000000000..5773d9ef710c --- /dev/null +++ b/packages/SettingsLib/res/drawable/list_divider_dark.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2017 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + --> + +<shape + xmlns:android="http://schemas.android.com/apk/res/android"> + <solid android:color="#64000000" /> + <size + android:height="1dp" + android:width="1dp" /> +</shape> diff --git a/packages/SettingsLib/res/layout/preference_two_target_divider.xml b/packages/SettingsLib/res/layout/preference_two_target_divider.xml index ced61427a792..60efed41870c 100644 --- a/packages/SettingsLib/res/layout/preference_two_target_divider.xml +++ b/packages/SettingsLib/res/layout/preference_two_target_divider.xml @@ -27,5 +27,5 @@ <View android:layout_width="1dp" android:layout_height="match_parent" - android:background="?android:attr/dividerVertical" /> + android:background="@drawable/list_divider_dark" /> </LinearLayout>
\ No newline at end of file |