Fix add account screen
Don't use layout that didn't do anything special. Bug: 24961118 Change-Id: I9207ee16e8c2c8325f3b4c00e423ac015170d10e
This commit is contained in:
@@ -1,35 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
/* //device/apps/common/assets/res/layout/list_content.xml
|
|
||||||
**
|
|
||||||
** Copyright 2006, The Android Open Source Project
|
|
||||||
**
|
|
||||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
** you may not use this file except in compliance with the License.
|
|
||||||
** You may obtain a copy of the License at
|
|
||||||
**
|
|
||||||
** http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
**
|
|
||||||
** Unless required by applicable law or agreed to in writing, software
|
|
||||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
** See the License for the specific language governing permissions and
|
|
||||||
** limitations under the License.
|
|
||||||
*/
|
|
||||||
-->
|
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:paddingStart="16dip"
|
|
||||||
android:paddingEnd="16dip">
|
|
||||||
|
|
||||||
<ListView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/list"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="0dip"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:drawSelectorOnTop="false"
|
|
||||||
android:scrollbarAlwaysDrawVerticalTrack="true"
|
|
||||||
/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
@@ -96,7 +96,6 @@ public class ChooseAccountActivity extends InstrumentedPreferenceActivity {
|
|||||||
protected void onCreate(Bundle icicle) {
|
protected void onCreate(Bundle icicle) {
|
||||||
super.onCreate(icicle);
|
super.onCreate(icicle);
|
||||||
|
|
||||||
setContentView(R.layout.add_account_screen);
|
|
||||||
addPreferencesFromResource(R.xml.add_account_settings);
|
addPreferencesFromResource(R.xml.add_account_settings);
|
||||||
mAuthorities = getIntent().getStringArrayExtra(
|
mAuthorities = getIntent().getStringArrayExtra(
|
||||||
AccountPreferenceBase.AUTHORITIES_FILTER_KEY);
|
AccountPreferenceBase.AUTHORITIES_FILTER_KEY);
|
||||||
|
Reference in New Issue
Block a user