From 1537e8b3e8d81bf404f6aa70c8ca514f3ff62dd5 Mon Sep 17 00:00:00 2001 From: John Spurlock Date: Tue, 4 Sep 2012 07:55:46 -0400 Subject: [PATCH] Dream settings: list items back to constant height Expanding/collapsing items removed, settings icon shown on right with divider if applicable. New "Start" action on the action bar to start dreaming. This is no longer in preview/test mode, but a call to .dream(). Bug: 7010260 Change-Id: Ia1d8b9a70218dcc598bf62befbf545f572bbc6b1 --- res/layout/dream_info_row.xml | 99 ++++++++++++++--------------- res/values/strings.xml | 6 +- src/com/android/settings/DreamBackend.java | 13 +++- src/com/android/settings/DreamSettings.java | 53 ++++++++------- 4 files changed, 92 insertions(+), 79 deletions(-) diff --git a/res/layout/dream_info_row.xml b/res/layout/dream_info_row.xml index c2a9a32faa..356a82af9d 100644 --- a/res/layout/dream_info_row.xml +++ b/res/layout/dream_info_row.xml @@ -13,19 +13,20 @@ See the License for the specific language governing permissions and limitations under the License. --> - + android:layout_height="wrap_content" > + + + android:layout_toLeftOf="@+id/divider" + android:background="?android:attr/selectableItemBackground" > + + - + - - + - - -