Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef2b86b4 authored by Michael Jurka's avatar Michael Jurka Committed by Android Git Automerger
Browse files

am a487bca4: Updated layouts for keyguard widget picker

* commit 'a487bca4':
  Updated layouts for keyguard widget picker
parents 02dd6c42 a487bca4
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -24,8 +24,8 @@
    android:background="@drawable/appwidget_item_bg"
    android:layout_marginTop="2dip"
    android:layout_marginBottom="2dip"
    android:layout_marginLeft="8dip"
    android:layout_marginRight="8dip"
    android:layout_marginLeft="2dip"
    android:layout_marginRight="2dip"
    android:paddingLeft="16dip"
    android:paddingRight="16dip"
    android:paddingTop="16dip"
@@ -37,11 +37,11 @@
       android:scaleType="center" />
      <TextView
       android:id="@+id/label"
       style="@style/KeyguardAppWidgetItem"
       android:layout_width="match_parent"
       android:layout_height="match_parent"
       android:paddingLeft="24dip"
       android:paddingBottom="8dip"
       android:textAppearance="?android:attr/textAppearanceMedium"
       android:gravity="left|bottom" />
  </LinearLayout>
</FrameLayout>
+4 −0
Original line number Diff line number Diff line
@@ -18,12 +18,16 @@
        android:id="@+id/layout_root"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_marginLeft="@dimen/keyguard_appwidget_picker_margin_left"
        android:layout_marginRight="@dimen/keyguard_appwidget_picker_margin_right"
        android:paddingTop="2dip"
        android:paddingBottom="2dip"
        android:orientation="vertical" >
  <GridView android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="1"
            android:numColumns="@integer/keyguard_appwidget_picker_cols"
            android:layout_gravity="center_horizontal"
            android:listSelector="@android:color/transparent"
            android:id="@+id/widget_list" />
</LinearLayout>
+5 −0
Original line number Diff line number Diff line
@@ -17,4 +17,9 @@
<resources>
    <dimen name="appwidget_width">421dip</dimen>
    <dimen name="appwidget_height">68dip</dimen>
    <dimen name="appwidget_preview_width">120dip</dimen>
    <dimen name="appwidget_preview_height">70dip</dimen>
    <dimen name="keyguard_appwidget_picker_margin_left">2dip</dimen>
    <dimen name="keyguard_appwidget_picker_margin_right">2dip</dimen>
    <integer name="keyguard_appwidget_picker_cols">2</integer>
</resources>
+21 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2012 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<resources>
    <style name="KeyguardAppWidgetItem">
        <item name="android:textSize">16sp</item>
    </style>
</resources>
+2 −0
Original line number Diff line number Diff line
@@ -18,4 +18,6 @@
    <dimen name="screen_margin_sides">128dip</dimen>
    <dimen name="screen_margin_top">72dip</dimen>
    <dimen name="screen_margin_bottom">48dip</dimen>
    <dimen name="appwidget_preview_height">80dip</dimen>
    <dimen name="keyguard_appwidget_picker_width">720dip</dimen>
</resources>
Loading