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

Commit 3472f759 authored by Jason Monk's avatar Jason Monk Committed by Android (Google) Code Review
Browse files

Merge "Fix accounts screen"

parents 75b4911c 4b2e456e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -32,8 +32,8 @@
        android:scaleType="fitXY"
        android:src="?android:attr/listDivider" />

    <ListView
        android:id="@android:id/list"
    <FrameLayout
        android:id="@+id/prefs_container"
        android:layout_width="match_parent"
        android:layout_height="0dip"
        android:layout_weight="1"
+4 −2
Original line number Diff line number Diff line
@@ -161,8 +161,10 @@ public class AccountSyncSettings extends AccountPreferenceBase {
            Bundle savedInstanceState) {
        final View view = inflater.inflate(R.layout.account_sync_screen, container, false);

        final ListView list = (ListView) view.findViewById(android.R.id.list);
        Utils.prepareCustomPreferencesList(container, view, list, false);
        final ViewGroup prefs_container = (ViewGroup) view.findViewById(R.id.prefs_container);
        Utils.prepareCustomPreferencesList(container, view, prefs_container, false);
        View prefs = super.onCreateView(inflater, prefs_container, savedInstanceState);
        prefs_container.addView(prefs);

        initializeUi(view);