gecko-dev/mobile/android/base/resources/layout/gecko_appwidget.xml
Sriram Ramasubramanian cf373afc8c Bug 708707: Fennec home screen widget. [r=mfinkle]
--HG--
extra : rebase_source : 63871fd8412c45931e8739b1550ebf537638549f
2012-10-19 11:15:06 -07:00

46 lines
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="54dp"
android:paddingLeft="@dimen/widget_padding"
android:paddingRight="@dimen/widget_padding"
android:gravity="center_vertical"
android:layout_gravity="center_vertical">
<LinearLayout android:layout_width="fill_parent"
android:layout_height="48dp"
android:layout_marginTop="3dp"
android:layout_marginLeft="25dp"
android:layout_alignParentTop="true"
android:orientation="horizontal"
android:background="@drawable/appwidget_bg"
android:layout_gravity="center_vertical">
<Button android:id="@+id/awesome_bar"
android:layout_width="fill_parent"
android:layout_height="36dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_marginLeft="4dp"
android:layout_marginRight="4dp"
android:background="@drawable/address_bar_url"
android:singleLine="true"
android:gravity="center_vertical|left"
android:hint="@string/awesomebar_default_text"
android:textSize="16sp"
android:textColor="#222222"
android:paddingLeft="25dp"
android:paddingRight="10dp"/>
</LinearLayout>
<ImageButton android:id="@+id/icon"
android:layout_width="54dp"
android:layout_height="54dp"
android:background="@drawable/widget_icon"
android:scaleType="fitXY"
android:layout_marginTop="-2dp"
android:layout_alignParentTop="true" />
</RelativeLayout>