Loading res/layout/keyguard_appwidget_item.xml +28 −16 Original line number Diff line number Diff line Loading @@ -17,19 +17,31 @@ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" > <TextView android:id="@+id/icon_and_label" <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:background="@drawable/appwidget_item_bg" android:layout_marginTop="2dip" android:layout_marginBottom="2dip" android:layout_marginLeft="8dip" android:layout_marginRight="8dip" android:layout_marginTop="4dip" android:layout_marginBottom="4dip" android:background="@drawable/appwidget_item_bg" android:minHeight="?android:attr/listPreferredItemHeightSmall" android:paddingLeft="16dip" android:paddingRight="16dip" android:paddingTop="16dip" android:paddingBottom="16dip" > <ImageView android:id="@+id/icon" android:layout_width="@dimen/appwidget_preview_width" android:layout_height="@dimen/appwidget_preview_height" android:scaleType="center" /> <TextView android:id="@+id/label" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingLeft="24dip" android:paddingBottom="8dip" android:textAppearance="?android:attr/textAppearanceMedium" android:gravity="center_vertical" android:drawablePadding="8dip" android:paddingStart="11dip" android:paddingEnd="11dip" /> android:gravity="left|bottom" /> </LinearLayout> </FrameLayout> res/layout/keyguard_appwidget_pick_layout.xml +2 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,8 @@ android:id="@+id/layout_root" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingTop="2dip" android:paddingBottom="2dip" android:orientation="vertical" > <GridView android:layout_width="match_parent" android:layout_height="0dp" Loading res/values/dimens.xml +3 −0 Original line number Diff line number Diff line Loading @@ -54,4 +54,7 @@ <dimen name="pager_tabs_padding">0dp</dimen> <!-- Size of AppWidget previews in KeyguardAppWidgetPickActivity --> <dimen name="appwidget_preview_width">140dip</dimen> <dimen name="appwidget_preview_height">80dip</dimen> </resources> Loading
res/layout/keyguard_appwidget_item.xml +28 −16 Original line number Diff line number Diff line Loading @@ -17,19 +17,31 @@ <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" > <TextView android:id="@+id/icon_and_label" <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:background="@drawable/appwidget_item_bg" android:layout_marginTop="2dip" android:layout_marginBottom="2dip" android:layout_marginLeft="8dip" android:layout_marginRight="8dip" android:layout_marginTop="4dip" android:layout_marginBottom="4dip" android:background="@drawable/appwidget_item_bg" android:minHeight="?android:attr/listPreferredItemHeightSmall" android:paddingLeft="16dip" android:paddingRight="16dip" android:paddingTop="16dip" android:paddingBottom="16dip" > <ImageView android:id="@+id/icon" android:layout_width="@dimen/appwidget_preview_width" android:layout_height="@dimen/appwidget_preview_height" android:scaleType="center" /> <TextView android:id="@+id/label" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingLeft="24dip" android:paddingBottom="8dip" android:textAppearance="?android:attr/textAppearanceMedium" android:gravity="center_vertical" android:drawablePadding="8dip" android:paddingStart="11dip" android:paddingEnd="11dip" /> android:gravity="left|bottom" /> </LinearLayout> </FrameLayout>
res/layout/keyguard_appwidget_pick_layout.xml +2 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,8 @@ android:id="@+id/layout_root" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingTop="2dip" android:paddingBottom="2dip" android:orientation="vertical" > <GridView android:layout_width="match_parent" android:layout_height="0dp" Loading
res/values/dimens.xml +3 −0 Original line number Diff line number Diff line Loading @@ -54,4 +54,7 @@ <dimen name="pager_tabs_padding">0dp</dimen> <!-- Size of AppWidget previews in KeyguardAppWidgetPickActivity --> <dimen name="appwidget_preview_width">140dip</dimen> <dimen name="appwidget_preview_height">80dip</dimen> </resources>