Skip to content
This repository was archived by the owner on May 1, 2021. It is now read-only.

Commit ce637da

Browse files
author
AndroidDeveloperLB
committed
removed unused resources.
1 parent eded383 commit ce637da

File tree

5 files changed

+15
-203
lines changed

5 files changed

+15
-203
lines changed

MaterialStuffLibrary/res/layout/msl__alert_dialog_material.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,4 @@
127127
</LinearLayout>
128128
</LinearLayout>
129129

130-
</LinearLayout>
130+
</LinearLayout>
Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
3+
34
<attr name="alertDialogProTheme" format="reference" />
45
<attr name="alertDialogProStyle" format="reference" />
56

@@ -16,25 +17,10 @@
1617
<attr name="adpButtonBarDividerVertical" format="reference" />
1718
<attr name="adpButtonBarStyle" format="reference" />
1819
<attr name="adpButtonBarButtonStyle" format="reference" />
19-
2020
<attr name="adpLayout" format="reference" />
2121
<attr name="adpListLayout" format="reference" />
2222
<attr name="adpListItemLayout" format="reference" />
2323
<attr name="adpMultiChoiceItemLayout" format="reference" />
2424
<attr name="adpSingleChoiceItemLayout" format="reference" />
2525
</declare-styleable>
26-
27-
<declare-styleable name="LinearLayoutIcs">
28-
<!-- Drawable to use as a vertical divider between buttons. -->
29-
<attr name="llDivider" format="reference" />
30-
<!-- Setting for which dividers to show. -->
31-
<attr name="llShowDividers">
32-
<flag name="none" value="0" />
33-
<flag name="beginning" value="1" />
34-
<flag name="middle" value="2" />
35-
<flag name="end" value="4" />
36-
</attr>
37-
<!-- Size of padding on either end of a divider. -->
38-
<attr name="llDividerPadding" format="dimension" />
39-
</declare-styleable>
40-
</resources>
26+
</resources>
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
3+
34
<dimen name="alert_dialog_title_height">64dip</dimen>
45
<dimen name="alert_dialog_title_divider_height">2dp</dimen>
5-
66
<dimen name="floating_window_margin_left">16dp</dimen>
77
<dimen name="floating_window_margin_top">8dp</dimen>
88
<dimen name="floating_window_margin_right">16dp</dimen>
99
<dimen name="floating_window_margin_bottom">32dp</dimen>
10-
</resources>
10+
11+
</resources>

MaterialStuffLibrary/src/com/lb/material_stuff_library/MaterialPreferenceActivity.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,7 @@
99

1010
public abstract class MaterialPreferenceActivity extends PreferenceActivity
1111
{
12-
private static int getResIdFromAttribute(final Activity activity,final int attr)
13-
{
14-
if(attr==0)
15-
return 0;
16-
final TypedValue typedvalueattr=new TypedValue();
17-
activity.getTheme().resolveAttribute(attr,typedvalueattr,true);
18-
return typedvalueattr.resourceId;
19-
}
2012
private Toolbar _toolbar;
21-
2213
private View _shadowView;
2314

2415
protected abstract int getPreferencesXmlId();
@@ -48,6 +39,15 @@ public void onClick(final View v)
4839
});
4940
}
5041

42+
private static int getResIdFromAttribute(final Activity activity,final int attr)
43+
{
44+
if(attr==0)
45+
return 0;
46+
final TypedValue typedvalueattr=new TypedValue();
47+
activity.getTheme().resolveAttribute(attr,typedvalueattr,true);
48+
return typedvalueattr.resourceId;
49+
}
50+
5151
protected void setEnabledActionBarShadow(final boolean enable)
5252
{
5353
if(_shadowView==null)

MaterialStuffLibrary/src/com/lb/material_stuff_library/internal/LinearLayoutICS.java

Lines changed: 0 additions & 175 deletions
This file was deleted.

0 commit comments

Comments
 (0)