diff options
author | Danesh M <daneshm90@gmail.com> | 2015-10-22 10:51:02 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2015-10-28 13:55:06 -0700 |
commit | 7af5d09de49b1c66dd35f86cbc025ee88b34a361 (patch) | |
tree | 091ac1f069b8dcf556bebc638ab5e74ba798af8a /packages/SystemUI/res | |
parent | af0be9869d51186e9d2402de306c298d402d289c (diff) | |
download | frameworks_base-7af5d09de49b1c66dd35f86cbc025ee88b34a361.zip frameworks_base-7af5d09de49b1c66dd35f86cbc025ee88b34a361.tar.gz frameworks_base-7af5d09de49b1c66dd35f86cbc025ee88b34a361.tar.bz2 |
SystemUI : Clock position support + am/pm styles
Based on Dave Kessler's work from cm-12.0
Change-Id: I88e630fcfcffd8a795f1abbeecd71a258d0e8e81
Diffstat (limited to 'packages/SystemUI/res')
-rw-r--r-- | packages/SystemUI/res/layout/status_bar.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/SystemUI/res/layout/status_bar.xml b/packages/SystemUI/res/layout/status_bar.xml index a5b3a83..2cbe61f 100644 --- a/packages/SystemUI/res/layout/status_bar.xml +++ b/packages/SystemUI/res/layout/status_bar.xml @@ -62,6 +62,16 @@ android:layout_width="match_parent" android:layout_height="match_parent" > + <com.android.systemui.statusbar.policy.Clock + android:id="@+id/left_clock" + android:textAppearance="@style/TextAppearance.StatusBar.Clock" + android:layout_width="wrap_content" + android:layout_height="fill_parent" + android:singleLine="true" + android:paddingEnd="6dip" + android:gravity="center" + android:visibility="gone" + /> <com.android.systemui.statusbar.StatusBarIconView android:id="@+id/moreIcon" android:layout_width="@dimen/status_bar_icon_size" android:layout_height="match_parent" @@ -97,4 +107,21 @@ </com.android.keyguard.AlphaOptimizedLinearLayout> </LinearLayout> + <com.android.keyguard.AlphaOptimizedLinearLayout + android:gravity="center" + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="match_parent" + > + + <com.android.systemui.statusbar.policy.Clock + android:id="@+id/center_clock" + android:textAppearance="@style/TextAppearance.StatusBar.Clock" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:singleLine="true" + android:gravity="center" + android:visibility="gone" + /> + </com.android.keyguard.AlphaOptimizedLinearLayout> </com.android.systemui.statusbar.phone.PhoneStatusBarView> |