Skip to content

Commit

Permalink
Fix center layout on manually lowered DPI
Browse files Browse the repository at this point in the history
Change-Id: I11c1f9c31df9021e1763d4aed9af5517e3cb8753
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
  • Loading branch information
Gergely Szell (sethyx) committed Jan 7, 2013
1 parent 8872393 commit f3ea87d
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions res/layout/incall_touch_ui.xml
Original file line number Diff line number Diff line change
Expand Up @@ -204,15 +204,23 @@
don't have an icon in the downward direction so the whole
bottom area of this widget is just wasted space.
-->
<com.android.internal.widget.multiwaveview.GlowPadView
android:id="@+id/incomingCallWidget"
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center|bottom"
android:orientation="vertical"
android:gravity="bottom"
android:background="@color/incall_call_banner_background">

<com.android.internal.widget.multiwaveview.GlowPadView
android:id="@+id/incomingCallWidget"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="20dip"
android:layout_marginBottom="-46dp"
android:background="@color/incall_call_banner_background"
android:visibility="gone"
android:layout_gravity="center_horizontal"
android:gravity="top"

prvandroid:targetDrawables="@array/incoming_call_widget_3way_targets"
Expand All @@ -228,5 +236,6 @@
prvandroid:glowRadius="@*android:dimen/glowpadview_glow_radius"
prvandroid:pointDrawable="@*android:drawable/ic_lockscreen_glowdot"
/>
</FrameLayout>

</com.android.phone.InCallTouchUi>

0 comments on commit f3ea87d

Please sign in to comment.