Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac5cfffd authored by TSO FU WANG's avatar TSO FU WANG Committed by Android (Google) Code Review
Browse files

Merge ""Dsiabled" text aligns to textview right"

parents 7f050853 857c1ca1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -73,8 +73,8 @@ public class ApplicationViewHolder extends RecyclerView.ViewHolder {
    static View newView(ViewGroup parent, boolean twoTarget) {
        ViewGroup view = (ViewGroup) LayoutInflater.from(parent.getContext())
                .inflate(R.layout.preference_app, parent, false);
        if (twoTarget) {
        final ViewGroup widgetFrame = view.findViewById(android.R.id.widget_frame);
        if (twoTarget) {
            if (widgetFrame != null) {
               LayoutInflater.from(parent.getContext())
                       .inflate(R.layout.preference_widget_master_switch, widgetFrame, true);
@@ -84,6 +84,8 @@ public class ApplicationViewHolder extends RecyclerView.ViewHolder {
               // second to last, before widget frame
               view.addView(divider, view.getChildCount() - 1);
            }
        } else if (widgetFrame != null) {
            widgetFrame.setVisibility(View.GONE);
        }
        return view;
    }