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

Commit 7a51549

Browse files
fixed some selection issues.
1 parent 353d458 commit 7a51549

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

material_preferences_library/src/main/java/com/lb/material_preferences_library/custom_preferences/Preference.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ public Preference(Context context,AttributeSet attrs,int defStyleAttr)
3939

4040
public Preference(Context context,AttributeSet attrs)
4141
{
42-
this(context,attrs,0);
42+
super(context,attrs);
4343
}
4444

4545
public Preference(Context context)
4646
{
47-
this(context,null);
47+
super(context);
4848
}
4949

5050
}

material_preferences_library/src/main/res/layout/mpl__preference.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
android:paddingStart="?attr/listPreferredItemPaddingLeft"
3737
tools:ignore="NewApi">
3838

39-
<!--<LinearLayout-->
39+
<!--<android.support.v7.widget.LinearLayoutCompat-->
4040
<!--android:id="@+id/icon_frame"-->
4141
<!--android:layout_width="wrap_content"-->
4242
<!--android:layout_height="wrap_content"-->
@@ -53,7 +53,7 @@
5353
<!--android:layout_height="wrap_content"-->
5454
<!--android:maxWidth="48dp"-->
5555
<!--android:maxHeight="48dp" />-->
56-
<!--</LinearLayout>-->
56+
<!--</android.support.v7.widget.LinearLayoutCompat>-->
5757

5858
<RelativeLayout
5959
android:layout_width="0px"

material_preferences_library/src/main/res/layout/mpl__preference_activity.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
android:layout_width="match_parent"
2323
android:layout_height="match_parent">
2424

25-
<android.support.v7.internal.widget.ListViewCompat
25+
<ListView
2626
android:id="@android:id/list"
2727
android:layout_width="match_parent"
2828
android:layout_height="match_parent"/>

0 commit comments

Comments
 (0)