Fix misc style issue in "Open by default" screen.
Fix: 35960603 Test: visual Change-Id: I6d3f471bb31e8c945d4d3346ad9512cda095ed64
This commit is contained in:
@@ -14,18 +14,11 @@
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<ScrollView
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:clipToPadding="false"
|
||||
android:scrollbarStyle="@integer/preference_scrollbar_style">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
|
||||
android:paddingStart="@dimen/preference_no_icon_padding_start"
|
||||
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
|
||||
android:paddingBottom="5dip"
|
||||
android:orientation="vertical">
|
||||
@@ -44,6 +37,4 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/clear_activities" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
||||
</LinearLayout>
|
||||
|
@@ -37,8 +37,7 @@
|
||||
android:title="@string/app_launch_other_defaults_title">
|
||||
|
||||
<com.android.settings.applications.ClearDefaultsPreference
|
||||
android:key="app_launch_clear_defaults"
|
||||
/>
|
||||
android:key="app_launch_clear_defaults" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
|
@@ -24,6 +24,7 @@ import android.os.IBinder;
|
||||
import android.os.RemoteException;
|
||||
import android.os.ServiceManager;
|
||||
import android.os.UserHandle;
|
||||
import android.support.v4.content.res.TypedArrayUtils;
|
||||
import android.support.v7.preference.Preference;
|
||||
import android.support.v7.preference.PreferenceViewHolder;
|
||||
import android.text.SpannableString;
|
||||
@@ -68,7 +69,9 @@ public class ClearDefaultsPreference extends Preference {
|
||||
}
|
||||
|
||||
public ClearDefaultsPreference(Context context, AttributeSet attrs) {
|
||||
this(context, attrs, 0);
|
||||
this(context, attrs, TypedArrayUtils.getAttr(context,
|
||||
android.support.v7.preference.R.attr.preferenceStyle,
|
||||
android.R.attr.preferenceStyle));
|
||||
}
|
||||
|
||||
public ClearDefaultsPreference(Context context) {
|
||||
|
Reference in New Issue
Block a user