OLD | NEW |
---|---|
(Empty) | |
1 <?xml version="1.0" encoding="utf-8"?> | |
newt (away)
2015/02/18 22:26:02
I'd name this file something like "account_chooser
melandory
2015/02/19 13:38:00
Done.
| |
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | |
3 Use of this source code is governed by a BSD-style license that can be | |
4 found in the LICENSE file. --> | |
5 <FrameLayout | |
newt (away)
2015/02/18 22:26:02
You don't need this FrameLayout. The ListView itse
melandory
2015/02/18 22:31:57
This way I can't control height of ListView, becau
newt (away)
2015/02/19 00:00:48
In fact, you can remove the FrameLayout. Then, in
melandory
2015/02/19 14:01:52
As far as I understood it won't work if I remove F
| |
6 xmlns:android="http://schemas.android.com/apk/res/android" | |
7 android:layout_width="wrap_content" | |
8 android:layout_height="wrap_content"> | |
9 <ListView | |
10 android:id="@+id/account_chooser_layout" | |
newt (away)
2015/02/18 22:26:02
I'd change this ID to "account_list" (or you may n
melandory
2015/02/19 13:38:00
Done.
| |
11 android:layout_width="match_parent" | |
12 android:layout_height="wrap_content" | |
13 android:padding="8dp" | |
14 android:orientation="vertical"/> | |
newt (away)
2015/02/19 00:00:48
orientation doesn't apply to ListView
melandory
2015/02/19 13:38:00
Done.
| |
15 </FrameLayout> | |
OLD | NEW |