Initial commit
[GitHub/Stricted/android_vendor_extra.git] / packages / apps / Settings / 0012-Expose-dashboard-category-padding-bottom.patch
1 From 0d488d0698cb80ee8236743a8be9300c7c807917 Mon Sep 17 00:00:00 2001
2 From: Ivan Iskandar <iiiiskandar14@gmail.com>
3 Date: Sun, 8 Jan 2017 00:18:47 +0100
4 Subject: [PATCH 12/15] Expose dashboard category padding bottom
5
6 Change-Id: I5a0d3266bbe96dbe6a136f78ed84cb1ee0a6a19b
7 ---
8 res/layout/dashboard_category.xml | 2 +-
9 res/values/projekt_dimens.xml | 16 ++++++++++++++++
10 2 files changed, 17 insertions(+), 1 deletion(-)
11 create mode 100644 res/values/projekt_dimens.xml
12
13 diff --git a/res/layout/dashboard_category.xml b/res/layout/dashboard_category.xml
14 index 7836644..86dac35 100644
15 --- a/res/layout/dashboard_category.xml
16 +++ b/res/layout/dashboard_category.xml
17 @@ -19,7 +19,7 @@
18 android:layout_width="match_parent"
19 android:layout_height="@dimen/dashboard_category_height"
20 android:orientation="vertical"
21 - android:paddingBottom="8dip"
22 + android:paddingBottom="@dimen/dashboard_category_padding_bottom"
23 android:background="@drawable/dashboard_category_title_bg">
24
25 <TextView android:id="@android:id/title"
26 diff --git a/res/values/projekt_dimens.xml b/res/values/projekt_dimens.xml
27 new file mode 100644
28 index 0000000..a5aae4e
29 --- /dev/null
30 +++ b/res/values/projekt_dimens.xml
31 @@ -0,0 +1,16 @@
32 +<?xml version="1.0" encoding="utf-8"?>
33 +<!--
34 + Copyright (c) 2017 Projekt Substratum
35 + Licensed under the Apache License, Version 2.0 (the "License");
36 + you may not use this file except in compliance with the License.
37 + You may obtain a copy of the License at
38 + http://www.apache.org/licenses/LICENSE-2.0
39 + Unless required by applicable law or agreed to in writing, software
40 + distributed under the License is distributed on an "AS IS" BASIS,
41 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
42 + See the License for the specific language governing permissions and
43 + limitations under the License.
44 +-->
45 +<resources>
46 + <dimen name="dashboard_category_padding_bottom">8dip</dimen>
47 +</resources>
48 --
49 2.9.3
50